@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public class UsageCounter extends ResourceType implements Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for UsageCounter complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="UsageCounter">
<complexContent>
<extension base="{http://www.CIP4.org/JDFSchema_2_0}ResourceType">
<sequence>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}Location" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}Contact" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="CounterID" type="{http://www.CIP4.org/JDFSchema_2_0}string" />
<attribute name="CounterTypes" type="{http://www.CIP4.org/JDFSchema_2_0}NMTOKENS" />
<attribute name="Scope" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
<attribute name="IdentificationFieldRef" type="{http://www.CIP4.org/JDFSchema_2_0}IDREF" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Contact> |
contact |
protected String |
counterID |
protected List<String> |
counterTypes |
protected Object |
identificationFieldRef |
protected List<Location> |
location |
protected String |
scope |
| Constructor and Description |
|---|
UsageCounter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<Contact> |
getContact()
Gets the value of the contact property.
|
String |
getCounterID()
Gets the value of the counterID property.
|
List<String> |
getCounterTypes()
Gets the value of the counterTypes property.
|
Object |
getIdentificationFieldRef()
Gets the value of the identificationFieldRef property.
|
List<Location> |
getLocation()
Gets the value of the location property.
|
String |
getScope()
Gets the value of the scope property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCounterID(String value)
Sets the value of the counterID property.
|
void |
setIdentificationFieldRef(Object value)
Sets the value of the identificationFieldRef property.
|
void |
setScope(String value)
Sets the value of the scope property.
|
UsageCounter |
withContact(Collection<Contact> values) |
UsageCounter |
withContact(Contact... values) |
UsageCounter |
withCounterID(String value) |
UsageCounter |
withCounterTypes(Collection<String> values) |
UsageCounter |
withCounterTypes(String... values) |
UsageCounter |
withIdentificationFieldRef(Object value) |
UsageCounter |
withLocation(Collection<Location> values) |
UsageCounter |
withLocation(Location... values) |
UsageCounter |
withScope(String value) |
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") protected List<Location> location
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") protected List<Contact> contact
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") protected String counterID
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") protected List<String> counterTypes
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") protected String scope
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") protected Object identificationFieldRef
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public List<Location> getLocation()
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 location property.
For example, to add a new item, do as follows:
getLocation().add(newItem);
Objects of the following type(s) are allowed in the list
Location
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public List<Contact> getContact()
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 contact property.
For example, to add a new item, do as follows:
getContact().add(newItem);
Objects of the following type(s) are allowed in the list
Contact
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public String getCounterID()
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public void setCounterID(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public List<String> getCounterTypes()
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 counterTypes property.
For example, to add a new item, do as follows:
getCounterTypes().add(newItem);
Objects of the following type(s) are allowed in the list
String
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public String getScope()
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public void setScope(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public Object getIdentificationFieldRef()
Object@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public void setIdentificationFieldRef(Object value)
value - allowed object is
Object@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public UsageCounter withLocation(Location... values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public UsageCounter withLocation(Collection<Location> values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public UsageCounter withContact(Contact... values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public UsageCounter withContact(Collection<Contact> values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public UsageCounter withCounterID(String value)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public UsageCounter withCounterTypes(String... values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public UsageCounter withCounterTypes(Collection<String> values)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public UsageCounter withScope(String value)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public UsageCounter withIdentificationFieldRef(Object value)
@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class ResourceType@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public boolean equals(Object object)
equals in class ResourceType@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class ResourceType@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public int hashCode()
hashCode in class ResourceTypeCopyright © 2016. All rights reserved.