Package com.sun.identity.liberty.ws.dst
Class DSTModification
- java.lang.Object
-
- com.sun.identity.liberty.ws.dst.DSTModification
-
public class DSTModification extends Object
TheDSTModificationclass represents aDSTmodification operation.The following schema fragment specifies the expected content within the
DSTModificationobject.<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>
-
-
Constructor Summary
Constructors Constructor Description DSTModification()Default constructorDSTModification(String select, Date notChangedSince, String serviceNS)ConstructorDSTModification(Element element)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets id attributeStringgetNameSpacePrefix()Gets the name space prefix.StringgetNameSpaceURI()Gets the name space.ListgetNewDataValue()Gets new data valueDategetNotChangedSince()Gets theNotChangedSinceattribute.StringgetSelect()Gets select elementbooleanisOverrideAllowed()Checks if override is allowedvoidsetId(String id)Sets id attributevoidsetNameSpacePrefix(String prefix)Sets the name space prefix.voidsetNameSpaceURI(String nameSpace)Sets the name space.voidsetNewDataValue(List value)Sets new data valuevoidsetNotChangedSince(Date value)SetsNotChangedSinceattribute.voidsetOverrideAllowed(boolean value)Sets if override is allowedvoidsetSelect(String value)Sets select elementStringtoString()Creates a String representation of this object.StringtoString(boolean includeNS, boolean declareNS)Creates a String representation of this object.
-
-
-
Constructor Detail
-
DSTModification
public DSTModification()
Default constructor
-
DSTModification
public DSTModification(String select, Date notChangedSince, String serviceNS)
Constructor- Parameters:
select- identifies the data service to be modifiednotChangedSince- match only entries that are not changed after the specified date.serviceNS- service namespace
-
DSTModification
public DSTModification(Element element) throws DSTException
Constructor- Parameters:
element-DOMElement.- Throws:
DSTException
-
-
Method Detail
-
setId
public void setId(String id)
Sets id attribute- Parameters:
id- id attribute value to be set.
-
setNewDataValue
public void setNewDataValue(List value)
Sets new data value- Parameters:
value- list of Data XML DOM Elements
-
isOverrideAllowed
public boolean isOverrideAllowed()
Checks if override is allowed- Returns:
- if true, means override is allowed, false otherwise
-
setOverrideAllowed
public void setOverrideAllowed(boolean value)
Sets if override is allowed- Parameters:
value- if true, means override is allowed, false otherwise
-
getSelect
public String getSelect()
Gets select element- Returns:
- the select element as string
-
setSelect
public void setSelect(String value)
Sets select element- Parameters:
value- select value to be set
-
getNotChangedSince
public Date getNotChangedSince()
Gets theNotChangedSinceattribute.- Returns:
- Date for the
NotChangedSinceattribute
-
setNotChangedSince
public void setNotChangedSince(Date value)
SetsNotChangedSinceattribute.- Parameters:
value- value of theNotChangedSinceattribute to be set.
-
getNameSpaceURI
public String getNameSpaceURI()
Gets the name space.- Returns:
- String NameSpace String
-
setNameSpaceURI
public void setNameSpaceURI(String nameSpace)
Sets the name space.- Parameters:
nameSpace- NameSpace URI
-
setNameSpacePrefix
public void setNameSpacePrefix(String prefix)
Sets the name space prefix.- Parameters:
prefix- NameSpace prefix.
-
getNameSpacePrefix
public String getNameSpacePrefix()
Gets the name space prefix.- Returns:
- String NameSpace 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 Namespace prefixdeclareNS- if true includes the namespace within the generated.- Returns:
- String A string containing the valid XML for this element
-
-