public class BaseResource extends Object
Java class for BaseResource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BaseResource"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="name" 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="actions" type="{}Actions" minOccurs="0"/> <element name="creation_status" type="{}Status" minOccurs="0"/> <element ref="{}link" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="href" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Actions |
actions |
protected Status |
creationStatus |
protected String |
description |
protected String |
href |
protected String |
id |
protected List<Link> |
links |
protected String |
name |
Constructor and Description |
---|
BaseResource() |
Modifier and Type | Method and Description |
---|---|
Actions |
getActions()
Gets the value of the actions property.
|
Status |
getCreationStatus()
Gets the value of the creationStatus property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getHref()
Gets the value of the href property.
|
String |
getId()
Gets the value of the id property.
|
List<Link> |
getLinks()
Gets the value of the links property.
|
String |
getName()
Gets the value of the name property.
|
boolean |
isSetActions() |
boolean |
isSetCreationStatus() |
boolean |
isSetDescription() |
boolean |
isSetHref() |
boolean |
isSetId() |
boolean |
isSetLinks() |
boolean |
isSetName() |
void |
setActions(Actions value)
Sets the value of the actions property.
|
void |
setCreationStatus(Status value)
Sets the value of the creationStatus property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setHref(String value)
Sets the value of the href property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
unsetLinks() |
protected String name
protected String description
protected Actions actions
protected Status creationStatus
protected String href
protected String id
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public boolean isSetName()
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public boolean isSetDescription()
public Actions getActions()
Actions
public void setActions(Actions value)
value
- allowed object is
Actions
public boolean isSetActions()
public Status getCreationStatus()
Status
public void setCreationStatus(Status value)
value
- allowed object is
Status
public boolean isSetCreationStatus()
public List<Link> getLinks()
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 links property.
For example, to add a new item, do as follows:
getLinks().add(newItem);
Objects of the following type(s) are allowed in the list
Link
public boolean isSetLinks()
public void unsetLinks()
public String getHref()
String
public void setHref(String value)
value
- allowed object is
String
public boolean isSetHref()
public void setId(String value)
value
- allowed object is
String
public boolean isSetId()
Copyright © 2012. All Rights Reserved.