public class ModifyResponse extends Object
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 and Description |
---|
ModifyResponse(Element root)
Constructor.
|
ModifyResponse(Status status)
constructor.
|
Modifier and Type | Method and Description |
---|---|
Element |
getExtension()
Gets modify response Extension Element.
|
String |
getId()
Gets id attribute.
|
List |
getNewEntryIDs()
Gets the
newEntryIDs attribute. |
Status |
getStatus()
Gets modify response status.
|
void |
setExtension(Element extension)
Sets modify response extension.
|
void |
setId(String id)
Sets id attribute.
|
void |
setNewEntryIDs(List ids)
Sets the
newEntryIDs attribute. |
void |
setStatus(Status value)
Sets modify response status.
|
String |
toString()
Gets formatted string of modify response.
|
public ModifyResponse(Status status)
status
- Status of the modify responsepublic ModifyResponse(Element root) throws DiscoveryException
root
- ModifyResponse
DOM element.DiscoveryException
- if error occurs.public Status getStatus()
ModifyResponse.setStatus(com.sun.identity.liberty.ws.common.Status)
public void setStatus(Status value)
value
- StatusModifyResponse.getStatus()
public String getId()
ModifyResponse.setId(String)
public void setId(String id)
id
- id attribute.ModifyResponse.getId()
public List getNewEntryIDs()
newEntryIDs
attribute.newEntryIDs
attribute.ModifyResponse.setNewEntryIDs(List)
public void setNewEntryIDs(List ids)
newEntryIDs
attribute.ids
- values of the newEntryIDs
attribute.ModifyResponse.getNewEntryIDs()
public Element getExtension()
ModifyResponse.setExtension(Element)
public void setExtension(Element extension)
extension
- ElementModifyResponse.getExtension()
Copyright © 2010-2018, ForgeRock All Rights Reserved.