com.sun.identity.liberty.ws.disco
Class ModifyResponse

java.lang.Object
  |
  +--com.sun.identity.liberty.ws.disco.ModifyResponse

public class ModifyResponse
extends java.lang.Object

The class ModifyResponse represents a discovery response for modify request.

The following schema fragment specifies the expected content within the ModifyResponse object.

 <complexType name="ModifyResponseType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{urn:liberty:disco:2003-08}Status"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="newEntryIDs">
         <simpleType>
           <list itemType="{urn:liberty:disco:2003-08}IDReferenceType" />
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
ModifyResponse(org.w3c.dom.Element root)
          Constructor.
ModifyResponse(Status status)
          constructor
 
Method Summary
 java.lang.String getId()
          Gets id attribute.
 java.util.List getNewEntryIDs()
          Gets the newEntryIDs attribute.
 Status getStatus()
          Gets modify response status
 void setId(java.lang.String id)
          Sets id attribute.
 void setNewEntryIDs(java.util.List ids)
          Sets the newEntryIDs attribute.
 void setStatus(Status value)
          Sets modify response status
 java.lang.String toString()
          Gets formatted string of modify response.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModifyResponse

public ModifyResponse(Status status)
constructor
Parameters:
status - Status of the modify response

ModifyResponse

public ModifyResponse(org.w3c.dom.Element root)
               throws DiscoveryException
Constructor.
Parameters:
root - ModifyResponse DOM element.
Throws:
DiscoveryException - if error occurs.
Method Detail

getStatus

public Status getStatus()
Gets modify response status
Returns:
Status

setStatus

public void setStatus(Status value)
Sets modify response status
Parameters:
value - Status

getId

public java.lang.String getId()
Gets id attribute.
Returns:
id attribute.

setId

public void setId(java.lang.String id)
Sets id attribute.
Parameters:
id - id attribute.

getNewEntryIDs

public java.util.List getNewEntryIDs()
Gets the newEntryIDs attribute.
Returns:
the newEntryIDs attribute.

setNewEntryIDs

public void setNewEntryIDs(java.util.List ids)
Sets the newEntryIDs attribute.
Parameters:
ids - values of the newEntryIDs attribute.

toString

public java.lang.String toString()
Gets formatted string of modify response.
Overrides:
toString in class java.lang.Object
Returns:
formatted string of modify response.