public class DSTModification extends Object
DSTModification
class represents a DST
modification operation.
The following schema fragment specifies the expected content within
the DSTModification
object.
<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 and Description |
---|
DSTModification()
Default constructor
|
DSTModification(Element element)
Constructor
|
DSTModification(String select,
Date notChangedSince,
String serviceNS)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets id attribute
|
String |
getNameSpacePrefix()
Gets the name space prefix.
|
String |
getNameSpaceURI()
Gets the name space.
|
List |
getNewDataValue()
Gets new data value
|
Date |
getNotChangedSince()
Gets the
NotChangedSince attribute. |
String |
getSelect()
Gets select element
|
boolean |
isOverrideAllowed()
Checks if override is allowed
|
void |
setId(String id)
Sets id attribute
|
void |
setNameSpacePrefix(String prefix)
Sets the name space prefix.
|
void |
setNameSpaceURI(String nameSpace)
Sets the name space.
|
void |
setNewDataValue(List value)
Sets new data value
|
void |
setNotChangedSince(Date value)
Sets
NotChangedSince attribute. |
void |
setOverrideAllowed(boolean value)
Sets if override is allowed
|
void |
setSelect(String value)
Sets select element
|
String |
toString()
Creates a String representation of this object.
|
String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of this object.
|
public DSTModification()
public DSTModification(String select, Date notChangedSince, String serviceNS)
select
- identifies the data service to be modifiednotChangedSince
- match only entries that are not changed
after the specified date.serviceNS
- service namespacepublic DSTModification(Element element) throws DSTException
element
- DOM
Element.DSTException
- If there was an error while parsing the XML element.public void setId(String id)
id
- id attribute value to be set.public void setNewDataValue(List value)
value
- list of Data XML DOM Elementspublic boolean isOverrideAllowed()
public void setOverrideAllowed(boolean value)
value
- if true, means override is allowed, false otherwisepublic String getSelect()
public void setSelect(String value)
value
- select value to be setpublic Date getNotChangedSince()
NotChangedSince
attribute.NotChangedSince
attributepublic void setNotChangedSince(Date value)
NotChangedSince
attribute.value
- value of the NotChangedSince
attribute to be
set.public String getNameSpaceURI()
public void setNameSpaceURI(String nameSpace)
nameSpace
- NameSpace URIpublic void setNameSpacePrefix(String prefix)
prefix
- NameSpace prefix.public String getNameSpacePrefix()
public String toString()
public String toString(boolean includeNS, boolean declareNS)
includeNS
- if true prepends all elements by their Namespace prefixdeclareNS
- if true includes the namespace within the
generated.Copyright © 2010-2018, ForgeRock All Rights Reserved.