|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INetSchema
Provides access to members that get information about the schema of the network.
INetWeightEdit,
INetWeightAssociation,
INetWeightAssociationEdit,
INetSchemaEdit,
INetSchema,
INetWeight| Method Summary | |
|---|---|
void |
getAncillaryRole(int userClassID,
int[] ancillaryRole,
String[] ancillaryRoleFieldName)
Returns the ancillary role type and the name of the field containing the ancillary role information. |
INetElementClass |
getElementClass(int index)
Element class by index. |
INetElementClass |
getElementClassByUserID(int elementclassUserID)
Element class corresponding to the specified user class ID. |
int |
getElementClassCount()
Number of element classes in the network. |
String |
getEnabledDisabledFieldName(int userClassID)
Returns the name of the filed containing the enabled/disabled information for the specified user class. |
INetWeight |
getWeight(int weightInternalID)
Network weight corresponding to the specified weight internal ID. |
IEnumNetWeightAssociation |
getWeightAssociations(int weightInternalID)
Network weight associations corresponding to the specified weight internal ID. |
IEnumNetWeightAssociation |
getWeightAssociationsByTableName(String tableName)
Network weight associations corresponding to the specified table name. |
INetWeight |
getWeightByName(String weightName)
Network weight corresponding to the specified name. |
int |
getWeightCount()
Number of weights in the network. |
| Method Detail |
|---|
int getElementClassCount()
throws IOException,
AutomationException
ElementClassCount returns a count of all the NetElementClasses represented in the network. Each NetElementClass corresponds to a single object class.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
INetElementClass getElementClass(int index)
throws IOException,
AutomationException
index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
INetElementClass getElementClassByUserID(int elementclassUserID)
throws IOException,
AutomationException
elementclassUserID - The elementclassUserID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
int getWeightCount()
throws IOException,
AutomationException
WeightCount returns a count of all of the weights defined for the network.
The weight being a NetWeight object consisting of a name and type of weight. Multiple NetWeightAssociation objects (consisting of field name and table name) are then associated with a particular weight.
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
INetWeight getWeight(int weightInternalID)
throws IOException,
AutomationException
weightInternalID - The weightInternalID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
INetWeight getWeightByName(String weightName)
throws IOException,
AutomationException
weightName - The weightName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumNetWeightAssociation getWeightAssociations(int weightInternalID)
throws IOException,
AutomationException
weightInternalID - The weightInternalID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumNetWeightAssociation getWeightAssociationsByTableName(String tableName)
throws IOException,
AutomationException
tableName - The tableName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void getAncillaryRole(int userClassID,
int[] ancillaryRole,
String[] ancillaryRoleFieldName)
throws IOException,
AutomationException
GetAncillaryRole returns the AncillaryRole (0 - no role, 1 - source or sink) and field name for the specified object class. The returned field name is an empty string ("") when the anciallyRole is 0 (no role).
Initialize the output parameters as an esriNetworkClassAncillaryRole (ancillaryRole) and a string (ancillaryRoleFieldName).
userClassID - The userClassID (in)ancillaryRole - A com.esri.arcgis.geodatabase.esriNetworkClassAncillaryRole constant (out: use single element array)ancillaryRoleFieldName - The ancillaryRoleFieldName (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String getEnabledDisabledFieldName(int userClassID)
throws IOException,
AutomationException
GetEnabledDisabledFieldName returns the field name in the specified table used to hold the enabled/disabled value for each feature. The enabled/disabled property indicates whether the feature can be traced through or not. A True value (enabled) means you can trace through the feature, while a False value (disabled) means you cannot.
If the specified UserClassID cannot be found, an empty string is returned.
userClassID - The userClassID (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 | ||||||||