com.sun.identity.liberty.ws.dst
Class DSTModification

java.lang.Object
  |
  +--com.sun.identity.liberty.ws.dst.DSTModification

public class DSTModification
extends java.lang.Object

The 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 Summary
DSTModification()
          Default constructor
DSTModification(org.w3c.dom.Element element)
          Constructor
DSTModification(java.lang.String select, java.util.Date notChangedSince, java.lang.String serviceNS)
          Constructor
 
Method Summary
 java.lang.String getId()
          Gets id attribute
 java.lang.String getNameSpacePrefix()
          Gets the name space prefix.
 java.lang.String getNameSpaceURI()
          Gets the name space.
 java.util.List getNewDataValue()
          Gets new data value
 java.util.Date getNotChangedSince()
          Gets the NotChangedSince attribute.
 java.lang.String getSelect()
          Gets select element
 boolean isOverrideAllowed()
          Checks if override is allowed
 void setId(java.lang.String id)
          Sets id attribute
 void setNameSpacePrefix(java.lang.String prefix)
          Sets the name space prefix.
 void setNameSpaceURI(java.lang.String nameSpace)
          Sets the name space.
 void setNewDataValue(java.util.List value)
          Sets new data value
 void setNotChangedSince(java.util.Date value)
          Sets NotChangedSince attribute.
 void setOverrideAllowed(boolean value)
          Sets if override is allowed
 void setSelect(java.lang.String value)
          Sets select element
 java.lang.String toString()
          Creates a String representation of this object.
 java.lang.String toString(boolean includeNS, boolean declareNS)
          Creates a String representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DSTModification

public DSTModification()
Default constructor

DSTModification

public DSTModification(java.lang.String select,
                       java.util.Date notChangedSince,
                       java.lang.String serviceNS)
Constructor
Parameters:
select - identifies the data service to be modified
notChangedSince - match only entries that are not changed after the specified date.
serviceNS - service namespace

DSTModification

public DSTModification(org.w3c.dom.Element element)
                throws DSTException
Constructor
Parameters:
element - DOM Element.
Throws:
DSTException -  
Method Detail

getId

public java.lang.String getId()
Gets id attribute
Returns:
String

setId

public void setId(java.lang.String id)
Sets id attribute
Parameters:
id - id attribute value to be set.

getNewDataValue

public java.util.List getNewDataValue()
Gets new data value
Returns:
List

setNewDataValue

public void setNewDataValue(java.util.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 java.lang.String getSelect()
Gets select element
Returns:
the select element as string

setSelect

public void setSelect(java.lang.String value)
Sets select element
Parameters:
value - select value to be set

getNotChangedSince

public java.util.Date getNotChangedSince()
Gets the NotChangedSince attribute.
Returns:
Date for the NotChangedSince attribute

setNotChangedSince

public void setNotChangedSince(java.util.Date value)
Sets NotChangedSince attribute.
Parameters:
value - value of the NotChangedSince attribute to be set.

getNameSpaceURI

public java.lang.String getNameSpaceURI()
Gets the name space.
Returns:
String NameSpace String

setNameSpaceURI

public void setNameSpaceURI(java.lang.String nameSpace)
Sets the name space.
Parameters:
nameSpace - NameSpace URI

setNameSpacePrefix

public void setNameSpacePrefix(java.lang.String prefix)
Sets the name space prefix.
Parameters:
prefix - NameSpace prefix.

getNameSpacePrefix

public java.lang.String getNameSpacePrefix()
Gets the name space prefix.
Returns:
String NameSpace prefix.

toString

public java.lang.String toString()
Creates a String representation of this object. By default name space name is prepended to the element name
Overrides:
toString in class java.lang.Object
Returns:
String A string containing the valid XML for this element

toString

public java.lang.String toString(boolean includeNS,
                                 boolean declareNS)
Creates a String representation of this object.
Parameters:
includeNS - if true prepends all elements by their Namespace prefix
declareNS - if true includes the namespace within the generated.
Returns:
String A string containing the valid XML for this element