Class Modify


  • public class Modify
    extends 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 Detail

      • Modify

        public Modify​(ResourceID resourceID,
                      List insertEntry,
                      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,
                      List insertEntry,
                      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.
    • Method Detail

      • 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 the RemoveEntry property.
        Returns:
        List of RemoveEntry objects
        See Also:
        setRemoveEntry(List)
      • setRemoveEntry

        public void setRemoveEntry​(List removes)
        Sets the value of the RemoveEntry property.
        Parameters:
        removes - List of RemoveEntry object.
        See Also:
        getRemoveEntry()
      • getInsertEntry

        public List getInsertEntry()
        Gets the value of the InsertEntry property.
        Returns:
        List of InsertEntry object
        See Also:
        setInsertEntry(List)
      • setInsertEntry

        public void setInsertEntry​(List inserts)
        Sets the value of the InsertEntry property.
        Parameters:
        inserts - List of InsertEntry object.
        See Also:
        getInsertEntry()
      • toString

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