public class UsageCounter extends ResourceType implements Serializable
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>
<choice>
<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"/>
</choice>
</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> |
contacts |
protected String |
counterID |
protected List<String> |
counterTypes |
protected Object |
identificationFieldRef |
protected List<Location> |
locations |
protected String |
scope |
| Constructor and Description |
|---|
UsageCounter() |
| Modifier and Type | Method and Description |
|---|---|
List<Contact> |
getContacts()
Gets the value of the contacts 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> |
getLocations()
Gets the value of the locations property.
|
String |
getScope()
Gets the value of the scope property.
|
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.
|
protected String counterID
protected String scope
protected Object identificationFieldRef
public List<Contact> getContacts()
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 contacts property.
For example, to add a new item, do as follows:
getContacts().add(newItem);
Objects of the following type(s) are allowed in the list
Contact
public List<Location> getLocations()
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 locations property.
For example, to add a new item, do as follows:
getLocations().add(newItem);
Objects of the following type(s) are allowed in the list
Location
public String getCounterID()
Stringpublic void setCounterID(String value)
value - allowed object is
Stringpublic 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
public String getScope()
Stringpublic void setScope(String value)
value - allowed object is
Stringpublic Object getIdentificationFieldRef()
ObjectCopyright © 2012. All Rights Reserved.