|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.identity.liberty.ws.common.Status
public class Status
This class represents a common status object.
The following schema fragment specifies the expected content within the
Status object.
<complexType name="Status">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="Status" minOccurs="0"/>
</sequence>
<attribute name="code" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
<attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
</restriction>
</complexContent>
</complexType>
| Constructor Summary | |
|---|---|
Status()
Default constructor. |
|
Status(String ns,
String nsPrefix)
Constructor. |
|
| Method Summary | |
|---|---|
QName |
getCode()
Gets status code. |
String |
getComment()
Gets comment for the status. |
String |
getRef()
Gets reference attribute. |
Status |
getSubStatus()
Gets sub status. |
void |
setCode(QName value)
Sets status code. |
void |
setComment(String comment)
Sets comment |
void |
setRef(String value)
Sets reference attribute. |
void |
setSubStatus(Status status)
Sets sub status. |
String |
toString()
Returns string format of the status. |
| Constructor Detail |
|---|
public Status()
public Status(String ns,
String nsPrefix)
ns - Name space for the Status objectnsPrefix - prefix used for the name space, for example,
disco.| Method Detail |
|---|
public Status getSubStatus()
Status.setSubStatus(Status)public void setSubStatus(Status status)
status - Status to be setStatus.getSubStatus()public String getRef()
Status.setRef(String)public void setRef(String value)
value - reference to be setStatus.getRef()public QName getCode()
Status.setCode(QName)public void setCode(QName value)
value - status code to be setStatus.getCode()public String getComment()
Status.setComment(String)public void setComment(String comment)
comment - StringStatus.getComment()public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||