|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesfile.SDCNetworkAttribute
public class SDCNetworkAttribute
A container for describing a SDC network dataset attribute.
Constructor Summary | |
---|---|
SDCNetworkAttribute()
Constructs a SDCNetworkAttribute using ArcGIS Engine. |
|
SDCNetworkAttribute(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. SDCNetworkAttribute theSDCNetworkAttribute = (SDCNetworkAttribute) obj; |
Method Summary | |
---|---|
Object |
describe(String name)
The description of the named object. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getDataType()
Type of data used in this network attribute. |
int |
getID()
Unique identifier of this network attribute. |
String |
getName()
Name of this network attribute. |
int |
getUnits()
Units of this network attribute. |
int |
getUsageType()
Usage type of this network attribute. |
int |
hashCode()
the hashcode for this object |
void |
setDataType(int dataType)
Type of data used in this network attribute. |
void |
setName(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, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public SDCNetworkAttribute() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic SDCNetworkAttribute(Object obj) throws IOException
SDCNetworkAttribute theSDCNetworkAttribute = (SDCNetworkAttribute) obj;
obj
to SDCNetworkAttribute
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
getName
in interface INetworkAttribute
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String attributeName) throws IOException, AutomationException
setName
in interface INetworkAttribute
attributeName
- The attributeName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getID() throws IOException, AutomationException
getID
in interface INetworkAttribute
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDataType() throws IOException, AutomationException
The 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 INetworkAttribute
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDataType(int dataType) throws IOException, AutomationException
setDataType
in interface INetworkAttribute
dataType
- A com.esri.arcgis.geodatabase.esriNetworkAttributeDataType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUsageType() throws IOException, AutomationException
The 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 INetworkAttribute
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUsageType(int usageType) throws IOException, AutomationException
setUsageType
in interface INetworkAttribute
usageType
- A com.esri.arcgis.geodatabase.esriNetworkAttributeUsageType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getUnits() throws IOException, AutomationException
If the attribute is not measured in units of distance or time, specify the Units as esriNAUUnknown.
getUnits
in interface INetworkAttribute
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUnits(int units) throws IOException, AutomationException
setUnits
in interface INetworkAttribute
units
- A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object describe(String name) throws IOException, AutomationException
describe
in interface IGPDescribe
name
- The name (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 |