|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.identity.liberty.ws.dst.DSTQuery
The DSTQuery
class represents a DST
query request.
The following schema fragment specifies the expected content within the
DSTQuery
object.
<complexType name="QueryType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{urn:liberty:idpp:2003-08}ResourceIDGroup"/> <element name="QueryItem" maxOccurs="unbounded"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Select" type="{urn:liberty:idpp:2003-08}SelectType"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="changedSince" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="itemID" type="{urn:liberty:idpp:2003-08}IDType" /> <attribute name="includeCommonAttributes" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType> </element> <element ref="{urn:liberty:idpp:2003-08}Extension" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="itemID" type="{urn:liberty:idpp:2003-08}IDType" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Constructor Summary | |
DSTQuery()
Constructor |
|
DSTQuery(org.w3c.dom.Element element)
Constructor |
|
DSTQuery(EncryptedResourceID encResourceID,
java.util.List items,
java.lang.String serviceNS)
Constructor |
|
DSTQuery(java.lang.String resourceID,
java.util.List items,
java.lang.String serviceNS)
Constructor |
Method Summary | |
EncryptedResourceID |
getEncryptedResourceID()
Gets encrypted resource ID. |
java.util.List |
getExtension()
Gets the extension property. |
java.lang.String |
getId()
Gets id attribute. |
java.lang.String |
getItemID()
Gets item ID attribute |
java.lang.String |
getNameSpacePrefix()
Gets the name space prefix. |
java.lang.String |
getNameSpaceURI()
Gets the name space. |
java.util.List |
getQueryItems()
Gets the value of the QueryItem property. |
java.lang.String |
getResourceID()
Gets resource ID. |
void |
setEncryptedResourceID(EncryptedResourceID encResourceID)
Sets encrypted resource ID for the DST query. |
void |
setId(java.lang.String id)
Sets id attribute |
void |
setItemID(java.lang.String value)
Sets item ID attribute |
void |
setNameSpacePrefix(java.lang.String prefix)
Sets the name space prefix. |
void |
setNameSpaceURI(java.lang.String nameSpace)
Sets the name space. |
void |
setQueryItem(java.util.List items)
Sets the value of the QueryItem property. |
void |
setResourceID(java.lang.String resourceID)
Sets resource ID for the DST query. |
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 |
public DSTQuery()
public DSTQuery(java.lang.String resourceID, java.util.List items, java.lang.String serviceNS)
resourceID
- id for the resource to be queried.items
- List of DSTQueryItem
objects.serviceNS
- service name space.public DSTQuery(EncryptedResourceID encResourceID, java.util.List items, java.lang.String serviceNS)
encResourceID
- id for the encrypted resource to be queried.items
- list of DSTQueryItem
objects.serviceNS
- service name space.public DSTQuery(org.w3c.dom.Element element) throws DSTException
element
- DOM
Element.DSTException
- Method Detail |
public java.util.List getQueryItems()
QueryItem
property.DSTQueryItem
objectspublic void setQueryItem(java.util.List items)
QueryItem
property.items
- List of DSTQueryItem
objectspublic java.lang.String getId()
public void setId(java.lang.String id)
id
- value of id to be setpublic EncryptedResourceID getEncryptedResourceID()
public void setEncryptedResourceID(EncryptedResourceID encResourceID)
DST
query.encResourceID
- encrypted resource ID.public java.lang.String getResourceID()
public void setResourceID(java.lang.String resourceID)
DST
query.resourceID
- resource ID to be setpublic java.lang.String getItemID()
public void setItemID(java.lang.String value)
value
- item ID to be setpublic java.util.List getExtension()
public java.lang.String getNameSpaceURI()
public void setNameSpaceURI(java.lang.String nameSpace)
nameSpace
- Name space URI.public void setNameSpacePrefix(java.lang.String prefix)
prefix
- Name space prefix.public java.lang.String getNameSpacePrefix()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean includeNS, boolean declareNS)
includeNS
- if true prepends all elements by their name space prefixdeclareNS
- if true includes the name space within the
generated.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |