com.sun.identity.liberty.ws.disco
クラス Query

java.lang.Object
  上位を拡張 com.sun.identity.liberty.ws.disco.Query

public class Query
extends Object

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>
 


コンストラクタの概要
Query(Element root)
          Constructor.
Query(EncryptedResourceID resourceID, List RequestedService)
          Constructor.
Query(ResourceID resourceID, List RequestedService)
          Constructor.
 
メソッドの概要
 EncryptedResourceID getEncryptedResourceID()
          Gets the encrypted resource ID of the discovery resource to be queried.
 String getId()
          Gets id attribute.
 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(String id)
          Sets id attribute.
 void setRequestedServiceType(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
 String toString()
          Returns formatted string of the Query object.
 

コンストラクタの詳細

Query

public Query(ResourceID resourceID,
             List RequestedService)
Constructor.

パラメータ:
resourceID - resource ID of the discovery resource to be queried.
RequestedService - List of RequestService object.

Query

public Query(EncryptedResourceID resourceID,
             List RequestedService)
Constructor.

パラメータ:
resourceID - encrypted resource ID of the discovery resource to be queried.
RequestedService - List of RequestService object.

Query

public Query(Element root)
      throws DiscoveryException
Constructor.

パラメータ:
root - Query in DOM Element
例外:
DiscoveryException - if error occurs
メソッドの詳細

getId

public String getId()
Gets id attribute.

戻り値:
id attribute.
関連項目:
Query.setId(String)

setId

public void setId(String id)
Sets id attribute.

パラメータ:
id - id attribute.
関連項目:
Query.getId()

getEncryptedResourceID

public EncryptedResourceID getEncryptedResourceID()
Gets the encrypted resource ID of the discovery resource to be queried.

戻り値:
the encrypted resource ID of the discovery resource to be queried.
関連項目:
Query.setEncryptedResourceID(EncryptedResourceID)

setEncryptedResourceID

public void setEncryptedResourceID(EncryptedResourceID value)
Sets the encrypted resource ID of the discovery resource to be queried.

パラメータ:
value - the encrypted resource ID.
関連項目:
Query.getEncryptedResourceID()

getResourceID

public ResourceID getResourceID()
Gets the resource ID of the discovery resource to be queried.

戻り値:
the resource ID of the discovery resource to be queried.
関連項目:
Query.setResourceID(ResourceID)

setResourceID

public void setResourceID(ResourceID resourceID)
Sets the resource ID of the discovery resource to be queried

パラメータ:
resourceID - the resource ID of the discovery resource to be queried.
関連項目:
Query.getResourceID()

getRequestedServiceType

public List getRequestedServiceType()
Gets the list of the requested service types.

戻り値:
the list of the requested service types.
関連項目:
Query.setRequestedServiceType(List)

setRequestedServiceType

public void setRequestedServiceType(List requestedService)
Sets the list of the requested service types.

パラメータ:
requestedService - the list of the requested service types to be set.
関連項目:
Query.getRequestedServiceType()

toString

public String toString()
Returns formatted string of the Query object.

オーバーライド:
クラス Object 内の toString
戻り値:
formatted string of the Query object.