ODRL2.0 Simple API
1.0
A simple API to manage simple ODRL2.0 expressions
|
Public Member Functions | |
Party () | |
Party (Party a) | |
Party (String _uri) | |
Public Member Functions inherited from odrlmodel.MetadataObject | |
MetadataObject () | |
MetadataObject (String _uri) | |
MetadataObject (MetadataObject mo) | |
void | setURI (String _uri) |
String | getURI () |
boolean | isAnon () |
String | getComment () |
void | setComment (String _comment) |
String | getSeeAlso () |
String | getTitle () |
void | setTitle (String _title) |
String | getLabel (String lan) |
void | addLabel (String label) |
void | setLabel (String label, String lang) |
void | setLabel (String _label) |
String | toString () |
Additional Inherited Members | |
Public Attributes inherited from odrlmodel.MetadataObject | |
List< String > | labels = new ArrayList() |
String | comment = "" |
String | seeAlso ="" |
String | title ="" |
String | uri = "" |
Static Public Attributes inherited from odrlmodel.MetadataObject | |
static final String | DEFAULT_NAMESPACE = LDRConfig.getNamespace() |
This class represents an ODRL2.0 Party The Party entity is aimed at identifying a person, group of people, or organisation. The Party MUST identify a (legal) entity that can participate in policy transactions
odrlmodel.Party.Party | ( | ) |
Party constructor with a random URI in the default namespace. By default, an party will be like this: http://salonica.dia.fi.upm.es/ldr/party/2e7de960-7001-4c07-bde5-c5ad1f35133d
odrlmodel.Party.Party | ( | Party | a | ) |
Cloner constructor
odrlmodel.Party.Party | ( | String | _uri | ) |
Creates an party identified by the given URI. This Party might be one of those defined by ODRL, in which case label, comment, and seeAlso are loaded from the ODRL ontology
_uri | URI of the party |