com.sun.identity.liberty.ws.dst
クラス DSTModify

java.lang.Object
  上位を拡張 com.sun.identity.liberty.ws.dst.DSTModify

public class DSTModify
extends 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>
 


コンストラクタの概要
DSTModify()
          Constructor
DSTModify(Element element)
          Constructor
DSTModify(EncryptedResourceID encResourceID, List modifications, String serviceNS)
          Constructor
DSTModify(String resourceID, List modifications, String serviceNS)
          Constructor
 
メソッドの概要
 EncryptedResourceID getEncryptedResourceID()
          Gets the encrypted resource ID.
 List getExtension()
          Gets the extension property
 String getId()
          Gets id attribute
 String getItemID()
          Gets item id attribute
 List getModification()
          Gets the modifications to be performed.
 String getNameSpacePrefix()
          Gets the name space prefix.
 String getNameSpaceURI()
          Gets the name space.
 String getResourceID()
          Gets resource ID
 void setEncryptedResourceID(EncryptedResourceID resourceID)
          Sets encrypted resource ID
 void setExtension(List extensions)
          Sets the extension property
 void setId(String id)
          Sets id attribute
 void setItemID(String itemID)
          Sets item id attribute
 void setNameSpacePrefix(String prefix)
          Sets the name space prefix.
 void setNameSpaceURI(String nameSpace)
          Sets the name space.
 void setResourceID(String resourceID)
          Sets the resource ID
 String toString()
          Creates a String representation of this object.
 String toString(boolean includeNS, boolean declareNS)
          Creates a String representation of this object.
 

コンストラクタの詳細

DSTModify

public DSTModify()
Constructor


DSTModify

public DSTModify(String resourceID,
                 List modifications,
                 String serviceNS)
Constructor

パラメータ:
resourceID - id for the resource to be modified.
modifications - list of DSTModification to be performed.
serviceNS - service name space.

DSTModify

public DSTModify(EncryptedResourceID encResourceID,
                 List modifications,
                 String serviceNS)
Constructor

パラメータ:
encResourceID - id for encrypted resource to be modified.
modifications - list of DSTModification to be performed.
serviceNS - service name space.

DSTModify

public DSTModify(Element element)
          throws DSTException
Constructor

パラメータ:
element - DOM Element.
例外:
DSTException
メソッドの詳細

getModification

public List getModification()
Gets the modifications to be performed.

戻り値:
List of DSTModification object

getId

public String getId()
Gets id attribute

戻り値:
String

setId

public void setId(String id)
Sets id attribute

パラメータ:
id - id attribute value to be set

getEncryptedResourceID

public EncryptedResourceID getEncryptedResourceID()
Gets the encrypted resource ID.

戻り値:
encrypted resource ID.

setEncryptedResourceID

public void setEncryptedResourceID(EncryptedResourceID resourceID)
Sets encrypted resource ID

パラメータ:
resourceID - encrypted resource ID to be set

getResourceID

public String getResourceID()
Gets resource ID

戻り値:
String

setResourceID

public void setResourceID(String resourceID)
Sets the resource ID

パラメータ:
resourceID - resource ID to be set

getItemID

public String getItemID()
Gets item id attribute

戻り値:
String

setItemID

public void setItemID(String itemID)
Sets item id attribute

パラメータ:
itemID - item ID to be set

getExtension

public List getExtension()
Gets the extension property

戻り値:
List of Object

setExtension

public void setExtension(List extensions)
Sets the extension property

パラメータ:
extensions - List of Object to be set

getNameSpaceURI

public String getNameSpaceURI()
Gets the name space.

戻り値:
name space.

setNameSpaceURI

public void setNameSpaceURI(String nameSpace)
Sets the name space.

パラメータ:
nameSpace - name space URI.

setNameSpacePrefix

public void setNameSpacePrefix(String prefix)
Sets the name space prefix.

パラメータ:
prefix - name space prefix.

getNameSpacePrefix

public String getNameSpacePrefix()
Gets the name space prefix.

戻り値:
Name space prefix.

toString

public String toString()
Creates a String representation of this object. By default name space name is prepended to the element name

オーバーライド:
クラス Object 内の toString
戻り値:
String A string containing the valid XML for this element

toString

public String toString(boolean includeNS,
                       boolean declareNS)
Creates a String representation of this object.

パラメータ:
includeNS - if true prepends all elements by their name space prefix
declareNS - if true includes the name space within the generated.
戻り値:
String A string containing the valid XML for this element