|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.emc.cdp.services.rest.model.Subscription
public class Subscription
Java class for Subscription complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Subscription">
<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="serviceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="effectiveDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="state" type="{http://cdp.emc.com/services/rest/model}subscriptionState" minOccurs="0"/>
<element name="agreementUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="attribute" type="{http://cdp.emc.com/services/rest/model}Attribute" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
agreementUrl
|
protected List<Attribute> |
attributes
|
protected XMLGregorianCalendar |
effectiveDate
|
protected String |
id
|
protected String |
serviceId
|
protected SubscriptionState |
state
|
| Constructor Summary | |
|---|---|
Subscription()
|
|
| Method Summary | |
|---|---|
String |
getAgreementUrl()
Gets the value of the agreementUrl property. |
List<Attribute> |
getAttributes()
Gets the value of the attributes property. |
XMLGregorianCalendar |
getEffectiveDate()
Gets the value of the effectiveDate property. |
String |
getId()
Gets the value of the id property. |
String |
getServiceId()
Gets the value of the serviceId property. |
SubscriptionState |
getState()
Gets the value of the state property. |
void |
setAgreementUrl(String value)
Sets the value of the agreementUrl property. |
void |
setEffectiveDate(XMLGregorianCalendar value)
Sets the value of the effectiveDate property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setServiceId(String value)
Sets the value of the serviceId property. |
void |
setState(SubscriptionState value)
Sets the value of the state 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 serviceId
protected XMLGregorianCalendar effectiveDate
protected SubscriptionState state
protected String agreementUrl
protected List<Attribute> attributes
| Constructor Detail |
|---|
public Subscription()
| Method Detail |
|---|
public String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getServiceId()
Stringpublic void setServiceId(String value)
value - allowed object is
Stringpublic XMLGregorianCalendar getEffectiveDate()
XMLGregorianCalendarpublic void setEffectiveDate(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic SubscriptionState getState()
SubscriptionStatepublic void setState(SubscriptionState value)
value - allowed object is
SubscriptionStatepublic String getAgreementUrl()
Stringpublic void setAgreementUrl(String value)
value - allowed object is
Stringpublic 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||