Package com.sun.identity.liberty.ws.dst
Class DSTModifyResponse
- java.lang.Object
-
- com.sun.identity.liberty.ws.dst.DSTModifyResponse
-
public class DSTModifyResponse extends Object
TheDSTModifyResponseclass represents aDSTresponse forDSTmodify request. The following schema fragment specifies the expected content within theDSTModifyResponseobject.<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
Constructors Constructor Description DSTModifyResponse()Default constructorDSTModifyResponse(Element element)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets id attributeStringgetItemIDRef()Gets item id referenceStringgetNameSpacePrefix()Gets the name space prefix.StringgetNameSpaceURI()Gets the name space.StatusgetStatus()Gets response statusDategetTimeStamp()Gets time stampvoidsetId(String id)Sets id attributevoidsetItemIDRef(String value)Sets item id referencevoidsetNameSpacePrefix(String prefix)Sets the name space prefix.voidsetNameSpaceURI(String nameSpace)Sets the name space.voidsetStatus(Status status)Sets response statusvoidsetTimeStamp(Date date)Sets time stampStringtoString()Creates a String representation of this object.StringtoString(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-DOMElement.- 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
-
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
-
-