public class UsageCounter extends ResourceType implements java.io.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 java.util.List<Contact> |
contacts |
protected java.lang.String |
counterID |
protected java.util.List<java.lang.String> |
counterTypes |
protected java.lang.Object |
identificationFieldRef |
protected java.util.List<Location> |
locations |
protected java.lang.String |
scope |
| Constructor and Description |
|---|
UsageCounter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Contact> |
getContacts()
Gets the value of the contacts property.
|
java.lang.String |
getCounterID()
Gets the value of the counterID property.
|
java.util.List<java.lang.String> |
getCounterTypes()
Gets the value of the counterTypes property.
|
java.lang.Object |
getIdentificationFieldRef()
Gets the value of the identificationFieldRef property.
|
java.util.List<Location> |
getLocations()
Gets the value of the locations property.
|
java.lang.String |
getScope()
Gets the value of the scope property.
|
void |
setCounterID(java.lang.String value)
Sets the value of the counterID property.
|
void |
setIdentificationFieldRef(java.lang.Object value)
Sets the value of the identificationFieldRef property.
|
void |
setScope(java.lang.String value)
Sets the value of the scope property.
|
protected java.util.List<Contact> contacts
protected java.util.List<Location> locations
protected java.lang.String counterID
protected java.util.List<java.lang.String> counterTypes
protected java.lang.String scope
protected java.lang.Object identificationFieldRef
public java.util.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 java.util.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 java.lang.String getCounterID()
Stringpublic void setCounterID(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<java.lang.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 java.lang.String getScope()
Stringpublic void setScope(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Object getIdentificationFieldRef()
Objectpublic void setIdentificationFieldRef(java.lang.Object value)
value - allowed object is
ObjectCopyright © 2012. All Rights Reserved.