Eclipse Platform
Kepler (4.3)

org.eclipse.equinox.p2.metadata
Interface ICopyright


public interface ICopyright

The ICopyright interface represents a software copyright. A copyright has required body text which may be the full text or a summary. An optional location field can be specified which links to full text.

Instances of this class are handle objects and do not necessarily reflect entities that exist in any particular profile or repository. These handle objects can be created using MetadataFactory.

Since:
2.0
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Method Summary
 String getBody()
          Returns the license body.
 URI getLocation()
          Returns the location of a document containing the copyright notice.
 

Method Detail

getLocation

URI getLocation()
Returns the location of a document containing the copyright notice.

Returns:
The location of the copyright notice, or null

getBody

String getBody()
Returns the license body.

Returns:
the license body, never null

Eclipse Platform
Kepler (4.3)

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.