Debian Codegraph @

bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/ICopyright.java

raw
1 /*******************************************************************************
2 * Copyright (c) 2008, 2009 EclipseSource and others.
3 *
4 * This
5 * program and the accompanying materials are made available under the terms of
6 * the Eclipse Public License 2.0 which accompanies this distribution, and is
7 * available at
8 * https://www.eclipse.org/legal/epl-2.0/
9 *
10 * SPDX-License-Identifier: EPL-2.0
11 *
12 * Contributors:
13 * EclipseSource - initial API and implementation
14 ******************************************************************************/
15 package org.eclipse.equinox.p2.metadata;
16
17 import java.net.URI;
18
19 /**
20 * The <code>ICopyright</code> interface represents a software copyright. A copyright has
21 * required body text which may be the full text or a summary. An optional location field can be specified
22 * which links to full text.
23 * <p>
24 * Instances of this class are handle objects and do not necessarily
25 * reflect entities that exist in any particular profile or repository. These handle
26 * objects can be created using {@link MetadataFactory}.
27 * </p>
28 *
29 * @noimplement This interface is not intended to be implemented by clients.
30 * @noextend This interface is not intended to be extended by clients.
31 * @since 2.0
32 */
33 public interface ICopyright {
34
35 /**
36 * Returns the location of a document containing the copyright notice.
37 *
38 * @return The location of the copyright notice, or <code>null</code>
39 */
40 public URI getLocation();
41
42 /**
43 * Returns the license body.
44 *
45 * @return the license body, never <code>null</code>
46 */
47 public String getBody();
48
49 }