Class ModifyResponse
- java.lang.Object
-
- com.sun.identity.liberty.ws.disco.ModifyResponse
-
public class ModifyResponse extends Object
The classModifyResponserepresents a discovery response for modify request.The following schema fragment specifies the expected content within the
ModifyResponseobject.<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
Constructors Constructor Description ModifyResponse(Status status)constructor.ModifyResponse(Element root)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementgetExtension()Gets modify response Extension Element.StringgetId()Gets id attribute.ListgetNewEntryIDs()Gets thenewEntryIDsattribute.StatusgetStatus()Gets modify response status.voidsetExtension(Element extension)Sets modify response extension.voidsetId(String id)Sets id attribute.voidsetNewEntryIDs(List ids)Sets thenewEntryIDsattribute.voidsetStatus(Status value)Sets modify response status.StringtoString()Gets formatted string of modify response.
-
-
-
Constructor Detail
-
ModifyResponse
public ModifyResponse(Status status)
constructor.- Parameters:
status- Status of the modify response
-
ModifyResponse
public ModifyResponse(Element root) throws DiscoveryException
Constructor.- Parameters:
root-ModifyResponseDOM element.- Throws:
DiscoveryException- if error occurs.
-
-
Method Detail
-
getStatus
public Status getStatus()
Gets modify response status.- Returns:
- Status
- See Also:
setStatus(com.sun.identity.liberty.ws.common.Status)
-
setStatus
public void setStatus(Status value)
Sets modify response status.- Parameters:
value- Status- See Also:
getStatus()
-
getId
public String getId()
Gets id attribute.- Returns:
- id attribute.
- See Also:
setId(String)
-
setId
public void setId(String id)
Sets id attribute.- Parameters:
id- id attribute.- See Also:
getId()
-
getNewEntryIDs
public List getNewEntryIDs()
Gets thenewEntryIDsattribute.- Returns:
- the
newEntryIDsattribute. - See Also:
setNewEntryIDs(List)
-
setNewEntryIDs
public void setNewEntryIDs(List ids)
Sets thenewEntryIDsattribute.- Parameters:
ids- values of thenewEntryIDsattribute.- See Also:
getNewEntryIDs()
-
getExtension
public Element getExtension()
Gets modify response Extension Element.- Returns:
- Extension Element
- See Also:
setExtension(Element)
-
setExtension
public void setExtension(Element extension)
Sets modify response extension.- Parameters:
extension- Element- See Also:
getExtension()
-
-