@CodingStyleguideUnaware public class Permission extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
Java class for Permission complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Permission">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.w3.org/ns/odrl/2/}asset" maxOccurs="unbounded"/>
<element ref="{http://www.w3.org/ns/odrl/2/}action"/>
<element ref="{http://www.w3.org/ns/odrl/2/}constraint" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.w3.org/ns/odrl/2/}party" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.w3.org/ns/odrl/2/}duty" maxOccurs="unbounded" minOccurs="0"/>
<any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attGroup ref="{http://www.w3.org/ns/odrl/2/}idAttributes"/>
<anyAttribute processContents='lax' namespace='##other'/>
</restriction>
</complexContent>
</complexType>
This class was annotated by ph-jaxb22-plugin -Xph-annotate
This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode
This class contains methods created by ph-jaxb22-plugin -Xph-tostring
This class contains methods created by ph-jaxb22-plugin -Xph-list-extension
This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2
This class contains methods created by ph-jaxb22-plugin -Xph-value-extender
| Constructor and Description |
|---|
Permission()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addAny(Object elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addAsset(Asset elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addConstraint(Constraint elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addDuty(Duty elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
addParty(Party elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
Permission |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(Permission ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
Action |
getAction()
Gets the value of the action property.
|
List<Object> |
getAny()
Gets the value of the any property.
|
Object |
getAnyAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getAnyCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<Asset> |
getAsset()
Gets the value of the asset property.
|
Asset |
getAssetAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getAssetCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<Constraint> |
getConstraint()
Gets the value of the constraint property.
|
Constraint |
getConstraintAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getConstraintCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
List<Duty> |
getDuty()
Gets the value of the duty property.
|
Duty |
getDutyAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getDutyCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
getId()
Gets the value of the id property.
|
Object |
getIdref()
Gets the value of the idref property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
List<Party> |
getParty()
Gets the value of the party property.
|
Party |
getPartyAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getPartyCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasAnyEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasAssetEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasConstraintEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasDutyEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoAnyEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoAssetEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoConstraintEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoDutyEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasNoPartyEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasPartyEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setAction(Action value)
Sets the value of the action property.
|
void |
setAny(List<Object> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setAsset(List<Asset> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setConstraint(List<Constraint> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setDuty(List<Duty> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setIdref(Object value)
Sets the value of the idref property.
|
void |
setParty(List<Party> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public Permission()
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<Asset> getAsset()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the asset property.
For example, to add a new item, do as follows:
getAsset().add(newItem);
Objects of the following type(s) are allowed in the list
Asset
@Nullable public Action getAction()
Actionpublic void setAction(@Nullable Action value)
value - allowed object is
Action@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<Constraint> getConstraint()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the constraint property.
For example, to add a new item, do as follows:
getConstraint().add(newItem);
Objects of the following type(s) are allowed in the list
Constraint
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<Party> getParty()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the party property.
For example, to add a new item, do as follows:
getParty().add(newItem);
Objects of the following type(s) are allowed in the list
Party
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<Duty> getDuty()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the duty property.
For example, to add a new item, do as follows:
getDuty().add(newItem);
Objects of the following type(s) are allowed in the list
Duty
@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<Object> getAny()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Element
Object
@Nullable public String getId()
Stringpublic void setId(@Nullable String value)
value - allowed object is
String@Nullable public Object getIdref()
Objectpublic void setIdref(@Nullable Object value)
value - allowed object is
Object@Nullable public Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
public boolean equals(Object o)
public int hashCode()
public String toString()
public void setAsset(@Nullable List<Asset> aList)
aList - The new list member to set. May be null.public void setConstraint(@Nullable List<Constraint> aList)
aList - The new list member to set. May be null.public void setParty(@Nullable List<Party> aList)
aList - The new list member to set. May be null.public void setDuty(@Nullable List<Duty> aList)
aList - The new list member to set. May be null.public void setAny(@Nullable List<Object> aList)
aList - The new list member to set. May be null.public boolean hasAssetEntries()
true if at least one item is contained, false otherwise.public boolean hasNoAssetEntries()
true if no item is contained, false otherwise.@Nonnegative public int getAssetCount()
@Nullable public Asset getAssetAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addAsset(@Nonnull Asset elem)
elem - The element to be added. May not be null.public boolean hasConstraintEntries()
true if at least one item is contained, false otherwise.public boolean hasNoConstraintEntries()
true if no item is contained, false otherwise.@Nonnegative public int getConstraintCount()
@Nullable public Constraint getConstraintAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addConstraint(@Nonnull Constraint elem)
elem - The element to be added. May not be null.public boolean hasPartyEntries()
true if at least one item is contained, false otherwise.public boolean hasNoPartyEntries()
true if no item is contained, false otherwise.@Nonnegative public int getPartyCount()
@Nullable public Party getPartyAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addParty(@Nonnull Party elem)
elem - The element to be added. May not be null.public boolean hasDutyEntries()
true if at least one item is contained, false otherwise.public boolean hasNoDutyEntries()
true if no item is contained, false otherwise.@Nonnegative public int getDutyCount()
@Nullable public Duty getDutyAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addDuty(@Nonnull Duty elem)
elem - The element to be added. May not be null.public boolean hasAnyEntries()
true if at least one item is contained, false otherwise.public boolean hasNoAnyEntries()
true if no item is contained, false otherwise.@Nonnegative public int getAnyCount()
@Nullable public Object getAnyAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addAny(@Nonnull Object elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull Permission ret)
this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2ret - The target object to clone to. May not be null.@Nonnull @ReturnsMutableCopy public Permission clone()
Copyright © 2020 toop.eu. All rights reserved.