|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INetSchemaEdit
Provides access to members that modify the schema of the network.
INetWeightEdit
,
INetWeightAssociation
,
INetWeightAssociationEdit
,
INetSchemaEdit
,
INetSchema
,
INetWeight
Method Summary | |
---|---|
INetElementClass |
addElementClass(int userClassID)
Adds a new element class to the network. |
void |
addWeight(INetWeight networkWeight)
Adds a new weight to the network. |
void |
addWeightAssociation(INetWeightAssociation weightSource)
Adds a new weight association to the network. |
void |
putAncillaryRole(int userClassID,
int ancillaryRole,
String ancillaryRoleFieldName)
Sets the ancillary role type and the name of the field containing the ancillary role information for the specified user class. |
void |
putEnabledDisabledFieldName(int userClassID,
String enabledDisabledRoleFieldName)
Sets the name of the field containing the enabled/disabled information for the specified user class. |
Methods inherited from interface com.esri.arcgis.geodatabase.INetSchema |
---|
getAncillaryRole, getElementClass, getElementClassByUserID, getElementClassCount, getEnabledDisabledFieldName, getWeight, getWeightAssociations, getWeightAssociationsByTableName, getWeightByName, getWeightCount |
Method Detail |
---|
INetElementClass addElementClass(int userClassID) throws IOException, AutomationException
AddElementClass adds a new element class to the network. Use this method only to add a new class to a newly created stand-alone logical network that does not have any topology.
userClassID
- The userClassID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addWeight(INetWeight networkWeight) throws IOException, AutomationException
AddWeight will add a new weight to the network. A weight is used to qualify traces through the features in a network. Add a weight to your network when you want tracing to be based on attributes values of the features in the network.
Only use this method to add a weight to a newly created stand-alone logical network that does not have any topology.
networkWeight
- A reference to a com.esri.arcgis.geodatabase.INetWeight (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addWeightAssociation(INetWeightAssociation weightSource) throws IOException, AutomationException
AddWeightAssocation is used to add a new weight association to a weight already defined on the network. A weight is defined by its name, type, and set of weight associations. The weight associations define the table name and field name that participate in the weight. Multiple table name and field name combinations (weight associations) can participate within a single weight.
Only use this method on newly created stand-alone logical networks that do not have any topology.
weightSource
- A reference to a com.esri.arcgis.geodatabase.INetWeightAssociation (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void putAncillaryRole(int userClassID, int ancillaryRole, String ancillaryRoleFieldName) throws IOException, AutomationException
PutAncillaryRole adds a new ancillary role description to the network. An ancillary role is a source of sink for the network. In order to have sources and sinks in your network, you need to define the user class that will contain the features, and the field name that will specify whether the feature is a source, sink, or neither. PutAncillaryRole applies this definition to the network.
Only use this method on newly created stand-alone logical networks that do not have any topology.
userClassID
- The userClassID (in)ancillaryRole
- A com.esri.arcgis.geodatabase.esriNetworkClassAncillaryRole constant (in)ancillaryRoleFieldName
- The ancillaryRoleFieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void putEnabledDisabledFieldName(int userClassID, String enabledDisabledRoleFieldName) throws IOException, AutomationException
PutEnabledDisabledFieldName will define the field name within the specified user class to use for tracking whether a feature is enabled or disabled. Enabled or disabled refers to the ability or inability to trace through a feature.
Only use this method on newly created stand-alone logical networks that do not have any topology.
userClassID
- The userClassID (in)enabledDisabledRoleFieldName
- The enabledDisabledRoleFieldName (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 |