com.esri.arcgis.geodatabase
Interface IGPCodedValueDomain

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
GPCodedValueDomain, IGPCodedValueDomainProxy

public interface IGPCodedValueDomain
extends java.io.Serializable

COM Interface 'IGPCodedValueDomain'. Generated 3/19/2015 1:20:54 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 IID41dc44a0_d2eb_11d5_933f_0080c71a3226
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addCode(IGPValue value, java.lang.String name)
          Adds a (value, name) code.
 void addStringCode(java.lang.String value, java.lang.String name)
          Adds a (value, name) code.
 void deleteCode(IGPValue value)
          Deletes a code with the specified value.
 void empty()
          Deletes all the codes.
 java.lang.String findName(IGPValue value)
          Provides the name for the specified value.
 IGPValue findValue(java.lang.String name)
          Provides the value object for the specified code.
 int getCodeCount()
          The number of codes for the associated attribute.
 java.lang.String getName(int index)
          The code name for the specified code index.
 IGPValue getValue(int index)
          The value object for the specified code index.
 void populateDomain(java.lang.String values, java.lang.String names, IGPDataType gPDataType)
          Populate the domain codes.
 

Field Detail

IID41dc44a0_d2eb_11d5_933f_0080c71a3226

static final int IID41dc44a0_d2eb_11d5_933f_0080c71a3226
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

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

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findValue

IGPValue findValue(java.lang.String name)
                   throws java.io.IOException,
                          AutomationException
Provides the value object for the specified code.

Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addCode

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

Parameters:
value - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addStringCode

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

Parameters:
value - The value (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(IGPValue value)
                throws java.io.IOException,
                       AutomationException
Deletes a code with the specified value.

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

empty

void empty()
           throws java.io.IOException,
                  AutomationException
Deletes all the codes.

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

populateDomain

void populateDomain(java.lang.String values,
                    java.lang.String names,
                    IGPDataType gPDataType)
                    throws java.io.IOException,
                           AutomationException
Populate the domain codes.

Parameters:
values - The values (in)
names - The names (in)
gPDataType - A reference to a com.esri.arcgis.geodatabase.IGPDataType (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findName

java.lang.String findName(IGPValue value)
                          throws java.io.IOException,
                                 AutomationException
Provides the name for the specified value.

Parameters:
value - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.