|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.interop.Dispatch
com.esri.arcgis.geodatabase.INetworkAttributeProxy
Provides access to members that specify the properties of an attribute in a network dataset.
| Field Summary | |
static java.lang.Class |
targetClass
|
| Fields inherited from class com.esri.arcgis.interop.Dispatch |
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF |
| Constructor Summary | |
|
INetworkAttributeProxy()
For internal use only |
|
INetworkAttributeProxy(java.lang.Object obj)
|
protected |
INetworkAttributeProxy(java.lang.Object obj,
java.lang.String iid)
|
|
INetworkAttributeProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
|
protected |
INetworkAttributeProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
|
| Method Summary | |
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Adds a Java object to be a listener for a specific kind of event generated by the COM object. |
int |
getDataType()
Type of data used in this network attribute. |
int |
getID()
Unique identifier of this network attribute. |
java.lang.String |
getName()
Name of this network attribute. |
int |
getUnits()
Units of this network attribute. |
int |
getUsageType()
Usage type of this network attribute. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Removes a Java object as a listener to events generated by a COM object. |
void |
setDataType(int dataType)
Type of data used in this network attribute. |
void |
setName(java.lang.String attributeName)
Name of this network attribute. |
void |
setUnits(int units)
Units of this network attribute. |
void |
setUsageType(int usageType)
Usage type of this network attribute. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.Class targetClass
| Constructor Detail |
public INetworkAttributeProxy(java.lang.String CLSID,
java.lang.String host,
AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
public INetworkAttributeProxy()
public INetworkAttributeProxy(java.lang.Object obj)
throws java.io.IOException
protected INetworkAttributeProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
protected INetworkAttributeProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
AuthInfo authInfo)
throws java.io.IOException
| Method Detail |
public void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
Dispatch
addListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the events
java.io.IOException
public void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
Dispatch
removeListener in class DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the events
java.io.IOException
public java.lang.String getName()
throws java.io.IOException,
AutomationException
INetworkAttribute
getName in interface INetworkAttributejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(java.lang.String attributeName)
throws java.io.IOException,
AutomationException
INetworkAttribute
setName in interface INetworkAttributeattributeName - The attributeName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getID()
throws java.io.IOException,
AutomationException
INetworkAttribute
getID in interface INetworkAttributejava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDataType()
throws java.io.IOException,
AutomationException
INetworkAttributeThe DataType for the network attribute can be either Integer, Float, Double, or Boolean.
Depending on the UsageType for the network attribute, only certain DataTypes are allowed:
| UsageType: | Allowed DataTypes: |
| esriNAUTCost | esriNADTInteger, esriNADTFloat, esriNADTDouble |
| esriNAUTDescriptor | esriNADTInteger, esriNADTFloat, esriNADTDouble, esriNADTBoolean |
| esriNAUTRestriction | esriNADTBoolean |
| esriNAUTHierarchy | esriNADTInteger |
getDataType in interface INetworkAttributeAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setDataType(int dataType)
throws java.io.IOException,
AutomationException
INetworkAttribute
setDataType in interface INetworkAttributedataType - A com.esri.arcgis.geodatabase.esriNetworkAttributeDataType constant (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getUsageType()
throws java.io.IOException,
AutomationException
INetworkAttributeThe UsageType for the network attribute can be either Cost, Descriptor, Restriction, or Hierarchy.
Depending on the UsageType for the network attribute, only certain DataTypes are allowed:
| UsageType: | Allowed DataTypes: |
| esriNAUTCost | esriNADTInteger, esriNADTFloat, esriNADTDouble |
| esriNAUTDescriptor | esriNADTInteger, esriNADTFloat, esriNADTDouble, esriNADTBoolean |
| esriNAUTRestriction | esriNADTBoolean |
| esriNAUTHierarchy | esriNADTInteger |
getUsageType in interface INetworkAttributeAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setUsageType(int usageType)
throws java.io.IOException,
AutomationException
INetworkAttribute
setUsageType in interface INetworkAttributeusageType - A com.esri.arcgis.geodatabase.esriNetworkAttributeUsageType constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getUnits()
throws java.io.IOException,
AutomationException
INetworkAttributeIf the attribute is not measured in units of distance or time, specify the Units as esriNAUUnknown.
getUnits in interface INetworkAttributeAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setUnits(int units)
throws java.io.IOException,
AutomationException
INetworkAttribute
setUnits in interface INetworkAttributeunits - A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
java.io.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 | |||||||||