com.esri.arcgis.geodatabase
Interface ICodedValueDomain

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ICodedValueDomain2
All Known Implementing Classes:
CodedValueDomain, ICodedValueDomain2Proxy, ICodedValueDomainProxy

public interface ICodedValueDomain
extends java.io.Serializable

COM Interface 'ICodedValueDomain'. Generated 3/19/2015 1:20:56 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description: 'Provides access to members that return and modify coded value domain values.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDfcb6bf33_475d_11d2_9932_0000f80372b4
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addCode(java.lang.Object value, java.lang.String name)
          Adds a (value, name) code.
 void deleteCode(java.lang.Object value)
          Deletes a code with the specified value.
 int getCodeCount()
          The number of codes for the associated attribute.
 java.lang.String getName(int index)
          The code name for the specified code index.
 java.lang.Object getValue(int index)
          The value for the specified code index.
 

Field Detail

IIDfcb6bf33_475d_11d2_9932_0000f80372b4

static final int IIDfcb6bf33_475d_11d2_9932_0000f80372b4
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getCodeCount

int getCodeCount()
                 throws java.io.IOException,
                        AutomationException
The number of codes for the associated attribute.

Returns:
The values
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

java.lang.String getName(int index)
                         throws java.io.IOException,
                                AutomationException
The code name for the specified code index.

Parameters:
index - The index (in)
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

java.lang.Object getValue(int index)
                          throws java.io.IOException,
                                 AutomationException
The value for the specified code index.

Parameters:
index - The index (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addCode

void addCode(java.lang.Object value,
             java.lang.String name)
             throws java.io.IOException,
                    AutomationException
Adds a (value, name) code.

Parameters:
value - A Variant (in)
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteCode

void deleteCode(java.lang.Object value)
                throws java.io.IOException,
                       AutomationException
Deletes a code with the specified value.

Parameters:
value - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.