|
|||||||||
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
public class INetSchemaProxy
Provides access to members that get information about 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 | |
---|---|
|
INetSchemaProxy()
|
|
INetSchemaProxy(Object obj)
|
protected |
INetSchemaProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
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. |
void |
removeListener(String iidStr,
Object theListener)
|
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 |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public INetSchemaProxy()
public INetSchemaProxy(Object obj) throws IOException
IOException
protected INetSchemaProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public 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.
getElementClassCount
in interface INetSchema
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INetElementClass getElementClass(int index) throws IOException, AutomationException
getElementClass
in interface INetSchema
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INetElementClass getElementClassByUserID(int elementclassUserID) throws IOException, AutomationException
getElementClassByUserID
in interface INetSchema
elementclassUserID
- The elementclassUserID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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.
getWeightCount
in interface INetSchema
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INetWeight getWeight(int weightInternalID) throws IOException, AutomationException
getWeight
in interface INetSchema
weightInternalID
- The weightInternalID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public INetWeight getWeightByName(String weightName) throws IOException, AutomationException
getWeightByName
in interface INetSchema
weightName
- The weightName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumNetWeightAssociation getWeightAssociations(int weightInternalID) throws IOException, AutomationException
getWeightAssociations
in interface INetSchema
weightInternalID
- The weightInternalID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumNetWeightAssociation getWeightAssociationsByTableName(String tableName) throws IOException, AutomationException
getWeightAssociationsByTableName
in interface INetSchema
tableName
- The tableName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public 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).
getAncillaryRole
in interface INetSchema
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.public 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.
getEnabledDisabledFieldName
in interface INetSchema
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 |