public class DSTModify extends Object
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 and Description |
---|
DSTModify()
Constructor
|
DSTModify(Element element)
Constructor
|
DSTModify(EncryptedResourceID encResourceID,
List modifications,
String serviceNS)
Constructor
|
DSTModify(String resourceID,
List modifications,
String serviceNS)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
public DSTModify()
public DSTModify(String resourceID, List modifications, String serviceNS)
resourceID
- id for the resource to be modified.modifications
- list of DSTModification
to be
performed.serviceNS
- service name space.public DSTModify(EncryptedResourceID encResourceID, List modifications, String serviceNS)
encResourceID
- id for encrypted resource to be modified.modifications
- list of DSTModification
to be
performed.serviceNS
- service name space.public DSTModify(Element element) throws DSTException
element
- DOM
Element.DSTException
- If there was an error while parsing the XML.public List getModification()
DSTModification
objectpublic void setId(String id)
id
- id attribute value to be setpublic EncryptedResourceID getEncryptedResourceID()
public void setEncryptedResourceID(EncryptedResourceID resourceID)
resourceID
- encrypted resource ID to be setpublic void setResourceID(String resourceID)
resourceID
- resource ID to be setpublic void setItemID(String itemID)
itemID
- item ID to be setpublic List getExtension()
public void setExtension(List extensions)
extensions
- List of Object to be setpublic String getNameSpaceURI()
public void setNameSpaceURI(String nameSpace)
nameSpace
- name space URI.public void setNameSpacePrefix(String prefix)
prefix
- name space prefix.public String getNameSpacePrefix()
public String toString()
public String toString(boolean includeNS, boolean declareNS)
includeNS
- if true prepends all elements by their name space prefixdeclareNS
- if true includes the name space within the
generated.Copyright © 2010-2018, ForgeRock All Rights Reserved.