Class 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>
     
    • 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 modified
        notChangedSince - match only entries that are not changed after the specified date.
        serviceNS - service namespace
    • Method Detail

      • getId

        public String getId()
        Gets id attribute
        Returns:
        String
      • setId

        public void setId​(String id)
        Sets id attribute
        Parameters:
        id - id attribute value to be set.
      • getNewDataValue

        public List getNewDataValue()
        Gets new data value
        Returns:
        List
      • 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 the NotChangedSince attribute.
        Returns:
        Date for the NotChangedSince attribute
      • setNotChangedSince

        public void setNotChangedSince​(Date value)
        Sets NotChangedSince attribute.
        Parameters:
        value - value of the NotChangedSince attribute 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
        Overrides:
        toString in class Object
        Returns:
        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.
        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