|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.location.RouteMeasureLocatorName
public class RouteMeasureLocatorName
Route measure locator name object.
A RouteMeasureLocatorName object identifies a RouteMeasureLocator object.
Constructor Summary | |
---|---|
RouteMeasureLocatorName()
Constructs a RouteMeasureLocatorName using ArcGIS Engine. |
|
RouteMeasureLocatorName(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RouteMeasureLocatorName theRouteMeasureLocatorName = (RouteMeasureLocatorName) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
String |
getCategory()
Category of the locator. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getDescription()
Description of the locator. |
ILocatorWorkspaceName |
getLocatorWorkspaceName()
Name object for the locator workspace that contains the locator. |
String |
getName()
Name of the locator. |
String |
getNameString()
The name string of the object. |
IName |
getRouteFeatureClassName()
The route feature class name (Polyline with M feature class name). |
String |
getRouteIDFieldName()
The route identifier field of the route feature class. |
int |
getRouteMeasureUnit()
The route measure units. |
String |
getRouteWhereClause()
The where clause that limits the routes that events can be located on. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
int |
hashCode()
the hashcode for this object |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
void |
isDirty()
isDirty |
boolean |
isRouteIDIsUnique()
Indicates if the Route ID is unique (Obsolete). |
boolean |
isStyle()
Indicates if this is a locator style. |
void |
load(IStream pstm)
load |
Object |
open()
Opens the object referred to by this name. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
setCategory(String category)
Category of the locator. |
void |
setDescription(String description)
Description of the locator. |
void |
setLocatorWorkspaceNameByRef(ILocatorWorkspaceName locatorWorkspaceName)
Name object for the locator workspace that contains the locator. |
void |
setName(String name)
Name of the locator. |
void |
setNameString(String nameString)
The name string of the object. |
void |
setRouteFeatureClassNameByRef(IName name)
The route feature class name (Polyline with M feature class name). |
void |
setRouteIDFieldName(String routeIDFieldName)
The route identifier field of the route feature class. |
void |
setRouteIDIsUnique(boolean routeIDIsUnique)
Indicates if the Route ID is unique (Obsolete). |
void |
setRouteMeasureUnit(int units)
The route measure units. |
void |
setRouteWhereClause(String whereClause)
The where clause that limits the routes that events can be located on. |
void |
setStyle(boolean isStyle)
Indicates if this is a locator style. |
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public RouteMeasureLocatorName() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RouteMeasureLocatorName(Object obj) throws IOException
RouteMeasureLocatorName theRouteMeasureLocatorName = (RouteMeasureLocatorName) obj;
obj
to RouteMeasureLocatorName
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setNameString(String nameString) throws IOException, AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
setNameString
in interface IName
nameString
- The nameString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNameString() throws IOException, AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
getNameString
in interface IName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object open() throws IOException, AutomationException
The Open method lets you instantiate the actual object given the name object.
Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.
IName pName = pFeatureClassName;
pFeatureClass = new IFeatureClassProxy(pName.open());
open
in interface IName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
The Name property returns the name of the locator or locator style that the LocatorName object represents.
getName
in interface ILocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface ILocatorName
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription() throws IOException, AutomationException
The Description property returns the description of the locator or locator style that the LocatorName object represents.
getDescription
in interface ILocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String description) throws IOException, AutomationException
setDescription
in interface ILocatorName
description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCategory() throws IOException, AutomationException
The Category property returns the category of the locator or locator style represented by the LocatorName object.
By default, address locator styles provided with ArcGIS, and address locators based on those locator styles, have a category of "Address".
getCategory
in interface ILocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocatorWorkspace.getLocatorNames(int, String)
,
ILocatorName.getCategory()
,
ILocatorWorkspace.getLocators(int, String)
public void setCategory(String category) throws IOException, AutomationException
setCategory
in interface ILocatorName
category
- The category (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isStyle() throws IOException, AutomationException
The Style property indicates if the LocatorName object represents a locator style.
isStyle
in interface ILocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setStyle(boolean isStyle) throws IOException, AutomationException
setStyle
in interface ILocatorName
isStyle
- The isStyle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILocatorWorkspaceName getLocatorWorkspaceName() throws IOException, AutomationException
The LocatorWorkspaceName property returns the LocatorWorkspaceName object that represents the locator workspace that contains the locator or locator style represented by the LocatorName object.
getLocatorWorkspaceName
in interface ILocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLocatorWorkspaceNameByRef(ILocatorWorkspaceName locatorWorkspaceName) throws IOException, AutomationException
setLocatorWorkspaceNameByRef
in interface ILocatorName
locatorWorkspaceName
- A reference to a com.esri.arcgis.geodatabase.ILocatorWorkspaceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRouteFeatureClassNameByRef(IName name) throws IOException, AutomationException
setRouteFeatureClassNameByRef
in interface IRouteLocatorName
name
- A reference to a com.esri.arcgis.system.IName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IName getRouteFeatureClassName() throws IOException, AutomationException
getRouteFeatureClassName
in interface IRouteLocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRouteIDFieldName(String routeIDFieldName) throws IOException, AutomationException
setRouteIDFieldName
in interface IRouteLocatorName
routeIDFieldName
- The routeIDFieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRouteIDFieldName() throws IOException, AutomationException
getRouteIDFieldName
in interface IRouteLocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRouteIDIsUnique(boolean routeIDIsUnique) throws IOException, AutomationException
setRouteIDIsUnique
in interface IRouteLocatorName
routeIDIsUnique
- The routeIDIsUnique (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isRouteIDIsUnique() throws IOException, AutomationException
isRouteIDIsUnique
in interface IRouteLocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRouteMeasureUnit(int units) throws IOException, AutomationException
setRouteMeasureUnit
in interface IRouteLocatorName
units
- A com.esri.arcgis.system.esriUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getRouteMeasureUnit() throws IOException, AutomationException
getRouteMeasureUnit
in interface IRouteLocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setRouteWhereClause(String whereClause) throws IOException, AutomationException
setRouteWhereClause
in interface IRouteLocatorName
whereClause
- The whereClause (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRouteWhereClause() throws IOException, AutomationException
getRouteWhereClause
in interface IRouteLocatorName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |