com.sun.identity.liberty.ws.dst
Class DSTModify

java.lang.Object
  |
  +--com.sun.identity.liberty.ws.dst.DSTModify

public class DSTModify
extends java.lang.Object

The DSTModify class represents a DST modify request. The following schema fragment specifies the expected content within the DSTModify object.

 <complexType name="ModifyType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{urn:liberty:idpp:2003-08}ResourceIDGroup"/>
         <element name="Modification" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="Select" type="{urn:liberty:idpp:2003-08}SelectType"/>
                   <element name="NewData" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <any/>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
                 <attribute name="overrideAllowed" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                 <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element ref="{urn:liberty:idpp:2003-08}Extension" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="itemID" type="{urn:liberty:idpp:2003-08}IDType" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
DSTModify()
          Constructor
DSTModify(org.w3c.dom.Element element)
          Constructor
DSTModify(EncryptedResourceID encResourceID, java.util.List modifications, java.lang.String serviceNS)
          Constructor
DSTModify(java.lang.String resourceID, java.util.List modifications, java.lang.String serviceNS)
          Constructor
 
Method Summary
 EncryptedResourceID getEncryptedResourceID()
          Gets the encrypted resource ID.
 java.util.List getExtension()
          Gets the extension property
 java.lang.String getId()
          Gets id attribute
 java.lang.String getItemID()
          Gets item id attribute
 java.util.List getModification()
          Gets the modifications to be performed.
 java.lang.String getNameSpacePrefix()
          Gets the name space prefix.
 java.lang.String getNameSpaceURI()
          Gets the name space.
 java.lang.String getResourceID()
          Gets resource ID
 void setEncryptedResourceID(EncryptedResourceID resourceID)
          Sets encrypted resource ID
 void setExtension(java.util.List extensions)
          Sets the extension property
 void setId(java.lang.String id)
          Sets id attribute
 void setItemID(java.lang.String itemID)
          Sets item id attribute
 void setNameSpacePrefix(java.lang.String prefix)
          Sets the name space prefix.
 void setNameSpaceURI(java.lang.String nameSpace)
          Sets the name space.
 void setResourceID(java.lang.String resourceID)
          Sets the resource ID
 java.lang.String toString()
          Creates a String representation of this object.
 java.lang.String toString(boolean includeNS, boolean declareNS)
          Creates a String representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DSTModify

public DSTModify()
Constructor

DSTModify

public DSTModify(java.lang.String resourceID,
                 java.util.List modifications,
                 java.lang.String serviceNS)
Constructor
Parameters:
resourceID - id for the resource to be modified.
modifications - list of DSTModification to be performed.
serviceNS - service name space.

DSTModify

public DSTModify(EncryptedResourceID encResourceID,
                 java.util.List modifications,
                 java.lang.String serviceNS)
Constructor
Parameters:
encResourceID - id for encrypted resource to be modified.
modifications - list of DSTModification to be performed.
serviceNS - service name space.

DSTModify

public DSTModify(org.w3c.dom.Element element)
          throws DSTException
Constructor
Parameters:
element - DOM Element.
Throws:
DSTException -  
Method Detail

getModification

public java.util.List getModification()
Gets the modifications to be performed.
Returns:
List of DSTModification object

getId

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

setId

public void setId(java.lang.String id)
Sets id attribute
Parameters:
id - id attribute value to be set

getEncryptedResourceID

public EncryptedResourceID getEncryptedResourceID()
Gets the encrypted resource ID.
Returns:
encrypted resource ID.

setEncryptedResourceID

public void setEncryptedResourceID(EncryptedResourceID resourceID)
Sets encrypted resource ID
Parameters:
resourceID - encrypted resource ID to be set

getResourceID

public java.lang.String getResourceID()
Gets resource ID
Returns:
String

setResourceID

public void setResourceID(java.lang.String resourceID)
Sets the resource ID
Parameters:
resourceID - resource ID to be set

getItemID

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

setItemID

public void setItemID(java.lang.String itemID)
Sets item id attribute
Parameters:
itemID - item ID to be set

getExtension

public java.util.List getExtension()
Gets the extension property
Returns:
List of Object

setExtension

public void setExtension(java.util.List extensions)
Sets the extension property
Parameters:
extensions - List of Object to be set

getNameSpaceURI

public java.lang.String getNameSpaceURI()
Gets the name space.
Returns:
name space.

setNameSpaceURI

public void setNameSpaceURI(java.lang.String nameSpace)
Sets the name space.
Parameters:
nameSpace - name space URI.

setNameSpacePrefix

public void setNameSpacePrefix(java.lang.String prefix)
Sets the name space prefix.
Parameters:
prefix - name space prefix.

getNameSpacePrefix

public java.lang.String getNameSpacePrefix()
Gets the name space prefix.
Returns:
Name space prefix.

toString

public java.lang.String toString()
Creates a String representation of this object. By default name space name is prepended to the element name
Overrides:
toString in class java.lang.Object
Returns:
String A string containing the valid XML for this element

toString

public java.lang.String toString(boolean includeNS,
                                 boolean declareNS)
Creates a String representation of this object.
Parameters:
includeNS - if true prepends all elements by their name space prefix
declareNS - if true includes the name space within the generated.
Returns:
String A string containing the valid XML for this element


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