com.sun.identity.liberty.ws.dst
Class DSTModifyResponse

java.lang.Object
  extended by com.sun.identity.liberty.ws.dst.DSTModifyResponse

public class DSTModifyResponse
extends Object

The DSTModifyResponse class represents a DST response for DST modify request. The following schema fragment specifies the expected content within the DSTModifyResponse object.

 <complexType name="ResponseType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:liberty:idpp:2003-08}Status"/>
         <element ref="{urn:liberty:idpp:2003-08}Extension"
         maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="timeStamp"
       type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="itemIDRef"
       type="{urn:liberty:idpp:2003-08}IDReferenceType" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
DSTModifyResponse()
          Default constructor
DSTModifyResponse(Element element)
          Constructor
 
Method Summary
 String getId()
          Gets id attribute
 String getItemIDRef()
          Gets item id reference
 String getNameSpacePrefix()
          Gets the name space prefix.
 String getNameSpaceURI()
          Gets the name space.
 Status getStatus()
          Gets response status
 Date getTimeStamp()
          Gets time stamp
 void setId(String id)
          Sets id attribute
 void setItemIDRef(String value)
          Sets item id reference
 void setNameSpacePrefix(String prefix)
          Sets the name space prefix.
 void setNameSpaceURI(String nameSpace)
          Sets the name space.
 void setStatus(Status status)
          Sets response status
 void setTimeStamp(Date date)
          Sets time stamp
 String toString()
          Creates a String representation of this object.
 String toString(boolean includeNS, boolean declareNS)
          Creates a String representation of this object.
 

Constructor Detail

DSTModifyResponse

public DSTModifyResponse()
Default constructor


DSTModifyResponse

public DSTModifyResponse(Element element)
                  throws DSTException
Constructor

Parameters:
element - DOM Element.
Throws:
DSTException
Method Detail

getStatus

public Status getStatus()
Gets response status

Returns:
Status

setStatus

public void setStatus(Status status)
Sets response status

Parameters:
status - response status to be set

getTimeStamp

public Date getTimeStamp()
Gets time stamp

Returns:
Date for the time stamp

setTimeStamp

public void setTimeStamp(Date date)
Sets time stamp

Parameters:
date - time stamp date to be set

getId

public String getId()
Gets id attribute

Returns:
String id attribute value

setId

public void setId(String id)
Sets id attribute

Parameters:
id - value of id attribute to be set

getItemIDRef

public String getItemIDRef()
Gets item id reference

Returns:
item id reference

setItemIDRef

public void setItemIDRef(String value)
Sets item id reference

Parameters:
value - item id reference to be set

getNameSpaceURI

public String getNameSpaceURI()
Gets the name space.

Returns:
name space.

setNameSpaceURI

public void setNameSpaceURI(String nameSpace)
Sets the name space.

Parameters:
nameSpace - Name space URI String

setNameSpacePrefix

public void setNameSpacePrefix(String prefix)
Sets the name space prefix.

Parameters:
prefix - Name space prefix.

getNameSpacePrefix

public String getNameSpacePrefix()
Gets the name space prefix.

Returns:
Name space prefix.

toString

public String toString()
Creates a String representation of this object. By default name space name is prepended to the element name

Overrides:
toString in class Object
Returns:
String A string containing the valid XML for this element

toString

public String toString(boolean includeNS,
                       boolean declareNS)
Creates a String representation of this object.

Parameters:
includeNS - if true prepends all elements by their name space prefix.
declareNS - if true includes the name space within the generated.
Returns:
A string containing the valid XML for this element