ODRL2.0 Simple API  1.0
A simple API to manage simple ODRL2.0 expressions
 All Classes Functions Variables Pages
Public Member Functions | List of all members
odrlmodel.Prohibition Class Reference
Inheritance diagram for odrlmodel.Prohibition:
odrlmodel.Rule odrlmodel.MetadataObject

Public Member Functions

 Prohibition ()
 Prohibition (String _uri)
- Public Member Functions inherited from odrlmodel.Rule
 Rule ()
 Rule (String _uri)
int getKindOfRule ()
void setKindOfRule (int _ikind)
List< ActiongetActions ()
void setActions (List< Action > _actions)
List< ConstraintgetConstraints ()
void setConstraints (List< Constraint > _constraints)
void addAction (Action a)
void addConstraint (Constraint a)
void setAssignee (Party _assignee)
Party getAssignee ()
void setAssigner (Party _assigner)
Party getAssigner ()
String toString ()
void setTarget (String target1)

Additional Inherited Members

- Public Attributes inherited from odrlmodel.Rule
List< Actionactions = new ArrayList()
List< Constraintconstraints = new ArrayList()
String target =""
- Static Public Attributes inherited from odrlmodel.Rule
static final int RULE_PERMISSION = 0
static final int RULE_PROHIBITION = 1
static final int RULE_DUTY = 2
- Protected Member Functions inherited from odrlmodel.Rule
String getKindOfRuleString ()
- Protected Attributes inherited from odrlmodel.Rule
Party assignee =null
Party assigner = null

Detailed Description

Represents an ODRL2.0 Prohibition.

The Prohibition entity indicates the Actions that the assignee is prohibited to perform on the related Asset [ODRL-REQ-1.7]. Prohibitions are issued by the supplier of the Asset – the Party with the Role assigner. If several Prohibition entities are referred to by a Policy, all of them are valid.


Constructor & Destructor Documentation

odrlmodel.Prohibition.Prohibition ( )

Prohibition constructor Prohibitions are by default anonymous

odrlmodel.Prohibition.Prohibition ( String  _uri)

Creates a prohibition identified by the given URI.

_uriURI of the prohibition

The documentation for this class was generated from the following file: