Package com.sun.identity.liberty.ws.dst
Class DSTModify
- java.lang.Object
-
- com.sun.identity.liberty.ws.dst.DSTModify
-
public class DSTModify extends Object
TheDSTModifyclass represents aDSTmodify request. The following schema fragment specifies the expected content within theDSTModifyobject.<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>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptedResourceIDgetEncryptedResourceID()Gets the encrypted resource ID.ListgetExtension()Gets the extension propertyStringgetId()Gets id attributeStringgetItemID()Gets item id attributeListgetModification()Gets the modifications to be performed.StringgetNameSpacePrefix()Gets the name space prefix.StringgetNameSpaceURI()Gets the name space.StringgetResourceID()Gets resource IDvoidsetEncryptedResourceID(EncryptedResourceID resourceID)Sets encrypted resource IDvoidsetExtension(List extensions)Sets the extension propertyvoidsetId(String id)Sets id attributevoidsetItemID(String itemID)Sets item id attributevoidsetNameSpacePrefix(String prefix)Sets the name space prefix.voidsetNameSpaceURI(String nameSpace)Sets the name space.voidsetResourceID(String resourceID)Sets the resource IDStringtoString()Creates a String representation of this object.StringtoString(boolean includeNS, boolean declareNS)Creates a String representation of this object.
-
-
-
Constructor Detail
-
DSTModify
public DSTModify()
Constructor
-
DSTModify
public DSTModify(String resourceID, List modifications, String serviceNS)
Constructor- Parameters:
resourceID- id for the resource to be modified.modifications- list ofDSTModificationto be performed.serviceNS- service name space.
-
DSTModify
public DSTModify(EncryptedResourceID encResourceID, List modifications, String serviceNS)
Constructor- Parameters:
encResourceID- id for encrypted resource to be modified.modifications- list ofDSTModificationto be performed.serviceNS- service name space.
-
DSTModify
public DSTModify(Element element) throws DSTException
Constructor- Parameters:
element-DOMElement.- Throws:
DSTException
-
-
Method Detail
-
getModification
public List getModification()
Gets the modifications to be performed.- Returns:
- List of
DSTModificationobject
-
setId
public void setId(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
-
setResourceID
public void setResourceID(String resourceID)
Sets the resource ID- Parameters:
resourceID- resource ID to be set
-
setItemID
public void setItemID(String itemID)
Sets item id attribute- Parameters:
itemID- item ID to be set
-
getExtension
public List getExtension()
Gets the extension property- Returns:
- List of Object
-
setExtension
public void setExtension(List extensions)
Sets the extension property- Parameters:
extensions- List of Object to be set
-
getNameSpaceURI
public String getNameSpaceURI()
Gets the name space.- Returns:
- name space.
-
setNameSpaceURI
public void setNameSpaceURI(String nameSpace)
Sets the name space.- Parameters:
nameSpace- name space URI.
-
setNameSpacePrefix
public void setNameSpacePrefix(String prefix)
Sets the name space prefix.- Parameters:
prefix- name space prefix.
-
getNameSpacePrefix
public String getNameSpacePrefix()
Gets the name space prefix.- Returns:
- 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
-
toString
public String toString(boolean includeNS, boolean declareNS)
Creates a String representation of this object.- Parameters:
includeNS- if true prepends all elements by their name space prefixdeclareNS- if true includes the name space within the generated.- Returns:
- String A string containing the valid XML for this element
-
-