Class DSTData


  • public class DSTData
    extends Object
    The DSTData class provides a wrapper for any data entry. The following schema fragment specifies the expected content within the DSTData object.
     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <any/>
           </sequence>
           <attribute name="itemIDRef" 
           type="{urn:liberty:idpp:2003-08}IDReferenceType" />
           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • DSTData

        public DSTData​(List data,
                       String serviceNS)
        Constructor
        Parameters:
        data - List of data XML DOM Elements.
        serviceNS - service nameSpace
    • Method Detail

      • getId

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

        public void setId​(String id)
        Sets id attribute
        Parameters:
        id - attribute
      • getItemIDRef

        public String getItemIDRef()
        Gets item reference.
        Returns:
        item reference.
      • setItemIDRef

        public void setItemIDRef​(String ref)
        Sets item reference.
        Parameters:
        ref - reference item.
      • getData

        public List getData()
        Gets the returned data objects.
        Returns:
        List of any java.lang.Object.
      • getNameSpaceURI

        public String getNameSpaceURI()
        Gets the name space.
        Returns:
        Name space.
      • 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