@CodingStyleguideUnaware public class Constraint extends Object implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
Java class for Constraint complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Constraint">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attGroup ref="{http://www.w3.org/ns/odrl/2/}idAttributes"/>
<attribute name="name" type="{http://www.w3.org/ns/odrl/2/}URIQnameQcode" />
<attribute name="operator" type="{http://www.w3.org/ns/odrl/2/}URIQnameQcode" />
<attribute name="rightOperand" type="{http://www.w3.org/ns/odrl/2/}listOfValues" />
<attribute name="dataType" type="{http://www.w3.org/ns/odrl/2/}URIQnameQcode" />
<attribute name="unit" type="{http://www.w3.org/ns/odrl/2/}URIQnameQcode" />
<attribute name="status" type="{http://www.w3.org/2001/XMLSchema}string" />
<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 |
|---|
Constraint()
Default constructor
Note: automatically created by ph-jaxb22-plugin -Xph-value-extender |
| Modifier and Type | Method and Description |
|---|---|
void |
addRightOperand(String elem)
Created by ph-jaxb22-plugin -Xph-list-extension
|
Constraint |
clone()
Created by ph-jaxb22-plugin -Xph-cloneable2
|
void |
cloneTo(Constraint ret)
This method clones all values from
this to the passed object. |
boolean |
equals(Object o)
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
String |
getDataType()
Gets the value of the dataType property.
|
String |
getId()
Gets the value of the id property.
|
Object |
getIdref()
Gets the value of the idref property.
|
String |
getName()
Gets the value of the name property.
|
String |
getOperator()
Gets the value of the operator property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
List<String> |
getRightOperand()
Gets the value of the rightOperand property.
|
String |
getRightOperandAtIndex(int index)
Created by ph-jaxb22-plugin -Xph-list-extension
|
int |
getRightOperandCount()
Created by ph-jaxb22-plugin -Xph-list-extension
|
String |
getStatus()
Gets the value of the status property.
|
String |
getUnit()
Gets the value of the unit property.
|
int |
hashCode()
Created by ph-jaxb22-plugin -Xph-equalshashcode
|
boolean |
hasNoRightOperandEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
boolean |
hasRightOperandEntries()
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setDataType(String value)
Sets the value of the dataType property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setIdref(Object value)
Sets the value of the idref property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setOperator(String value)
Sets the value of the operator property.
|
void |
setRightOperand(List<String> aList)
Created by ph-jaxb22-plugin -Xph-list-extension
|
void |
setStatus(String value)
Sets the value of the status property.
|
void |
setUnit(String value)
Sets the value of the unit property.
|
String |
toString()
Created by ph-jaxb22-plugin -Xph-tostring
|
public Constraint()
@Nullable public String getName()
Stringpublic void setName(@Nullable String value)
value - allowed object is
String@Nullable public String getOperator()
Stringpublic void setOperator(@Nullable String value)
value - allowed object is
String@Nonnull @ReturnsMutableObject(value="JAXB implementation style") public List<String> getRightOperand()
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 rightOperand property.
For example, to add a new item, do as follows:
getRightOperand().add(newItem);
Objects of the following type(s) are allowed in the list
String
@Nullable public String getDataType()
Stringpublic void setDataType(@Nullable String value)
value - allowed object is
String@Nullable public String getUnit()
Stringpublic void setUnit(@Nullable String value)
value - allowed object is
String@Nullable public String getStatus()
Stringpublic void setStatus(@Nullable String value)
value - allowed object is
String@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 setRightOperand(@Nullable List<String> aList)
aList - The new list member to set. May be null.public boolean hasRightOperandEntries()
true if at least one item is contained, false otherwise.public boolean hasNoRightOperandEntries()
true if no item is contained, false otherwise.@Nonnegative public int getRightOperandCount()
@Nullable public String getRightOperandAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException
index - The index to retrievenullIndexOutOfBoundsException - if the index is invalid!public void addRightOperand(@Nonnull String elem)
elem - The element to be added. May not be null.public void cloneTo(@Nonnull Constraint 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 Constraint clone()
Copyright © 2020 toop.eu. All rights reserved.