|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.liberty.ws.dst.DSTQueryItem
public class DSTQueryItem
The class DSTQueryItem
is the wrapper for one query item
for Data service.
The following schema fragment specifies the expected content within the
DSTQueryItem
object.
<element name="QueryItem" maxOccurs="unbounded"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Select" type="{urn:liberty:id-sis-pp:2003-08}SelectType"/> </sequence> <attribute name="itemID" type="{urn:liberty:id-sis-pp:2003-08}IDType" /> <attribute name="changedSince" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="includeCommonAttributes" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType> </element>
Constructor Summary | |
---|---|
DSTQueryItem(Element element)
Constructor |
|
DSTQueryItem(String select,
boolean includeCommonAttribute,
Date changedSince,
String serviceNS)
Constructor |
|
DSTQueryItem(String select,
String serviceNS)
Constructor |
Method Summary | |
---|---|
Date |
getChangedSince()
Gets changed since attribute |
String |
getId()
Gets id attribute. |
String |
getItemID()
Gets itemID attribute |
String |
getNameSpacePrefix()
Gets the name space prefix. |
String |
getNameSpaceURI()
Gets the name space. |
String |
getSelect()
Returns data selection string |
boolean |
isIncludeCommonAttributes()
Checks include common attribute for the DST query item. |
void |
setId(String id)
Sets id attribute |
void |
setItemID(String itemID)
Sets itemID attribute |
void |
setNameSpacePrefix(String prefix)
Sets the name space prefix. |
void |
setNameSpaceURI(String nameSpace)
Sets the name space. |
String |
toString()
Creates a String representation of this object. |
String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of this object. |
Constructor Detail |
---|
public DSTQueryItem(String select, String serviceNS)
select
- specifies the data the query should returnserviceNS
- service Name spacepublic DSTQueryItem(String select, boolean includeCommonAttribute, Date changedSince, String serviceNS)
select
- specifies the data the query should returnincludeCommonAttribute
- if true, query response will
contains common attributes (attribute id and modification
time)changedSince
- Only match entries changed after the specified
dateserviceNS
- service Name spacepublic DSTQueryItem(Element element) throws DSTException
element
- DOM
Element
DSTException
Method Detail |
---|
public String getSelect()
public String getItemID()
itemID
attribute
public void setItemID(String itemID)
itemID
attribute
itemID
- item ID to be setpublic String getId()
public void setId(String id)
id
- id attribute to be setpublic boolean isIncludeCommonAttributes()
DST
query item.
public Date getChangedSince()
public String getNameSpaceURI()
public void setNameSpaceURI(String nameSpace)
nameSpace
- Name space URI.public void setNameSpacePrefix(String prefix)
prefix
- Name space prefix.public String getNameSpacePrefix()
public String toString()
toString
in class Object
public 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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |