com.esri.arcgis.geodatabase
Class INetSchemaProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.INetSchemaProxy
All Implemented Interfaces:
INetSchema, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
INetSchemaEditProxy

public class INetSchemaProxy
extends com.esri.arcgis.interop.Dispatch
implements INetSchema, java.io.Serializable

Internal use class Proxy for COM Interface 'INetSchema'. Generated 3/19/2015 1:20:56 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that get information about the schema of the network.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetSchema
IID, IID5db91dbb_afb4_11d0_9ccd_00805f74d243
 
Constructor Summary
  INetSchemaProxy()
          For internal use only
  INetSchemaProxy(java.lang.Object obj)
           
protected INetSchemaProxy(java.lang.Object obj, java.lang.String iid)
           
  INetSchemaProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected INetSchemaProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void getAncillaryRole(int userClassID, int[] ancillaryRole, java.lang.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.
 java.lang.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(java.lang.String tableName)
          Network weight associations corresponding to the specified table name.
 INetWeight getWeightByName(java.lang.String weightName)
          Network weight corresponding to the specified name.
 int getWeightCount()
          Number of weights in the network.
 void removeListener(java.lang.String iidStr, java.lang.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

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

INetSchemaProxy

public INetSchemaProxy(java.lang.String CLSID,
                       java.lang.String host,
                       com.esri.arcgis.interop.AuthInfo authInfo)
                throws java.net.UnknownHostException,
                       java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

INetSchemaProxy

public INetSchemaProxy()
For internal use only


INetSchemaProxy

public INetSchemaProxy(java.lang.Object obj)
                throws java.io.IOException
Throws:
java.io.IOException

INetSchemaProxy

protected INetSchemaProxy(java.lang.Object obj,
                          java.lang.String iid)
                   throws java.io.IOException
Throws:
java.io.IOException

INetSchemaProxy

protected INetSchemaProxy(java.lang.String CLSID,
                          java.lang.String iid,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getElementClassCount

public int getElementClassCount()
                         throws java.io.IOException,
                                AutomationException
Number of element classes in the network.

Specified by:
getElementClassCount in interface INetSchema
Returns:
The elementClassCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElementClass

public INetElementClass getElementClass(int index)
                                 throws java.io.IOException,
                                        AutomationException
Element class by index.

Specified by:
getElementClass in interface INetSchema
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetElementClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElementClassByUserID

public INetElementClass getElementClassByUserID(int elementclassUserID)
                                         throws java.io.IOException,
                                                AutomationException
Element class corresponding to the specified user class ID.

Specified by:
getElementClassByUserID in interface INetSchema
Parameters:
elementclassUserID - The elementclassUserID (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetElementClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWeightCount

public int getWeightCount()
                   throws java.io.IOException,
                          AutomationException
Number of weights in the network.

Specified by:
getWeightCount in interface INetSchema
Returns:
The weightCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWeight

public INetWeight getWeight(int weightInternalID)
                     throws java.io.IOException,
                            AutomationException
Network weight corresponding to the specified weight internal ID.

Specified by:
getWeight in interface INetSchema
Parameters:
weightInternalID - The weightInternalID (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetWeight
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWeightByName

public INetWeight getWeightByName(java.lang.String weightName)
                           throws java.io.IOException,
                                  AutomationException
Network weight corresponding to the specified name.

Specified by:
getWeightByName in interface INetSchema
Parameters:
weightName - The weightName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetWeight
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWeightAssociations

public IEnumNetWeightAssociation getWeightAssociations(int weightInternalID)
                                                throws java.io.IOException,
                                                       AutomationException
Network weight associations corresponding to the specified weight internal ID.

Specified by:
getWeightAssociations in interface INetSchema
Parameters:
weightInternalID - The weightInternalID (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumNetWeightAssociation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWeightAssociationsByTableName

public IEnumNetWeightAssociation getWeightAssociationsByTableName(java.lang.String tableName)
                                                           throws java.io.IOException,
                                                                  AutomationException
Network weight associations corresponding to the specified table name.

Specified by:
getWeightAssociationsByTableName in interface INetSchema
Parameters:
tableName - The tableName (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumNetWeightAssociation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAncillaryRole

public void getAncillaryRole(int userClassID,
                             int[] ancillaryRole,
                             java.lang.String[] ancillaryRoleFieldName)
                      throws java.io.IOException,
                             AutomationException
Returns the ancillary role type and the name of the field containing the ancillary role information.

Specified by:
getAncillaryRole in interface INetSchema
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEnabledDisabledFieldName

public java.lang.String getEnabledDisabledFieldName(int userClassID)
                                             throws java.io.IOException,
                                                    AutomationException
Returns the name of the filed containing the enabled/disabled information for the specified user class.

Specified by:
getEnabledDisabledFieldName in interface INetSchema
Parameters:
userClassID - The userClassID (in)
Returns:
The enabledDisabledFieldName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.