@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-17T05:05:18+00:00",
comments="JAXB RI v2.2.11")
public class UsageCounter
extends SpecificResource
implements java.io.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}SpecificResource">
<attribute name="CounterTypes" type="{http://www.CIP4.org/JDFSchema_2_0}NMTOKENS" />
<attribute name="Scope" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="Lifetime"/>
<enumeration value="PowerOn"/>
<enumeration value="Job"/>
</restriction>
</simpleType>
</attribute>
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
UsageCounter.Scope
Java class for null.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
counterTypes |
protected UsageCounter.Scope |
scope |
| Constructor and Description |
|---|
UsageCounter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
java.util.List<java.lang.String> |
getCounterTypes()
Gets the value of the counterTypes property.
|
UsageCounter.Scope |
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 |
setScope(UsageCounter.Scope value)
Sets the value of the scope property.
|
UsageCounter |
withCounterTypes(java.util.Collection<java.lang.String> values) |
UsageCounter |
withCounterTypes(java.lang.String... values) |
UsageCounter |
withScope(UsageCounter.Scope value) |
getOtherAttributes@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-17T05:05:18+00:00",
comments="JAXB RI v2.2.11")
protected java.util.List<java.lang.String> counterTypes
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-17T05:05:18+00:00",
comments="JAXB RI v2.2.11")
protected UsageCounter.Scope scope
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-17T05:05:18+00:00",
comments="JAXB RI v2.2.11")
public 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
@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-17T05:05:18+00:00",
comments="JAXB RI v2.2.11")
public UsageCounter.Scope getScope()
UsageCounter.Scope@Generated(value="com.sun.tools.xjc.Driver",
date="2018-09-17T05:05:18+00:00",
comments="JAXB RI v2.2.11")
public void setScope(UsageCounter.Scope value)
value - allowed object is
UsageCounter.Scopepublic UsageCounter withCounterTypes(java.lang.String... values)
public UsageCounter withCounterTypes(java.util.Collection<java.lang.String> values)
public UsageCounter withScope(UsageCounter.Scope value)
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class SpecificResourcepublic boolean equals(java.lang.Object object)
equals in class SpecificResourcepublic 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 SpecificResourcepublic int hashCode()
hashCode in class SpecificResource