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

java.lang.Object
  |
  +--com.sun.identity.liberty.ws.dst.DSTModifyResponse

public class DSTModifyResponse
extends java.lang.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(org.w3c.dom.Element element)
          Constructor
 
Method Summary
 java.lang.String getId()
          Gets id attribute
 java.lang.String getItemIDRef()
          Gets item id reference
 java.lang.String getNameSpacePrefix()
          Gets the name space prefix.
 java.lang.String getNameSpaceURI()
          Gets the name space.
 Status getStatus()
          Gets response status
 java.util.Date getTimeStamp()
          Gets time stamp
 void setId(java.lang.String id)
          Sets id attribute
 void setItemIDRef(java.lang.String value)
          Sets item id reference
 void setNameSpacePrefix(java.lang.String prefix)
          Sets the name space prefix.
 void setNameSpaceURI(java.lang.String nameSpace)
          Sets the name space.
 void setStatus(Status status)
          Sets response status
 void setTimeStamp(java.util.Date date)
          Sets time stamp
 java.lang.String toString()
          Creates a String representation of this object.
 java.lang.String toString(boolean includeNS, boolean declareNS)
          Creates a String representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DSTModifyResponse

public DSTModifyResponse()
Default constructor

DSTModifyResponse

public DSTModifyResponse(org.w3c.dom.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 java.util.Date getTimeStamp()
Gets time stamp
Returns:
Date for the time stamp

setTimeStamp

public void setTimeStamp(java.util.Date date)
Sets time stamp
Parameters:
date - time stamp date to be set

getId

public java.lang.String getId()
Gets id attribute
Returns:
String id attribute value

setId

public void setId(java.lang.String id)
Sets id attribute
Parameters:
id - value of id attribute to be set

getItemIDRef

public java.lang.String getItemIDRef()
Gets item id reference
Returns:
item id reference

setItemIDRef

public void setItemIDRef(java.lang.String value)
Sets item id reference
Parameters:
value - item id reference to be set

getNameSpaceURI

public java.lang.String getNameSpaceURI()
Gets the name space.
Returns:
name space.

setNameSpaceURI

public void setNameSpaceURI(java.lang.String nameSpace)
Sets the name space.
Parameters:
nameSpace - Name space URI String

setNameSpacePrefix

public void setNameSpacePrefix(java.lang.String prefix)
Sets the name space prefix.
Parameters:
prefix - Name space prefix.

getNameSpacePrefix

public java.lang.String getNameSpacePrefix()
Gets the name space prefix.
Returns:
Name space prefix.

toString

public java.lang.String toString()
Creates a String representation of this object. By default name space name is prepended to the element name
Overrides:
toString in class java.lang.Object
Returns:
String A string containing the valid XML for this element

toString

public java.lang.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