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

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

public class Modify
extends java.lang.Object

This class represents a discovery modify request. The following schema fragment specifies the expected content within the Modify object.

 <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>
 


Constructor Summary
Modify()
          Default constructor
Modify(org.w3c.dom.Element root)
          Constructor.
Modify(EncryptedResourceID resourceID, java.util.List insertEntry, java.util.List removeEntry)
          Constructor
Modify(ResourceID resourceID, java.util.List insertEntry, java.util.List removeEntry)
          Constructor
 
Method Summary
 EncryptedResourceID getEncryptedResourceID()
          Gets the encrypted resource ID for the discovery resource to be modified.
 java.lang.String getId()
          Gets id attribute.
 java.util.List getInsertEntry()
          Gets the value of the InsertEntry property.
 java.util.List getRemoveEntry()
          Gets the value of the RemoveEntry property.
 ResourceID getResourceID()
          Gets the resource ID for the discovery resource to be modified.
 void setEncryptedResourceID(EncryptedResourceID value)
          Sets the encrypted resource ID for the discovery resource to be modified.
 void setInsertEntry(java.util.List inserts)
          Sets the value of the InsertEntry property.
 void setRemoveEntry(java.util.List removes)
          Sets the value of the RemoveEntry property.
 void setResourceID(ResourceID resourceID)
          Sets resource ID for the discovery resource to be modified
 java.lang.String toString()
          Gets string format.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Modify

public Modify(ResourceID resourceID,
              java.util.List insertEntry,
              java.util.List removeEntry)
Constructor
Parameters:
resourceID - ID for the discovery resource to be modified
insertEntry - List of insert entries
removeEntry - List of remove entries

Modify

public Modify(EncryptedResourceID resourceID,
              java.util.List insertEntry,
              java.util.List removeEntry)
Constructor
Parameters:
resourceID - Encrypted Discovery Resource ID to be modified
insertEntry - List of insert entries
removeEntry - List of remove entries

Modify

public Modify()
Default constructor

Modify

public Modify(org.w3c.dom.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.

setEncryptedResourceID

public void setEncryptedResourceID(EncryptedResourceID value)
Sets the encrypted resource ID for the discovery resource to be modified.
Parameters:
value - the encrypted resource ID.

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.

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.

getId

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

getRemoveEntry

public java.util.List getRemoveEntry()
Gets the value of the RemoveEntry property.
Returns:
List of RemoveEntry objects

setRemoveEntry

public void setRemoveEntry(java.util.List removes)
Sets the value of the RemoveEntry property.
Parameters:
removes - List of RemoveEntry object.

getInsertEntry

public java.util.List getInsertEntry()
Gets the value of the InsertEntry property.
Returns:
List of InsertEntry object

setInsertEntry

public void setInsertEntry(java.util.List inserts)
Sets the value of the InsertEntry property.
Parameters:
inserts - List of InsertEntry object.

toString

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


Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.