Class LiteralValue

  • All Implemented Interfaces:
    Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString

    public class LiteralValue
    extends ValueType
    implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
    Representation of a simple literal value (such as an integer, a real number, or a string). String representation of the actual value (e.g., "49").

    Java class for anonymous complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType>
       <simpleContent>
         <extension base="<http://www.opengis.net/ows/2.0>ValueType">
           <attribute name="dataType" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
           <attribute name="uom" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
         </extension>
       </simpleContent>
     </complexType>
     
    • Field Detail

      • dataType

        protected String dataType
    • Constructor Detail

      • LiteralValue

        public LiteralValue()
        Default no-arg constructor
      • LiteralValue

        public LiteralValue​(String dataType,
                            String uom)
        Fully-initialising value constructor
    • Method Detail

      • getDataType

        public String getDataType()
        Gets the value of the dataType property.
        Returns:
        possible object is String
      • setDataType

        public void setDataType​(String value)
        Sets the value of the dataType property.
        Parameters:
        value - allowed object is String
      • isSetDataType

        public boolean isSetDataType()
      • getUom

        public String getUom()
        Gets the value of the uom property.
        Returns:
        possible object is String
      • setUom

        public void setUom​(String value)
        Sets the value of the uom property.
        Parameters:
        value - allowed object is String
      • isSetUom

        public boolean isSetUom()
      • append

        public StringBuilder append​(org.jvnet.jaxb.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb.lang.ToStringStrategy strategy)
        Specified by:
        append in interface org.jvnet.jaxb.lang.ToString
        Overrides:
        append in class ValueType
      • appendFields

        public StringBuilder appendFields​(org.jvnet.jaxb.locator.ObjectLocator locator,
                                          StringBuilder buffer,
                                          org.jvnet.jaxb.lang.ToStringStrategy strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb.lang.ToString
        Overrides:
        appendFields in class ValueType
      • equals

        public boolean equals​(org.jvnet.jaxb.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb.lang.EqualsStrategy strategy)
        Specified by:
        equals in interface org.jvnet.jaxb.lang.Equals
        Overrides:
        equals in class ValueType
      • hashCode

        public int hashCode​(org.jvnet.jaxb.locator.ObjectLocator locator,
                            org.jvnet.jaxb.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb.lang.HashCode
        Overrides:
        hashCode in class ValueType
      • copyTo

        public Object copyTo​(Object target)
        Specified by:
        copyTo in interface org.jvnet.jaxb.lang.CopyTo
        Overrides:
        copyTo in class ValueType
      • copyTo

        public Object copyTo​(org.jvnet.jaxb.locator.ObjectLocator locator,
                             Object target,
                             org.jvnet.jaxb.lang.CopyStrategy strategy)
        Specified by:
        copyTo in interface org.jvnet.jaxb.lang.CopyTo
        Overrides:
        copyTo in class ValueType
      • createNewInstance

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
        Specified by:
        createNewInstance in interface org.jvnet.jaxb.lang.MergeFrom
        Overrides:
        createNewInstance in class ValueType
      • mergeFrom

        public void mergeFrom​(Object left,
                              Object right)
        Specified by:
        mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
        Overrides:
        mergeFrom in class ValueType
      • mergeFrom

        public void mergeFrom​(org.jvnet.jaxb.locator.ObjectLocator leftLocator,
                              org.jvnet.jaxb.locator.ObjectLocator rightLocator,
                              Object left,
                              Object right,
                              org.jvnet.jaxb.lang.MergeStrategy strategy)
        Specified by:
        mergeFrom in interface org.jvnet.jaxb.lang.MergeFrom
        Overrides:
        mergeFrom in class ValueType