|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.sun.identity.liberty.ws.disco.Query
The class Query represents a discovery Query object.
The following schema fragment specifies the expected content within the
Query object.
<xs:element name="Query" type="Query"/>
<complexType name="Query">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{urn:liberty:disco:2003-08}ResourceIDGroup"/>
<element name="RequestedServiceType" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{urn:liberty:disco:2003-08}ServiceType"/>
<element ref="{urn:liberty:disco:2003-08}Options" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Constructor Summary | |
Query(org.w3c.dom.Element root)
Constructor. |
|
Query(EncryptedResourceID resourceID,
java.util.List RequestedService)
Constructor. |
|
Query(ResourceID resourceID,
java.util.List RequestedService)
Constructor. |
|
| Method Summary | |
EncryptedResourceID |
getEncryptedResourceID()
Gets the encrypted resource ID of the discovery resource to be queried. |
java.lang.String |
getId()
Gets id attribute. |
java.util.List |
getRequestedServiceType()
Gets the list of the requested service types. |
ResourceID |
getResourceID()
Gets the resource ID of the discovery resource to be queried. |
void |
setEncryptedResourceID(EncryptedResourceID value)
Sets the encrypted resource ID of the discovery resource to be queried. |
void |
setId(java.lang.String id)
Sets id attribute. |
void |
setRequestedServiceType(java.util.List requestedService)
Sets the list of the requested service types. |
void |
setResourceID(ResourceID resourceID)
Sets the resource ID of the discovery resource to be queried |
java.lang.String |
toString()
Returns formatted string of the Query object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Query(ResourceID resourceID,
java.util.List RequestedService)
resourceID - resource ID of the discovery resource to be queried.RequestedService - List of RequestService object.
public Query(EncryptedResourceID resourceID,
java.util.List RequestedService)
resourceID - encrypted resource ID of the discovery resource
to be queried.RequestedService - List of RequestService object.
public Query(org.w3c.dom.Element root)
throws DiscoveryException
root - Query in DOM ElementDiscoveryException - if error occurs| Method Detail |
public java.lang.String getId()
public void setId(java.lang.String id)
id - id attribute.public EncryptedResourceID getEncryptedResourceID()
public void setEncryptedResourceID(EncryptedResourceID value)
value - the encrypted resource ID.public ResourceID getResourceID()
public void setResourceID(ResourceID resourceID)
resourceID - the resource ID of the discovery resource to be
queried.public java.util.List getRequestedServiceType()
public void setRequestedServiceType(java.util.List requestedService)
requestedService - the list of the requested service types to be
set.public java.lang.String toString()
Query object.toString in class java.lang.ObjectQuery object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||