com.esri.arcgis.geoprocessing
Class GPCodedValueDomainProperty

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.GPCodedValueDomainProperty
All Implemented Interfaces:
IGPCodedValueDomainProperty, com.esri.arcgis.interop.RemoteObjRef, IXMLSerialize, Serializable

public class GPCodedValueDomainProperty
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGPCodedValueDomainProperty, IXMLSerialize

Geoprocessing Coded Value Domain Property.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
GPCodedValueDomainProperty()
          Constructs a GPCodedValueDomainProperty using ArcGIS Engine.
GPCodedValueDomainProperty(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GPCodedValueDomainProperty theGPCodedValueDomainProperty = (GPCodedValueDomainProperty) obj;
 
Method Summary
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 String getName()
          CodedValue Domain Property Name.
 IGPValue getValue()
          CodedValue Domain Property Value.
 int hashCode()
          the hashcode for this object
 void serialize(IXMLSerializeData data)
          Serializes an object to XML.
 void setName(String name)
          CodedValue Domain Property Name.
 void setValueByRef(IGPValue value)
          CodedValue Domain Property Value.
 
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

GPCodedValueDomainProperty

public GPCodedValueDomainProperty()
                           throws IOException,
                                  UnknownHostException
Constructs a GPCodedValueDomainProperty using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

GPCodedValueDomainProperty

public GPCodedValueDomainProperty(Object obj)
                           throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GPCodedValueDomainProperty theGPCodedValueDomainProperty = (GPCodedValueDomainProperty) obj;

Construct a GPCodedValueDomainProperty using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GPCodedValueDomainProperty.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getName

public String getName()
               throws IOException,
                      AutomationException
CodedValue Domain Property Name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getName in interface IGPCodedValueDomainProperty
Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(String name)
             throws IOException,
                    AutomationException
CodedValue Domain Property Name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
setName in interface IGPCodedValueDomainProperty
Parameters:
name - The name (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

public IGPValue getValue()
                  throws IOException,
                         AutomationException
CodedValue Domain Property Value.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows

Specified by:
getValue in interface IGPCodedValueDomainProperty
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPValue
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValueByRef

public void setValueByRef(IGPValue value)
                   throws IOException,
                          AutomationException
CodedValue Domain Property Value.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setValueByRef in interface IGPCodedValueDomainProperty
Parameters:
value - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serialize

public void serialize(IXMLSerializeData data)
               throws IOException,
                      AutomationException
Serializes an object to XML.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
serialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deserialize

public void deserialize(IXMLSerializeData data)
                 throws IOException,
                        AutomationException
Deserializes an object from XML.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
deserialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.