com.esri.arcgisws
Class GPLinearUnit

java.lang.Object
  extended by com.esri.arcgisws.GPValue
      extended by com.esri.arcgisws.GPLinearUnit
All Implemented Interfaces:
Serializable

public class GPLinearUnit
extends GPValue
implements Serializable

Java class for GPLinearUnit complex type.

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

 <complexType name="GPLinearUnit">
   <complexContent>
     <extension base="{http://www.esri.com/schemas/ArcGIS/10.0}GPValue">
       <sequence>
         <element name="Value" type="{http://www.w3.org/2001/XMLSchema}double"/>
         <element name="Units" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriUnits"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
GPLinearUnit()
          GPLinearUnit default constructor.
GPLinearUnit(double value, EsriUnits units)
          Deprecated. 
 
Method Summary
 EsriUnits getUnits()
          Gets the value of the units property.
 double getValue()
          Gets the value of the value property.
 void setUnits(EsriUnits value)
          Sets the value of the units property.
 void setValue(double value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPLinearUnit

@Deprecated
public GPLinearUnit(double value,
                               EsriUnits units)
Deprecated. 

GPLinearUnit constructor.


GPLinearUnit

public GPLinearUnit()
GPLinearUnit default constructor.

Method Detail

getValue

public double getValue()
Gets the value of the value property.


setValue

public void setValue(double value)
Sets the value of the value property.


getUnits

public EsriUnits getUnits()
Gets the value of the units property.

Returns:
possible object is EsriUnits

setUnits

public void setUnits(EsriUnits value)
Sets the value of the units property.

Parameters:
value - allowed object is EsriUnits