|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INetAttributesEdit
Provides access to members that modify the disabled state and weight values of individual elements in the network.
You should only directly manipulate the value of a weight in a stand-alone logical network.
INetAttributesEdit
,
INetAttributes
Method Summary | |
---|---|
void |
setDisabledState(int eID,
int elementType,
boolean disableState)
Sets the disabled state of the specified network element. |
void |
setWeightValue(int eID,
int elementType,
int weightInternalID,
Object weightValue)
Sets the weight value of the specified network element for the specified weight. |
Methods inherited from interface com.esri.arcgis.geodatabase.INetAttributes |
---|
getDisabledState, getWeightValue |
Method Detail |
---|
void setDisabledState(int eID, int elementType, boolean disableState) throws IOException, AutomationException
Only use this method on stand-alone logical networks. For geometric networks, use IRowBuffer::Value and IRow::Store to modify the value of the feature attribute.
eID
- The eID (in)elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)disableState
- The disableState (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setWeightValue(int eID, int elementType, int weightInternalID, Object weightValue) throws IOException, AutomationException
SetWeightValue will update the attribute value defined by the specified weight for the specified element. Use this method when you want to change the attribute setting a weight will use during tracing routines.
Only use this method on stand-alone logical networks. For geometric networks, use IRowBuffer::Value and IRow::Store to modify the value of the feature attribute.
eID
- The eID (in)elementType
- A com.esri.arcgis.geodatabase.esriElementType constant (in)weightInternalID
- The weightInternalID (in)weightValue
- A Variant (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 |