com.esri.arcgis.location
Class RouteMeasurePointLocation

java.lang.Object
  extended by com.esri.arcgis.location.RouteMeasurePointLocation
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, IRouteLocation, IRouteLocation2, IRouteMeasurePointLocation, ISupportErrorInfo, java.io.Serializable

public class RouteMeasurePointLocation
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRouteLocation2, IRouteMeasurePointLocation, ISupportErrorInfo

COM Class 'RouteMeasurePointLocation'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriLocation.olb'

Description 'A route measure point location.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.location.IRouteLocation2
IID, IIDdc709919_fadb_4008_a90a_7be613557170, xxDummy
 
Fields inherited from interface com.esri.arcgis.location.IRouteLocation
IID354b908d_3bba_11d4_9fcc_00c04f6bdf06
 
Fields inherited from interface com.esri.arcgis.location.IRouteMeasurePointLocation
IID, IID354b908e_3bba_11d4_9fcc_00c04f6bdf06, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
RouteMeasurePointLocation()
          Constructs a RouteMeasurePointLocation using ArcGIS Engine.
RouteMeasurePointLocation(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RouteMeasurePointLocation theRouteMeasurePointLocation = (RouteMeasurePointLocation) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 double getLateralOffset()
          The route location's lateral offset (default 0.0).
 double getMeasure()
          The measure value.
 int getMeasureUnit()
          The route location's measure units.
 java.lang.Object getRouteID()
          The route identifier (string, integer or double).
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isMDirectionOffsetting()
          Indicates if the offset should based on the M direction or the digitized direction.
 void release()
          Release a RouteMeasurePointLocation.
 void setLateralOffset(double value)
          The route location's lateral offset (default 0.0).
 void setMDirectionOffsetting(boolean value)
          Indicates if the offset should based on the M direction or the digitized direction.
 void setMeasure(double value)
          The measure value.
 void setMeasureUnit(int units)
          The route location's measure units.
 void setRouteID(java.lang.Object rid)
          The route identifier (string, integer or double).
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouteMeasurePointLocation

public RouteMeasurePointLocation()
                          throws java.io.IOException,
                                 java.net.UnknownHostException
Constructs a RouteMeasurePointLocation using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

RouteMeasurePointLocation

public RouteMeasurePointLocation(java.lang.Object obj)
                          throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RouteMeasurePointLocation theRouteMeasurePointLocation = (RouteMeasurePointLocation) obj;

Construct a RouteMeasurePointLocation using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RouteMeasurePointLocation.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a RouteMeasurePointLocation.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setMDirectionOffsetting

public void setMDirectionOffsetting(boolean value)
                             throws java.io.IOException,
                                    AutomationException
Indicates if the offset should based on the M direction or the digitized direction.

Specified by:
setMDirectionOffsetting in interface IRouteLocation2
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isMDirectionOffsetting

public boolean isMDirectionOffsetting()
                               throws java.io.IOException,
                                      AutomationException
Indicates if the offset should based on the M direction or the digitized direction.

Specified by:
isMDirectionOffsetting in interface IRouteLocation2
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRouteID

public void setRouteID(java.lang.Object rid)
                throws java.io.IOException,
                       AutomationException
The route identifier (string, integer or double).

Specified by:
setRouteID in interface IRouteLocation
Parameters:
rid - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRouteID

public java.lang.Object getRouteID()
                            throws java.io.IOException,
                                   AutomationException
The route identifier (string, integer or double).

Specified by:
getRouteID in interface IRouteLocation
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMeasureUnit

public void setMeasureUnit(int units)
                    throws java.io.IOException,
                           AutomationException
The route location's measure units.

Specified by:
setMeasureUnit in interface IRouteLocation
Parameters:
units - 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.

getMeasureUnit

public int getMeasureUnit()
                   throws java.io.IOException,
                          AutomationException
The route location's measure units.

Specified by:
getMeasureUnit in interface IRouteLocation
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.

setLateralOffset

public void setLateralOffset(double value)
                      throws java.io.IOException,
                             AutomationException
The route location's lateral offset (default 0.0).

Specified by:
setLateralOffset in interface IRouteLocation
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLateralOffset

public double getLateralOffset()
                        throws java.io.IOException,
                               AutomationException
The route location's lateral offset (default 0.0).

Specified by:
getLateralOffset in interface IRouteLocation
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMeasure

public void setMeasure(double value)
                throws java.io.IOException,
                       AutomationException
The measure value.

Specified by:
setMeasure in interface IRouteMeasurePointLocation
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMeasure

public double getMeasure()
                  throws java.io.IOException,
                         AutomationException
The measure value.

Specified by:
getMeasure in interface IRouteMeasurePointLocation
Returns:
The value
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.