|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.liberty.ws.disco.QueryResponse
The class QueryResponse
represents a response for a discovery
query request.
The following schema fragment specifies the expected content within the
QueryResponse
object.
<complexType name="QueryResponseType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:liberty:disco:2003-08}Status"/> <element ref="{urn:liberty:disco:2003-08}ResourceOffering" maxOccurs="unbounded" minOccurs="0"/> <element name="Credentials" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
Constructor Summary | |
QueryResponse()
Default constructor |
|
QueryResponse(org.w3c.dom.Element root)
Constructor. |
|
QueryResponse(Status status)
Constructor. |
Method Summary | |
java.util.List |
getCredentials()
Gets credentials |
java.lang.String |
getId()
Gets id attribute. |
java.util.List |
getResourceOffering()
Gets the returned ResourceOffering . |
Status |
getStatus()
Gets status of the query response. |
void |
setCredentials(java.util.List credentials)
Sets credentials |
void |
setId(java.lang.String id)
Sets id attribute. |
void |
setResourceOffering(java.util.List offerings)
Sets ResourceOffering to return. |
void |
setStatus(Status status)
Sets the Status of the query response. |
java.lang.String |
toString()
Returns formatted string of the QueryResponse |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public QueryResponse(org.w3c.dom.Element root) throws DiscoveryException
root
- QueryResponse
DOM element.
DiscoveryException
- if error occurs.public QueryResponse()
public QueryResponse(Status status)
status
- Status of the response.Method Detail |
public Status getStatus()
public void setStatus(Status status)
status
- the Status of the query response.public java.util.List getResourceOffering()
ResourceOffering
.
ResourceOffering
objectspublic void setResourceOffering(java.util.List offerings)
ResourceOffering
to return.
offerings
- List of ResourceOffering
objectspublic java.lang.String getId()
public void setId(java.lang.String id)
id
- id attribute.public java.util.List getCredentials()
com.sun.identity.liberty.ws.security.SecurityAssertion
objects.public void setCredentials(java.util.List credentials)
credentials
- List of
com.sun.identity.liberty.ws.security.SecurityAssertion
objects.public java.lang.String toString()
QueryResponse
QueryResponse
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |