|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.emc.cdp.services.rest.model.Usage
public class Usage
Java class for Usage complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Usage">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="resource" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="resourceTag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="quantum" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
<element name="channel" type="{http://cdp.emc.com/services/rest/model}Channel" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<Channel> |
channels
|
protected BigDecimal |
quantum
|
protected String |
resource
|
protected String |
resourceTag
|
| Constructor Summary | |
|---|---|
Usage()
|
|
| Method Summary | |
|---|---|
List<Channel> |
getChannels()
Gets the value of the channels property. |
BigDecimal |
getQuantum()
Gets the value of the quantum property. |
String |
getResource()
Gets the value of the resource property. |
String |
getResourceTag()
Gets the value of the resourceTag property. |
void |
setQuantum(BigDecimal value)
Sets the value of the quantum property. |
void |
setResource(String value)
Sets the value of the resource property. |
void |
setResourceTag(String value)
Sets the value of the resourceTag property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String resource
protected String resourceTag
protected BigDecimal quantum
protected List<Channel> channels
| Constructor Detail |
|---|
public Usage()
| Method Detail |
|---|
public String getResource()
Stringpublic void setResource(String value)
value - allowed object is
Stringpublic String getResourceTag()
Stringpublic void setResourceTag(String value)
value - allowed object is
Stringpublic BigDecimal getQuantum()
BigDecimalpublic void setQuantum(BigDecimal value)
value - allowed object is
BigDecimalpublic List<Channel> getChannels()
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 channels property.
For example, to add a new item, do as follows:
getChannels().add(newItem);
Objects of the following type(s) are allowed in the list
Channel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||