com.sun.identity.liberty.ws.common
クラス Status

java.lang.Object
  上位を拡張 com.sun.identity.liberty.ws.common.Status

public class Status
extends Object

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>
 


コンストラクタの概要
Status()
          Default constructor.
Status(String ns, String nsPrefix)
          Constructor.
 
メソッドの概要
 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.
 

コンストラクタの詳細

Status

public Status()
Default constructor.


Status

public Status(String ns,
              String nsPrefix)
Constructor.

パラメータ:
ns - Name space for the Status object
nsPrefix - prefix used for the name space, for example, disco.
メソッドの詳細

getSubStatus

public Status getSubStatus()
Gets sub status.

戻り値:
Status
関連項目:
Status.setSubStatus(Status)

setSubStatus

public void setSubStatus(Status status)
Sets sub status. The sub status is used by a service to convey second-level status information in addition to the status code.

パラメータ:
status - Status to be set
関連項目:
Status.getSubStatus()

getRef

public String getRef()
Gets reference attribute.

戻り値:
reference attribute.
関連項目:
Status.setRef(String)

setRef

public void setRef(String value)
Sets reference attribute.

パラメータ:
value - reference to be set
関連項目:
Status.getRef()

getCode

public QName getCode()
Gets status code.

戻り値:
status code.
関連項目:
Status.setCode(QName)

setCode

public void setCode(QName value)
Sets status code.

パラメータ:
value - status code to be set
関連項目:
Status.getCode()

getComment

public String getComment()
Gets comment for the status.

戻り値:
comment for the status.
関連項目:
Status.setComment(String)

setComment

public void setComment(String comment)
Sets comment

パラメータ:
comment - String
関連項目:
Status.getComment()

toString

public String toString()
Returns string format of the status.

オーバーライド:
クラス Object 内の toString
戻り値:
String