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, setActionspublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic boolean isSetName()
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic boolean isSetDescription()
public String getComment()
Stringpublic void setComment(String value)
value - allowed object is
Stringpublic boolean isSetComment()
public Status getCreationStatus()
Statuspublic void setCreationStatus(Status value)
value - allowed object is
Statuspublic 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()
Stringpublic void setHref(String value)
value - allowed object is
Stringpublic boolean isSetHref()
public void setId(String value)
value - allowed object is
Stringpublic boolean isSetId()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0