|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.networkanalysis.EIDHelper
public class EIDHelper
A container for getting the features and/or geometries from an enumeration of element IDs.
Constructor Summary | |
---|---|
EIDHelper()
Constructs a EIDHelper using ArcGIS Engine. |
|
EIDHelper(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. EIDHelper theEIDHelper = (EIDHelper) obj; |
Method Summary | |
---|---|
void |
addField(String field)
Adds a field to the list of fields to return with the feature. |
void |
clearFields()
Clears the list of fields to return with the feature. |
IEnumEIDInfo |
createEnumEIDInfo(IEnumNetEID netEIDs)
Creates an enumeration of EIDInfo objects based on the specified EIDs and parameters on this EIDHelper object. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
setDisplayEnvelopeByRef(IEnvelope rhs1)
Envelope in which valid geometries and features must reside to be returned in the EnumEIDInfo object. |
void |
setGeometricNetworkByRef(IGeometricNetwork rhs1)
Geometric network from which these element IDs come. |
void |
setOutputSpatialReferenceByRef(ISpatialReference rhs1)
Spatial reference the returned geometries should be in. |
void |
setPartialComplexEdgeGeometry(boolean rhs1)
Indicates if the EIDs representing partial complex edges return the geometry of the partial complex edge. |
void |
setReturnFeatures(boolean rhs1)
Indicates if the created IEIDInfo enumeration should contain features. |
void |
setReturnGeometries(boolean rhs1)
Indicates if the created EIDInfo enumeration should contain geometries. |
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 EIDHelper() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic EIDHelper(Object obj) throws IOException
EIDHelper theEIDHelper = (EIDHelper) obj;
obj
to EIDHelper
.
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 setGeometricNetworkByRef(IGeometricNetwork rhs1) throws IOException, AutomationException
setGeometricNetworkByRef
in interface IEIDHelper
rhs1
- A reference to a com.esri.arcgis.geodatabase.IGeometricNetwork (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addField(String field) throws IOException, AutomationException
Feature objects returned by this EIDHelper object are meant only for querying attribute values from the features and not for editing the features. These feature objects will only contain those fields specified using AddField. For optimization purposes, if no calls are made to AddField before calling CreateEnumEIDInfo, the feature objects returned will only contain the OID and Shape fields.
addField
in interface IEIDHelper
field
- The field (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void clearFields() throws IOException, AutomationException
clearFields
in interface IEIDHelper
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnGeometries(boolean rhs1) throws IOException, AutomationException
setReturnGeometries
in interface IEIDHelper
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setReturnFeatures(boolean rhs1) throws IOException, AutomationException
Feature objects returned by this EIDHelper object are meant only for querying attribute values from the features and not for editing the features. These feature objects will only contain those fields specified using AddField. For optimization purposes, if no calls are made to AddField before calling CreateEnumEIDInfo, the feature objects returned will only contain the OID and Shape fields.
setReturnFeatures
in interface IEIDHelper
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutputSpatialReferenceByRef(ISpatialReference rhs1) throws IOException, AutomationException
If the OutputSpatialReference property is set to Nothing, then each geometry is returned in the spatial reference of the corresponding source feature class.
setOutputSpatialReferenceByRef
in interface IEIDHelper
rhs1
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPartialComplexEdgeGeometry(boolean rhs1) throws IOException, AutomationException
setPartialComplexEdgeGeometry
in interface IEIDHelper
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumEIDInfo createEnumEIDInfo(IEnumNetEID netEIDs) throws IOException, AutomationException
createEnumEIDInfo
in interface IEIDHelper
netEIDs
- A reference to a com.esri.arcgis.geodatabase.IEnumNetEID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplayEnvelopeByRef(IEnvelope rhs1) throws IOException, AutomationException
If the DisplayEnvelope property is set to null, then all features and/or geometries corresponding to the EIDs are returned, regardless of their spatial position.
If a DisplayEnvelope is specified, then only those features and geometries that intersect the specified envelope will be populated in the enumeration. Note that there will still be an EIDInfo object returned for every element in the network, but the Feature and Geometry properties on the IEIDInfo interface will return null for those elements that lie outside of the envelope.
setDisplayEnvelopeByRef
in interface IEIDHelper
rhs1
- A reference to a com.esri.arcgis.geometry.IEnvelope (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |