|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.identity.liberty.ws.common.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(java.lang.String ns,
java.lang.String nsPrefix)
Constructor |
Method Summary | |
javax.xml.namespace.QName |
getCode()
Gets status code. |
java.lang.String |
getComment()
Gets comment for the status. |
java.lang.String |
getRef()
Gets reference attribute. |
Status |
getSubStatus()
Gets sub status |
void |
setCode(javax.xml.namespace.QName value)
Sets status code |
void |
setComment(java.lang.String comment)
Sets comment |
void |
setRef(java.lang.String value)
Sets reference attribute |
void |
setSubStatus(Status status)
Sets sub status. |
java.lang.String |
toString()
Returns string format of the status |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Status()
public Status(java.lang.String ns, java.lang.String nsPrefix)
ns
- Name space for the Status objectnsPrefix
- prefix used for the name space, for example,
disco
.Method Detail |
public Status getSubStatus()
public void setSubStatus(Status status)
status
- Status to be setpublic java.lang.String getRef()
public void setRef(java.lang.String value)
value
- reference to be setpublic javax.xml.namespace.QName getCode()
public void setCode(javax.xml.namespace.QName value)
value
- status code to be setpublic java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- Stringpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |