|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.INetSchemaProxy com.esri.arcgis.geodatabase.INetSchemaEditProxy
public class INetSchemaEditProxy
Provides access to members that modify the schema of the network.
INetWeightEdit
,
INetWeightAssociation
,
INetWeightAssociationEdit
,
INetSchemaEdit
,
INetSchema
,
INetWeight
,
Serialized FormField Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
INetSchemaEditProxy()
|
|
INetSchemaEditProxy(Object obj)
|
protected |
INetSchemaEditProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
INetElementClass |
addElementClass(int userClassID)
Adds a new element class to the network. |
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.geodatabase.INetSchemaProxy |
---|
getAncillaryRole, getElementClass, getElementClassByUserID, getElementClassCount, getEnabledDisabledFieldName, getWeight, getWeightAssociations, getWeightAssociationsByTableName, getWeightByName, getWeightCount |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.geodatabase.INetSchema |
---|
getAncillaryRole, getElementClass, getElementClassByUserID, getElementClassCount, getEnabledDisabledFieldName, getWeight, getWeightAssociations, getWeightAssociationsByTableName, getWeightByName, getWeightCount |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public INetSchemaEditProxy()
public INetSchemaEditProxy(Object obj) throws IOException
IOException
protected INetSchemaEditProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class INetSchemaProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class INetSchemaProxy
IOException
public 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.
addElementClass
in interface INetSchemaEdit
userClassID
- The userClassID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
addWeight
in interface INetSchemaEdit
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.public 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.
addWeightAssociation
in interface INetSchemaEdit
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.public 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.
putAncillaryRole
in interface INetSchemaEdit
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.public 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.
putEnabledDisabledFieldName
in interface INetSchemaEdit
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 |