|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.NetworkAttributeParameter
public class NetworkAttributeParameter
A container for describing a network attribute parameter.
The NetworkAttributeParameter object is used to specify the Name, DefaultValue, and Value of a parameter used by the network attribute. It is accessed using the INetworkAttributeParameter interface.
Constructor Summary | |
---|---|
NetworkAttributeParameter()
Constructs a NetworkAttributeParameter using ArcGIS Engine. |
|
NetworkAttributeParameter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NetworkAttributeParameter theNetworkAttributeParameter = (NetworkAttributeParameter) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
Object |
getDefaultValue()
The default value of the parameter. |
String |
getName()
The name of the parameter. |
Object |
getValue()
The current value of the parameter. |
int |
getVarType()
The VARTYPE of the parameter (e.g. |
int |
hashCode()
the hashcode for this object |
void |
setDefaultValue(Object value)
The default value of the parameter. |
void |
setName(String name)
The name of the parameter. |
void |
setValue(Object value)
The current value of the parameter. |
void |
setVarType(int value)
The VARTYPE of the parameter (e.g. |
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 NetworkAttributeParameter() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic NetworkAttributeParameter(Object obj) throws IOException
NetworkAttributeParameter theNetworkAttributeParameter = (NetworkAttributeParameter) obj;
obj
to NetworkAttributeParameter
.
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
The Name is the name of the parameter. This name must be unique among all of the parameters of a network attribute.
getName
in interface INetworkAttributeParameter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
The Name is the name of the parameter. This name must be unique among all of the parameters of a network attribute.
setName
in interface INetworkAttributeParameter
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getDefaultValue() throws IOException, AutomationException
The DefaultValue property is the parameter value stored in the NetworkDataset that should be be used to initialize the Value property. The variant type of the parameter is based off the DefaultValue's variant type.
getDefaultValue
in interface INetworkAttributeParameter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultValue(Object value) throws IOException, AutomationException
The DefaultValue property is the parameter value stored in the NetworkDataset that should be be used to initialize the Value property. The variant type of the parameter is based off the DefaultValue's variant type.
setDefaultValue
in interface INetworkAttributeParameter
value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getValue() throws IOException, AutomationException
The Value property is the parameter value that should be used by the attribute and evaluators during analysis time. This is the run-time value for the parameter.
getValue
in interface INetworkAttributeParameter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValue(Object value) throws IOException, AutomationException
The Value property is the parameter value that should be used by the attribute and evaluators during analysis time. This is the run-time value for the parameter.
setValue
in interface INetworkAttributeParameter
value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getVarType() throws IOException, AutomationException
getVarType
in interface INetworkAttributeParameter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVarType(int value) throws IOException, AutomationException
setVarType
in interface INetworkAttributeParameter
value
- The value (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 |