public class BaseResource extends ActionableResource
Java class for BaseResource complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BaseResource"> <complexContent> <extension base="{}ActionableResource"> <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="comment" type="{http://www.w3.org/2001/XMLSchema}string" 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" /> </extension> </complexContent> </complexType>
Constructor and Description |
---|
BaseResource() |
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Gets the value of the comment 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 |
isSetComment() |
boolean |
isSetCreationStatus() |
boolean |
isSetDescription() |
boolean |
isSetHref() |
boolean |
isSetId() |
boolean |
isSetLinks() |
boolean |
isSetName() |
void |
setComment(String value)
Sets the value of the comment 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() |
getActions, isSetActions, setActions
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 String getComment()
String
public void setComment(String value)
value
- allowed object is
String
public boolean isSetComment()
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 ? 2010 Red Hat, Inc - released under the Apache License Version 2.0