com.esri.arcgis.geoprocessing
Interface IGPLinearUnit

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GPLinearUnit, IGPLinearUnitProxy

public interface IGPLinearUnit
extends java.io.Serializable

COM Interface 'IGPLinearUnit'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description: 'Provides access to the properties/methods of a geoprocessing linear unit object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID0ee02101_1597_473c_b77d_1edfd547ace5
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 double convertValue(int units)
          Converts the current value to the specified linear unit type.
 int getUnits()
          Gets the type of linear unit.
 double getValue()
          Gets the value, as a double, of the linear unit.
 void setUnits(int pUnits)
          Gets the type of linear unit.
 void setValue(double pValue)
          Gets the value, as a double, of the linear unit.
 

Field Detail

IID0ee02101_1597_473c_b77d_1edfd547ace5

static final int IID0ee02101_1597_473c_b77d_1edfd547ace5
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getValue

double getValue()
                throws java.io.IOException,
                       AutomationException
Gets the value, as a double, of the linear unit.

Returns:
The pValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValue

void setValue(double pValue)
              throws java.io.IOException,
                     AutomationException
Gets the value, as a double, of the linear unit.

Parameters:
pValue - The pValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUnits

int getUnits()
             throws java.io.IOException,
                    AutomationException
Gets the type of linear unit.

Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUnits

void setUnits(int pUnits)
              throws java.io.IOException,
                     AutomationException
Gets the type of linear unit.

Parameters:
pUnits - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertValue

double convertValue(int units)
                    throws java.io.IOException,
                           AutomationException
Converts the current value to the specified linear unit type.

Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Returns:
The pValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.