net.opengis.ols.v_1_2
Class DistanceType

java.lang.Object
  extended by net.opengis.ols.v_1_2.AbstractMeasureType
      extended by net.opengis.ols.v_1_2.DistanceType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2
Direct Known Subclasses:
AltitudeType

public class DistanceType
extends AbstractMeasureType
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2

Java class for DistanceType complex type.

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

 <complexType name="DistanceType">
   <complexContent>
     <extension base="{http://www.opengis.net/xls}AbstractMeasureType">
       <attribute name="uom" type="{http://www.opengis.net/xls}DistanceUnitType" default="M" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  DistanceUnitType uom
           
 
Fields inherited from class net.opengis.ols.v_1_2.AbstractMeasureType
accuracy, value
 
Constructor Summary
DistanceType()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
           
 Object createNewInstance()
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
           
 DistanceUnitType getUom()
          Gets the value of the uom property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetUom()
           
 void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setUom(DistanceUnitType value)
          Sets the value of the uom property.
 String toString()
           
 DistanceType withAccuracy(BigDecimal value)
           
 DistanceType withUom(DistanceUnitType value)
           
 DistanceType withValue(BigDecimal value)
           
 
Methods inherited from class net.opengis.ols.v_1_2.AbstractMeasureType
getAccuracy, getValue, isSetAccuracy, isSetValue, setAccuracy, setValue
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

uom

protected DistanceUnitType uom
Constructor Detail

DistanceType

public DistanceType()
Method Detail

getUom

public DistanceUnitType getUom()
Gets the value of the uom property.

Returns:
possible object is DistanceUnitType

setUom

public void setUom(DistanceUnitType value)
Sets the value of the uom property.

Parameters:
value - allowed object is DistanceUnitType

isSetUom

public boolean isSetUom()

toString

public String toString()
Overrides:
toString in class AbstractMeasureType

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString2
Overrides:
append in class AbstractMeasureType

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
Overrides:
appendFields in class AbstractMeasureType

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals2
Overrides:
equals in class AbstractMeasureType

equals

public boolean equals(Object object)
Overrides:
equals in class AbstractMeasureType

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
Overrides:
hashCode in class AbstractMeasureType

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractMeasureType

clone

public Object clone()
Overrides:
clone in class AbstractMeasureType

copyTo

public Object copyTo(Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
Overrides:
copyTo in class AbstractMeasureType

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
Overrides:
copyTo in class AbstractMeasureType

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2

mergeFrom

public void mergeFrom(Object left,
                      Object right)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2
Overrides:
mergeFrom in class AbstractMeasureType

mergeFrom

public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
                      Object left,
                      Object right,
                      org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2
Overrides:
mergeFrom in class AbstractMeasureType

withUom

public DistanceType withUom(DistanceUnitType value)

withValue

public DistanceType withValue(BigDecimal value)
Overrides:
withValue in class AbstractMeasureType

withAccuracy

public DistanceType withAccuracy(BigDecimal value)
Overrides:
withAccuracy in class AbstractMeasureType


Copyright © 2008-2015. All Rights Reserved.