|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.emc.cdp.services.rest.model.Account
public class Account
Java class for Account complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Account">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="state" type="{http://cdp.emc.com/services/rest/model}accountState" minOccurs="0"/>
<element name="attribute" type="{http://cdp.emc.com/services/rest/model}Attribute" maxOccurs="unbounded" minOccurs="0"/>
<element name="subscription" type="{http://cdp.emc.com/services/rest/model}Subscription" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<Attribute> |
attributes
|
protected String |
description
|
protected String |
id
|
protected String |
name
|
protected AccountState |
state
|
protected List<Subscription> |
subscriptions
|
protected String |
type
|
| Constructor Summary | |
|---|---|
Account()
|
|
| Method Summary | |
|---|---|
List<Attribute> |
getAttributes()
Gets the value of the attributes property. |
String |
getDescription()
Gets the value of the description property. |
String |
getId()
Gets the value of the id property. |
String |
getName()
Gets the value of the name property. |
AccountState |
getState()
Gets the value of the state property. |
List<Subscription> |
getSubscriptions()
Gets the value of the subscriptions property. |
String |
getType()
Gets the value of the type property. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setState(AccountState value)
Sets the value of the state property. |
void |
setType(String value)
Sets the value of the type property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String id
protected String name
protected String type
protected String description
protected AccountState state
protected List<Attribute> attributes
protected List<Subscription> subscriptions
| Constructor Detail |
|---|
public Account()
| Method Detail |
|---|
public String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic AccountState getState()
AccountStatepublic void setState(AccountState value)
value - allowed object is
AccountStatepublic List<Attribute> getAttributes()
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 attributes property.
For example, to add a new item, do as follows:
getAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
Attribute
public List<Subscription> getSubscriptions()
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 subscriptions property.
For example, to add a new item, do as follows:
getSubscriptions().add(newItem);
Objects of the following type(s) are allowed in the list
Subscription
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||