com.esri.arcgis.geoprocessing
Interface IGPTimeUnit

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GPTimeUnit, IGPTimeUnitProxy

public interface IGPTimeUnit
extends java.io.Serializable

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

Description: 'Provides access to the properties/methods of a geoprocessing time 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 IID8214f11b_06bb_4523_aeaa_05b077c3bdea
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 double convertValue(int units)
          Converts the current value to the specified time unit type.
 int getUnits()
          Gets the type of time unit.
 double getValue()
          Gets the value, as a double, of the time unit.
 void setUnits(int pUnits)
          Gets the type of time unit.
 void setValue(double pValue)
          Gets the value, as a double, of the time unit.
 

Field Detail

IID8214f11b_06bb_4523_aeaa_05b077c3bdea

static final int IID8214f11b_06bb_4523_aeaa_05b077c3bdea
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 time 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 time 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 time unit.

Returns:
A com.esri.arcgis.system.esriTimeUnits 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 time unit.

Parameters:
pUnits - A com.esri.arcgis.system.esriTimeUnits 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 time unit type.

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