Package com.sun.identity.liberty.ws.dst
Class DSTQueryResponse
- java.lang.Object
-
- com.sun.identity.liberty.ws.dst.DSTQueryResponse
-
public class DSTQueryResponse extends Object
The classDSTQueryResponserepresents aDSTquery response. The following schema fragment specifies the expected content within theDSTQueryResponseobject.<complexType name="QueryResponse"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:liberty:idpp:2003-08}Status"/> <element name="Data" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any/> </sequence> <attribute name="itemIDRef" type="{urn:liberty:idpp:2003-08}IDReferenceType" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType> </element> <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 DSTQueryResponse()Default constructorDSTQueryResponse(List data, String serviceNS)ConstructorDSTQueryResponse(Element element)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListgetData()Gets the value of the Data property.ListgetExtension()Gets the extension property.StringgetId()Gets id attribute.StringgetItemIDRef()Gets item reference.StringgetNameSpacePrefix()Gets the name space prefix.StringgetNameSpaceURI()Gets the name space.StatusgetStatus()Gets status for the query responseDategetTimeStamp()Gets time stampvoidsetId(String id)Sets id attributevoidsetItemIDRef(String ref)Sets item reference.voidsetNameSpacePrefix(String prefix)Sets the name space prefix.voidsetNameSpaceURI(String nameSpace)Sets the name space.voidsetStatus(Status status)Sets status for the query responsevoidsetTimeStamp(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
-
DSTQueryResponse
public DSTQueryResponse()
Default constructor
-
DSTQueryResponse
public DSTQueryResponse(List data, String serviceNS)
Constructor- Parameters:
data- List ofDSTDataobjectsserviceNS- service name space
-
DSTQueryResponse
public DSTQueryResponse(Element element) throws DSTException
Constructor- Parameters:
element-DOMElement- Throws:
DSTException
-
-
Method Detail
-
getStatus
public Status getStatus()
Gets status for the query response- Returns:
- Status
-
setStatus
public void setStatus(Status status)
Sets status for the query response- Parameters:
status- Status object to be set
-
getTimeStamp
public Date getTimeStamp()
Gets time stamp- Returns:
- Date
-
setTimeStamp
public void setTimeStamp(Date date)
Sets time stamp- Parameters:
date- Date to be set
-
getId
public String getId()
Gets id attribute.- Returns:
- id attribute.
-
setId
public void setId(String id)
Sets id attribute- Parameters:
id- id attribute to be set
-
getItemIDRef
public String getItemIDRef()
Gets item reference.- Returns:
- item reference.
-
setItemIDRef
public void setItemIDRef(String ref)
Sets item reference.- Parameters:
ref- item ID reference to be set.
-
getData
public List getData()
Gets the value of the Data property.- Returns:
- List of
DSTDataobjects
-
getExtension
public List getExtension()
Gets the extension property.- Returns:
- List of any
java.lang.Object
-
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.
-
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 prefixdeclareNS- if true includes the name space within the generated.- Returns:
- String A string containing the valid XML for this element
-
-