|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to members that return information about geometric networks, field weighting and ancillary roles.
Use the INetworkClass interface to get a reference to the geometric network which the network class (feature class) belongs to. You can also check to see if the network class has an Ancillary Role in the network, and the right to field mapping for the logical network.
The INetworkClass interface inherits from the IFeatureClass interface and the ITable interface.
The FeatureType property of such feature classes will be one of esriFTSimpleJunction, esriDTSimpleEdge, esriFTComplexJunction, or esriFTComplexEdge.
You can QI (Query Interface) to any of these other interfaces on the FeatureClass object.
IDataset
IGeoDataset
ITable
INetworkClass
ISubtypes
IValidation
IFeatureClass,
IGeometricNetwork| Method Summary | |
int |
getFieldToWeightMapping(int fieldIndex)
The specified field to Weight mapping for the logical network. |
IGeometricNetwork |
getGeometricNetwork()
The geometric network in which this class participates. |
int |
getNetworkAncillaryRole()
The possible network ancillary roles of the contained Features. |
| Methods inherited from interface com.esri.arcgis.geodatabase.IFeatureClass |
createFeature, createFeatureBuffer, featureCount, getAreaField, getFeature, getFeatureClassID, getFeatureDataset, getFeatures, getFeatureType, getLengthField, getShapeFieldName, getShapeType, IFeatureClass_insert, IFeatureClass_update, search, select |
| Methods inherited from interface com.esri.arcgis.geodatabase.IObjectClass |
getAliasName, getObjectClassID, getRelationshipClasses |
| Methods inherited from interface com.esri.arcgis.geodatabase.IClass |
addField, addIndex, deleteField, deleteIndex, findField, getCLSID, getEXTCLSID, getExtension, getExtensionProperties, getFields, getIndexes, getOIDFieldName, isHasOID |
| Method Detail |
public IGeometricNetwork getGeometricNetwork()
throws java.io.IOException,
AutomationException
The GeomtricNetwork property returns an IGeometricNetwork interface to the geometric network in which the network feature class participates.
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IGeometricNetwork,
INetwork
public int getFieldToWeightMapping(int fieldIndex)
throws java.io.IOException,
AutomationException
The FieldToWeightMapping property will return the index of the network weight to which a field in the network class is mapped in the logical network. You can then use the INetSchema::Weight property to return the INetWeight interface on that particular network weight. If the field has no weight associated with it, FieldToWeightMapping returns a -1.
fieldIndex - The fieldIndex (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IGeometricNetwork,
INetwork,
INetWeight
public int getNetworkAncillaryRole()
throws java.io.IOException,
AutomationException
The NetworkAncillaryRole property will return the esriNetworkAncillaryRole enumeration which indicates if the junction class has a network ancillary role. Since junctions in a geometric network can act as a source, a sink or neither when calculating flow direction, this property will indicate whether or not the features in the class can be sources or sinks. If the class is a simple edge or complex edge network class, the ancillary role will always be returned as esriNCARNone since only junctions may have ancillary roles.
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.IGeometricNetwork,
INetwork
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||