com.sun.identity.liberty.ws.dst
クラス DSTModification

java.lang.Object
  上位を拡張 com.sun.identity.liberty.ws.dst.DSTModification

public class DSTModification
extends 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>
 


コンストラクタの概要
DSTModification()
          Default constructor
DSTModification(Element element)
          Constructor
DSTModification(String select, Date notChangedSince, String serviceNS)
          Constructor
 
メソッドの概要
 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.
 

コンストラクタの詳細

DSTModification

public DSTModification()
Default constructor


DSTModification

public DSTModification(String select,
                       Date notChangedSince,
                       String serviceNS)
Constructor

パラメータ:
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(Element element)
                throws DSTException
Constructor

パラメータ:
element - DOM Element.
例外:
DSTException
メソッドの詳細

getId

public String getId()
Gets id attribute

戻り値:
String

setId

public void setId(String id)
Sets id attribute

パラメータ:
id - id attribute value to be set.

getNewDataValue

public List getNewDataValue()
Gets new data value

戻り値:
List

setNewDataValue

public void setNewDataValue(List value)
Sets new data value

パラメータ:
value - list of Data XML DOM Elements

isOverrideAllowed

public boolean isOverrideAllowed()
Checks if override is allowed

戻り値:
if true, means override is allowed, false otherwise

setOverrideAllowed

public void setOverrideAllowed(boolean value)
Sets if override is allowed

パラメータ:
value - if true, means override is allowed, false otherwise

getSelect

public String getSelect()
Gets select element

戻り値:
the select element as string

setSelect

public void setSelect(String value)
Sets select element

パラメータ:
value - select value to be set

getNotChangedSince

public Date getNotChangedSince()
Gets the NotChangedSince attribute.

戻り値:
Date for the NotChangedSince attribute

setNotChangedSince

public void setNotChangedSince(Date value)
Sets NotChangedSince attribute.

パラメータ:
value - value of the NotChangedSince attribute to be set.

getNameSpaceURI

public String getNameSpaceURI()
Gets the name space.

戻り値:
String NameSpace String

setNameSpaceURI

public void setNameSpaceURI(String nameSpace)
Sets the name space.

パラメータ:
nameSpace - NameSpace URI

setNameSpacePrefix

public void setNameSpacePrefix(String prefix)
Sets the name space prefix.

パラメータ:
prefix - NameSpace prefix.

getNameSpacePrefix

public String getNameSpacePrefix()
Gets the name space prefix.

戻り値:
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

オーバーライド:
クラス Object 内の toString
戻り値:
String A string containing the valid XML for this element

toString

public String toString(boolean includeNS,
                       boolean declareNS)
Creates a String representation of this object.

パラメータ:
includeNS - if true prepends all elements by their Namespace prefix
declareNS - if true includes the namespace within the generated.
戻り値:
String A string containing the valid XML for this element