Class Modify
- java.lang.Object
-
- com.sun.identity.liberty.ws.disco.Modify
-
public class Modify extends Object
This class represents a discovery modify request. The following schema fragment specifies the expected content within theModifyobject.<xs:element name="Modify" type="ModifyType"/> <complexType name="ModifyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{urn:liberty:disco:2003-08}ResourceIDGroup"/> <element name="InsertEntry" type="{urn:liberty:disco:2003-08}InsertEntryType" maxOccurs="unbounded" minOccurs="0"/> <element name="RemoveEntry" type="{urn:liberty:disco:2003-08}RemoveEntryType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptedResourceIDgetEncryptedResourceID()Gets the encrypted resource ID for the discovery resource to be modified.StringgetId()Gets id attribute.ListgetInsertEntry()Gets the value of theInsertEntryproperty.ListgetRemoveEntry()Gets the value of theRemoveEntryproperty.ResourceIDgetResourceID()Gets the resource ID for the discovery resource to be modified.voidsetEncryptedResourceID(EncryptedResourceID value)Sets the encrypted resource ID for the discovery resource to be modified.voidsetInsertEntry(List inserts)Sets the value of theInsertEntryproperty.voidsetRemoveEntry(List removes)Sets the value of theRemoveEntryproperty.voidsetResourceID(ResourceID resourceID)Sets resource ID for the discovery resource to be modified.StringtoString()Gets string format.
-
-
-
Constructor Detail
-
Modify
public Modify(ResourceID resourceID, List insertEntry, List removeEntry)
Constructor.- Parameters:
resourceID- ID for the discovery resource to be modifiedinsertEntry- List of insert entriesremoveEntry- List of remove entries
-
Modify
public Modify(EncryptedResourceID resourceID, List insertEntry, List removeEntry)
Constructor.- Parameters:
resourceID- Encrypted Discovery Resource ID to be modifiedinsertEntry- List of insert entriesremoveEntry- List of remove entries
-
Modify
public Modify()
Default constructor.
-
Modify
public Modify(Element root) throws DiscoveryException
Constructor.- Parameters:
root- Modify DOM element- Throws:
DiscoveryException- if error occurs
-
-
Method Detail
-
getEncryptedResourceID
public EncryptedResourceID getEncryptedResourceID()
Gets the encrypted resource ID for the discovery resource to be modified.- Returns:
- the encrypted resource ID.
- See Also:
setEncryptedResourceID(EncryptedResourceID)
-
setEncryptedResourceID
public void setEncryptedResourceID(EncryptedResourceID value)
Sets the encrypted resource ID for the discovery resource to be modified.- Parameters:
value- the encrypted resource ID.- See Also:
getEncryptedResourceID()
-
getResourceID
public ResourceID getResourceID()
Gets the resource ID for the discovery resource to be modified.- Returns:
- resource ID for the discovery resource to be modified.
- See Also:
setResourceID(ResourceID)
-
setResourceID
public void setResourceID(ResourceID resourceID)
Sets resource ID for the discovery resource to be modified.- Parameters:
resourceID- resource ID for the discovery resource to be modified.- See Also:
getResourceID()
-
getId
public String getId()
Gets id attribute.- Returns:
- id attribute.
-
getRemoveEntry
public List getRemoveEntry()
Gets the value of theRemoveEntryproperty.- Returns:
- List of
RemoveEntryobjects - See Also:
setRemoveEntry(List)
-
setRemoveEntry
public void setRemoveEntry(List removes)
Sets the value of theRemoveEntryproperty.- Parameters:
removes- List ofRemoveEntryobject.- See Also:
getRemoveEntry()
-
getInsertEntry
public List getInsertEntry()
Gets the value of theInsertEntryproperty.- Returns:
- List of
InsertEntryobject - See Also:
setInsertEntry(List)
-
setInsertEntry
public void setInsertEntry(List inserts)
Sets the value of theInsertEntryproperty.- Parameters:
inserts- List ofInsertEntryobject.- See Also:
getInsertEntry()
-
-