com.esri.arcgis.geodatabase
Interface ISubtypes

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
FeatureClass, ISubtypesProxy, ObjectClass, RouteEventSource, SchematicDiagramClass, SchematicElementClass, SchematicInMemoryFeatureClass, TemporalRecordSet, XYEventSource

public interface ISubtypes
extends java.io.Serializable

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

Description: 'Provides access to members that return and modify subtype information.' 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 IIDaef78514_848f_11d2_aaba_00c04fa37b82
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void addSubtype(int subtypeCode, java.lang.String subtypeName)
          Adds the subtype to the set of associated subtypes.
 void deleteSubtype(int subtypeCode)
          Deletes the subtype from the set of associated subtypes.
 int getDefaultSubtypeCode()
          The default subtype associated with the class.
 java.lang.Object getDefaultValue(int subtypeCode, java.lang.String fieldName)
          The default value for the associated attribute.
 IDomain getDomain(int subtypeCode, java.lang.String fieldName)
          The domain given the subtype and field.
 int getSubtypeFieldIndex()
          The subtype field index.
 java.lang.String getSubtypeFieldName()
          The subtype field name.
 java.lang.String getSubtypeName(int subtypeCode)
          The subtype name.
 IEnumSubtype getSubtypes()
          The subtypes associated with the class.
 boolean isHasSubtype()
          Indicates if the table has subtypes.
 void setDefaultSubtypeCode(int subtypeCode)
          The default subtype associated with the class.
 void setDefaultValue(int subtypeCode, java.lang.String fieldName, java.lang.Object value)
          The default value for the associated attribute.
 void setDomainByRef(int subtypeCode, java.lang.String fieldName, IDomain domain)
          The domain given the subtype and field.
 void setSubtypeFieldName(java.lang.String fieldName)
          The subtype field name.
 

Field Detail

IIDaef78514_848f_11d2_aaba_00c04fa37b82

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

isHasSubtype

boolean isHasSubtype()
                     throws java.io.IOException,
                            AutomationException
Indicates if the table has subtypes.

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

getDefaultSubtypeCode

int getDefaultSubtypeCode()
                          throws java.io.IOException,
                                 AutomationException
The default subtype associated with the class.

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

setDefaultSubtypeCode

void setDefaultSubtypeCode(int subtypeCode)
                           throws java.io.IOException,
                                  AutomationException
The default subtype associated with the class.

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

getDefaultValue

java.lang.Object getDefaultValue(int subtypeCode,
                                 java.lang.String fieldName)
                                 throws java.io.IOException,
                                        AutomationException
The default value for the associated attribute.

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

setDefaultValue

void setDefaultValue(int subtypeCode,
                     java.lang.String fieldName,
                     java.lang.Object value)
                     throws java.io.IOException,
                            AutomationException
The default value for the associated attribute.

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

getDomain

IDomain getDomain(int subtypeCode,
                  java.lang.String fieldName)
                  throws java.io.IOException,
                         AutomationException
The domain given the subtype and field.

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

setDomainByRef

void setDomainByRef(int subtypeCode,
                    java.lang.String fieldName,
                    IDomain domain)
                    throws java.io.IOException,
                           AutomationException
The domain given the subtype and field.

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

getSubtypeFieldName

java.lang.String getSubtypeFieldName()
                                     throws java.io.IOException,
                                            AutomationException
The subtype field name.

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

setSubtypeFieldName

void setSubtypeFieldName(java.lang.String fieldName)
                         throws java.io.IOException,
                                AutomationException
The subtype field name.

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

getSubtypeFieldIndex

int getSubtypeFieldIndex()
                         throws java.io.IOException,
                                AutomationException
The subtype field index.

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

getSubtypeName

java.lang.String getSubtypeName(int subtypeCode)
                                throws java.io.IOException,
                                       AutomationException
The subtype name.

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

getSubtypes

IEnumSubtype getSubtypes()
                         throws java.io.IOException,
                                AutomationException
The subtypes associated with the class.

Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumSubtype
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addSubtype

void addSubtype(int subtypeCode,
                java.lang.String subtypeName)
                throws java.io.IOException,
                       AutomationException
Adds the subtype to the set of associated subtypes.

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

deleteSubtype

void deleteSubtype(int subtypeCode)
                   throws java.io.IOException,
                          AutomationException
Deletes the subtype from the set of associated subtypes.

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