public class FeatureClass extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IDataset, IDatasetEdit, IDatasetEditInfo, IDatasetAnalyze, ISchemaLock, IClass, ITable, IObjectClass, IClassSchemaEdit, IClassSchemaEdit2, IModelInfo, ISubtypes, IValidation, IValidation2, IObjectClassInfo, IObjectClassInfo2, IFeatureClass, IGeoDataset, IFeatureClassWrite, IFeatureClassLoad, ITableCapabilities, IFeatureClassManage
Description 'Esri Feature Class object.' 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 =
IID, IID2d04c042_7766_11d0_b77d_00805f7ced21, xxDummyIID, IID448c5d21_9746_11d1_89e2_006097aff44e, xxDummyIID, IID234c31c1_9740_11d1_89e2_006097aff44e, xxDummyIID, IID60262917_d53f_4e0b_86ff_a916c3fb26bc, xxDummyIID, IIDdca648e5_0fbb_11d3_80a5_00c04f686238, xxDummyIID, IIDfcb01cb5_9f0b_11d0_bec7_00805f7c4268, xxDummyIID, IID62f1f470_e991_11d3_80d3_00c04f601565, xxDummyIID64654191_e2e8_11d2_8a56_000000000000IID, IID2d660904_1dbd_11d3_9f87_00c04f6bdd84, xxDummyIID, IIDaef78514_848f_11d2_aaba_00c04fa37b82, xxDummyIID, IID48469230_851c_11d4_a0c9_00c04f6bdd84, xxDummyIIDd410a9ba_475a_11d2_9932_0000f80372b4IID, IIDd4803ee6_79f4_11d0_97fc_0080c7f79481, xxDummyIID1afcdb31_ac09_11d2_8a1e_006097aff44eIID1afcdb32_ac09_11d2_8a1e_006097aff44eIID, IIDb3e3a101_c50c_11d1_8876_0000f877762d, xxDummyIID, IIDc3bff943_e069_11d1_aa82_00c04fa37585, xxDummyIID, IID8b0338b9_3b3d_11d4_9fbb_00c04f6bdf0c, xxDummyIID, IID0fb7a29c_11aa_406b_8096_26ac8ea27ba6, xxDummy| Constructor and Description |
|---|
FeatureClass(java.lang.Object obj)
Construct a FeatureClass using a reference to such an object returned from ArcGIS Engine or Server.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addField(IField field)
Adds a field to this object class.
|
void |
addIndex(IIndex index)
Adds an index to this object class.
|
void |
addRule(IRule rule)
Adds the rule to the set of associated rules.
|
void |
addSubtype(int subtypeCode,
java.lang.String subtypeName)
Adds the subtype to the set of associated subtypes.
|
void |
alterAliasName(java.lang.String name)
The alias name of the object class.
|
void |
alterClassExtensionCLSID(IUID classExtensionCLSID,
IPropertySet classExtensionProperties)
Changes the class extension COM class associated with this database class.
|
void |
alterClassExtensionProperties(IPropertySet classExtensionProperties)
Changes the class extension properties associated with this object class.
|
void |
alterDefaultValue(java.lang.String fieldName,
java.lang.Object value)
The default value of the object class field.
|
void |
alterDomain(java.lang.String fieldName,
IDomain domain)
The default domain of the object class field.
|
void |
alterFieldAliasName(java.lang.String fieldName,
java.lang.String aliasName)
The alias name of the object class field.
|
void |
alterFieldModelName(java.lang.String fieldName,
java.lang.String modelName)
The model name of the object class field.
|
void |
alterInstanceCLSID(IUID instanceCLSID)
Changes the instance COM class associated with this database class.
|
void |
alterModelName(java.lang.String name)
The model name of the object class.
|
void |
alterRule(IRule rule)
Alter the existing validation rule.
|
void |
analyze(int tableComponents)
Analyze the data to update/generate DBMS statistics.
|
boolean |
canBypassEditSession()
Indicates if updates to objects can be safely made outside of an edit session.
|
boolean |
canBypassStoreMethod()
Indicates if updates to objects can bypass the Store method and OnChange notifications for efficiency.
|
boolean |
canCopy()
True if this dataset can be copied.
|
boolean |
canDelete()
True if this dataset can be deleted.
|
boolean |
canRename()
True if this dataset can be renamed.
|
void |
changeSchemaLock(int schemaLock)
Changes a schema lock.
|
IDataset |
copy(java.lang.String copyName,
IWorkspace copyWorkspace)
Copies this dataset to a new dataset with the specified name.
|
IFeature |
createFeature()
Create a new feature, with a system assigned object ID and null property values.
|
IFeatureBuffer |
createFeatureBuffer()
Create a feature buffer that can be used with an insert cursor.
|
IRow |
createRow()
Creates a row in the database with a system assigned object ID and null property values.
|
IRowBuffer |
createRowBuffer()
Creates a row buffer that can be used with an insert cursor.
|
void |
delete()
Deletes this dataset.
|
void |
deleteField(IField field)
Deletes a field from this object class.
|
void |
deleteIndex(IIndex index)
Deletes an index from this object class.
|
void |
deleteRule(IRule rule)
Deletes the rule from the set of associated rules.
|
void |
deleteSearchedRows(IQueryFilter queryFilter)
Delete the Rows in the database selected by the specified query.
|
void |
deleteSubtype(int subtypeCode)
Deletes the subtype from the set of associated subtypes.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
long |
featureCount(IQueryFilter queryFilter)
The number of features selected by the specified query.
|
int |
findField(java.lang.String name)
The index of the field with the specified name.
|
java.lang.String |
getAliasName()
The alias name of the object class.
|
int |
getAllowableComponents()
The allowable components to be analyzed.
|
IField |
getAreaField()
The geometry area field.
|
java.lang.String |
getBrowseName()
The browse name of the dataset.
|
java.lang.String |
getCategory()
The category of the dataset.
|
IUID |
getCLSID()
The GUID for the COM Class (CoClass) corresponding to instances of this object class.
|
void |
getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo)
The list of current locks.
|
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.
|
IUID |
getEXTCLSID()
The GUID for the COM Class (CoClass) corresponding to the class extension for this object class.
|
java.lang.Object |
getExtension()
The extension for this object class.
|
IPropertySet |
getExtensionProperties()
The extension properties for this object class.
|
IEnvelope |
getExtent()
The extent of the GeoDataset.
|
IFeature |
getFeature(long oID)
Get the feature with the specified object ID.
|
int |
getFeatureClassID()
The unique ID for the Feature Class.
|
IFeatureDataset |
getFeatureDataset()
The feature dataset that contains the feature class.
|
IFeatureCursor |
getFeatures(java.lang.Object fids,
boolean recycling)
Get a cursor of Rows given a set of object ids.
|
int |
getFeatureType()
The type of features in this feature class.
|
IFields |
getFields()
The fields collection for this object class.
|
IName |
getFullName()
The associated name object.
|
IIndexes |
getIndexes()
The indexes collection for this object class.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
IField |
getLengthField()
The geometry length field.
|
java.lang.String |
getModelName()
The model name of the field.
|
java.lang.String |
getName()
The name of the Dataset.
|
int |
getObjectClassID()
The unique ID for the object class.
|
java.lang.String |
getOIDFieldName()
The name of the field corresponding to the OID.
|
IPropertySet |
getPropertySet()
The set of properties for the dataset.
|
IEnumRelationshipClass |
getRelationshipClasses(int role)
The relationship classes in which this object class participates in for the specified role.
|
IRow |
getRow(long oID)
The row from the database with the specified object ID.
|
ICursor |
getRows(java.lang.Object oids,
boolean recycling)
The cursor of rows based on a set of object ids.
|
IEnumRule |
getRules()
The rules associated with the class.
|
IEnumRule |
getRulesByField(java.lang.String fieldName)
The rules associated with the attribute.
|
IEnumRule |
getRulesBySubtypeCode(int subtypeCode)
The rules associated with the subtype.
|
java.lang.String |
getShapeFieldName()
The name of the default sShape field.
|
int |
getShapeType()
The type of the default Shape for the features in this feature class.
|
ISpatialReference |
getSpatialReference()
The spatial reference of the GeoDataset.
|
IEnumDataset |
getSubsets()
Datasets contained within this dataset.
|
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.
|
int |
getType()
The type of the Dataset.
|
IWorkspace |
getWorkspace()
The workspace containing this dataset.
|
int |
hashCode()
the hashcode for this object
|
IFeatureCursor |
IFeatureClass_insert(boolean useBuffering)
Returns a cursor that can be used to insert new features.
|
IFeatureCursor |
IFeatureClass_update(IQueryFilter filter,
boolean recycling)
Returns a cursor that can be used to update features selected by the specified query.
|
ICursor |
insert(boolean useBuffering)
Returns a cursor that can be used to insert new Rows.
|
boolean |
isBeingEdited()
True if the dataset is being edited.
|
boolean |
isCanEdit()
True if the dataset supports edit sessions with the ability to discard edits on save.
|
boolean |
isCanRedo()
True if the dataset supports edit sessions with the ability to redo undone operations.
|
boolean |
isCanSelect()
Indicates if the table supports selection.
|
boolean |
isCanUndo()
True if the dataset supports edit sessions with the ability to undo individual edit operations.
|
boolean |
isHasOID()
Indicates if the class has an object identity (OID) field.
|
boolean |
isHasSubtype()
Indicates if the table has subtypes.
|
boolean |
isLoadOnlyMode()
Indicates if the featureclass is in load only mode.
|
ICursor |
ITable_search(IQueryFilter queryFilter,
boolean recycling)
An object cursor that can be used to fetch row objects selected by the specified query.
|
int |
registerAsObjectClass(java.lang.String suggestedOIDFieldName,
java.lang.String configKeyword)
Registers this class with the database, assigning it a class id and creating an object id column.
|
void |
release()
Release this COM object reference
|
void |
removeFeature(IFeature feature)
Deletes a feature from the database, does not trigger OnDelete event.
|
void |
removeFeatures(ISet features)
Deletes a set of features from the database, does not trigger OnDelete events.
|
void |
rename(java.lang.String name)
Renames this Dataset.
|
long |
rowCount(IQueryFilter queryFilter)
The number of Rows selected by the specified query.
|
IFeatureCursor |
search(IQueryFilter filter,
boolean recycling)
Returns an object cursor that can be used to fetch feature objects selected by the specified query.
|
ISelectionSet |
select(IQueryFilter queryFilter,
int selType,
int selOption,
IWorkspace selectionContainer)
A selection that contains the object ids selected by the specified query.
|
void |
setBrowseName(java.lang.String name)
The browse name of the dataset.
|
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 |
setLoadOnlyMode(boolean isInLoadMode)
Indicates if the featureclass is in load only mode.
|
void |
setModelName(java.lang.String name)
The model name of the field.
|
void |
setSubtypeFieldName(java.lang.String fieldName)
The subtype field name.
|
ICursor |
update(IQueryFilter queryFilter,
boolean recycling)
Returns a cursor that can be used to update Rows selected by the specified query.
|
void |
updateExtent()
Updates the XY, M, Z extent.
|
void |
updateSearchedRows(IQueryFilter queryFilter,
IRowBuffer buffer)
Update the Rows in the database selected by the specified query.
|
ISelectionSet |
validate(IQueryFilter selection,
IWorkspace workspace)
Validates the selection.
|
ISelectionSet |
validateSelection(ISelectionSet selection,
IWorkspace workspace)
Validates the selection.
|
ISet |
validateSet(ISet selection)
Validates the set.
|
void |
writeFeature(IFeature feature)
Stores a feature to the database, does not trigger OnStore event.
|
void |
writeFeatures(ISet features)
Stores a set of features to the database, does not trigger OnStore events.
|
public FeatureClass(java.lang.Object obj)
throws java.io.IOException
obj to FeatureClass. *
FeatureClass o = (FeatureClass)obj; // will not work
FeatureClass o = new FeatureClass(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problems
FeatureClass theFeatureClass = (FeatureClass) obj;public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IName getFullName() throws java.io.IOException, AutomationException
getFullName in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getBrowseName()
throws java.io.IOException,
AutomationException
getBrowseName in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setBrowseName(java.lang.String name)
throws java.io.IOException,
AutomationException
setBrowseName in interface IDatasetname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getType()
throws java.io.IOException,
AutomationException
getType in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getCategory()
throws java.io.IOException,
AutomationException
getCategory in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumDataset getSubsets() throws java.io.IOException, AutomationException
getSubsets in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IWorkspace getWorkspace() throws java.io.IOException, AutomationException
getWorkspace in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet getPropertySet() throws java.io.IOException, AutomationException
getPropertySet in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canCopy()
throws java.io.IOException,
AutomationException
canCopy in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace) throws java.io.IOException, AutomationException
copy in interface IDatasetcopyName - The copyName (in)copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canDelete()
throws java.io.IOException,
AutomationException
canDelete in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void delete()
throws java.io.IOException,
AutomationException
delete in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canRename()
throws java.io.IOException,
AutomationException
canRename in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void rename(java.lang.String name)
throws java.io.IOException,
AutomationException
rename in interface IDatasetname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isBeingEdited()
throws java.io.IOException,
AutomationException
isBeingEdited in interface IDatasetEditjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCanEdit()
throws java.io.IOException,
AutomationException
isCanEdit in interface IDatasetEditInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCanUndo()
throws java.io.IOException,
AutomationException
isCanUndo in interface IDatasetEditInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCanRedo()
throws java.io.IOException,
AutomationException
isCanRedo in interface IDatasetEditInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void analyze(int tableComponents)
throws java.io.IOException,
AutomationException
analyze in interface IDatasetAnalyzetableComponents - The tableComponents (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getAllowableComponents()
throws java.io.IOException,
AutomationException
getAllowableComponents in interface IDatasetAnalyzejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void changeSchemaLock(int schemaLock)
throws java.io.IOException,
AutomationException
changeSchemaLock in interface ISchemaLockschemaLock - A com.esri.arcgis.geodatabase.esriSchemaLock constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo) throws java.io.IOException, AutomationException
getCurrentSchemaLocks in interface ISchemaLockschemaLockInfo - A reference to a com.esri.arcgis.geodatabase.IEnumSchemaLockInfo (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int findField(java.lang.String name)
throws java.io.IOException,
AutomationException
findField in interface IClassname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IFields getFields() throws java.io.IOException, AutomationException
getFields in interface IClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IIndexes getIndexes() throws java.io.IOException, AutomationException
getIndexes in interface IClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addField(IField field) throws java.io.IOException, AutomationException
addField in interface IClassfield - A reference to a com.esri.arcgis.geodatabase.IField (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deleteField(IField field) throws java.io.IOException, AutomationException
deleteField in interface IClassfield - A reference to a com.esri.arcgis.geodatabase.IField (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addIndex(IIndex index) throws java.io.IOException, AutomationException
addIndex in interface IClassindex - A reference to a com.esri.arcgis.geodatabase.IIndex (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deleteIndex(IIndex index) throws java.io.IOException, AutomationException
deleteIndex in interface IClassindex - A reference to a com.esri.arcgis.geodatabase.IIndex (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isHasOID()
throws java.io.IOException,
AutomationException
isHasOID in interface IClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getOIDFieldName()
throws java.io.IOException,
AutomationException
getOIDFieldName in interface IClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IUID getCLSID() throws java.io.IOException, AutomationException
getCLSID in interface IClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IUID getEXTCLSID() throws java.io.IOException, AutomationException
getEXTCLSID in interface IClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object getExtension()
throws java.io.IOException,
AutomationException
getExtension in interface IClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet getExtensionProperties() throws java.io.IOException, AutomationException
getExtensionProperties in interface IClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRow createRow() throws java.io.IOException, AutomationException
createRow in interface ITablejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRow getRow(long oID) throws java.io.IOException, AutomationException
getRow in interface ITableoID - Signed 64-bit int (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ICursor getRows(java.lang.Object oids, boolean recycling) throws java.io.IOException, AutomationException
getRows in interface ITableoids - A Variant (in)recycling - The recycling (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRowBuffer createRowBuffer() throws java.io.IOException, AutomationException
createRowBuffer in interface ITablejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void updateSearchedRows(IQueryFilter queryFilter, IRowBuffer buffer) throws java.io.IOException, AutomationException
updateSearchedRows in interface ITablequeryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)buffer - A reference to a com.esri.arcgis.geodatabase.IRowBuffer (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deleteSearchedRows(IQueryFilter queryFilter) throws java.io.IOException, AutomationException
deleteSearchedRows in interface ITablequeryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public long rowCount(IQueryFilter queryFilter) throws java.io.IOException, AutomationException
rowCount in interface ITablequeryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ICursor ITable_search(IQueryFilter queryFilter, boolean recycling) throws java.io.IOException, AutomationException
ITable_search in interface ITablequeryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling - The recycling (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ICursor update(IQueryFilter queryFilter, boolean recycling) throws java.io.IOException, AutomationException
update in interface ITablequeryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling - The recycling (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ICursor insert(boolean useBuffering) throws java.io.IOException, AutomationException
insert in interface ITableuseBuffering - The useBuffering (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISelectionSet select(IQueryFilter queryFilter, int selType, int selOption, IWorkspace selectionContainer) throws java.io.IOException, AutomationException
select in interface IFeatureClassselect in interface ITablequeryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)selType - A com.esri.arcgis.geodatabase.esriSelectionType constant (in)selOption - A com.esri.arcgis.geodatabase.esriSelectionOption constant (in)selectionContainer - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getObjectClassID()
throws java.io.IOException,
AutomationException
getObjectClassID in interface IObjectClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumRelationshipClass getRelationshipClasses(int role) throws java.io.IOException, AutomationException
getRelationshipClasses in interface IObjectClassrole - A com.esri.arcgis.geodatabase.esriRelRole constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getAliasName()
throws java.io.IOException,
AutomationException
getAliasName in interface IObjectClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int registerAsObjectClass(java.lang.String suggestedOIDFieldName,
java.lang.String configKeyword)
throws java.io.IOException,
AutomationException
registerAsObjectClass in interface IClassSchemaEditsuggestedOIDFieldName - The suggestedOIDFieldName (in)configKeyword - The configKeyword (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterInstanceCLSID(IUID instanceCLSID) throws java.io.IOException, AutomationException
alterInstanceCLSID in interface IClassSchemaEditinstanceCLSID - A reference to a com.esri.arcgis.system.IUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterClassExtensionCLSID(IUID classExtensionCLSID, IPropertySet classExtensionProperties) throws java.io.IOException, AutomationException
alterClassExtensionCLSID in interface IClassSchemaEditclassExtensionCLSID - A reference to a com.esri.arcgis.system.IUID (in)classExtensionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterAliasName(java.lang.String name)
throws java.io.IOException,
AutomationException
alterAliasName in interface IClassSchemaEditname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterFieldAliasName(java.lang.String fieldName,
java.lang.String aliasName)
throws java.io.IOException,
AutomationException
alterFieldAliasName in interface IClassSchemaEditfieldName - The fieldName (in)aliasName - The aliasName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterModelName(java.lang.String name)
throws java.io.IOException,
AutomationException
alterModelName in interface IClassSchemaEditname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterFieldModelName(java.lang.String fieldName,
java.lang.String modelName)
throws java.io.IOException,
AutomationException
alterFieldModelName in interface IClassSchemaEditfieldName - The fieldName (in)modelName - The modelName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterDomain(java.lang.String fieldName,
IDomain domain)
throws java.io.IOException,
AutomationException
alterDomain in interface IClassSchemaEditfieldName - The fieldName (in)domain - A reference to a com.esri.arcgis.geodatabase.IDomain (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterDefaultValue(java.lang.String fieldName,
java.lang.Object value)
throws java.io.IOException,
AutomationException
alterDefaultValue in interface IClassSchemaEditfieldName - The fieldName (in)value - A Variant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterClassExtensionProperties(IPropertySet classExtensionProperties) throws java.io.IOException, AutomationException
alterClassExtensionProperties in interface IClassSchemaEdit2classExtensionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getModelName()
throws java.io.IOException,
AutomationException
getModelName in interface IModelInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setModelName(java.lang.String name)
throws java.io.IOException,
AutomationException
setModelName in interface IModelInfoname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isHasSubtype()
throws java.io.IOException,
AutomationException
isHasSubtype in interface ISubtypesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getDefaultSubtypeCode()
throws java.io.IOException,
AutomationException
getDefaultSubtypeCode in interface ISubtypesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDefaultSubtypeCode(int subtypeCode)
throws java.io.IOException,
AutomationException
setDefaultSubtypeCode in interface ISubtypessubtypeCode - The subtypeCode (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object getDefaultValue(int subtypeCode,
java.lang.String fieldName)
throws java.io.IOException,
AutomationException
getDefaultValue in interface ISubtypessubtypeCode - The subtypeCode (in)fieldName - The fieldName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDefaultValue(int subtypeCode,
java.lang.String fieldName,
java.lang.Object value)
throws java.io.IOException,
AutomationException
setDefaultValue in interface ISubtypessubtypeCode - The subtypeCode (in)fieldName - The fieldName (in)value - A Variant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IDomain getDomain(int subtypeCode, java.lang.String fieldName) throws java.io.IOException, AutomationException
getDomain in interface ISubtypessubtypeCode - The subtypeCode (in)fieldName - The fieldName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDomainByRef(int subtypeCode,
java.lang.String fieldName,
IDomain domain)
throws java.io.IOException,
AutomationException
setDomainByRef in interface ISubtypessubtypeCode - The subtypeCode (in)fieldName - The fieldName (in)domain - A reference to a com.esri.arcgis.geodatabase.IDomain (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getSubtypeFieldName()
throws java.io.IOException,
AutomationException
getSubtypeFieldName in interface ISubtypesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSubtypeFieldName(java.lang.String fieldName)
throws java.io.IOException,
AutomationException
setSubtypeFieldName in interface ISubtypesfieldName - The fieldName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getSubtypeFieldIndex()
throws java.io.IOException,
AutomationException
getSubtypeFieldIndex in interface ISubtypesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getSubtypeName(int subtypeCode)
throws java.io.IOException,
AutomationException
getSubtypeName in interface ISubtypessubtypeCode - The subtypeCode (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumSubtype getSubtypes() throws java.io.IOException, AutomationException
getSubtypes in interface ISubtypesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addSubtype(int subtypeCode,
java.lang.String subtypeName)
throws java.io.IOException,
AutomationException
addSubtype in interface ISubtypessubtypeCode - The subtypeCode (in)subtypeName - The subtypeName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deleteSubtype(int subtypeCode)
throws java.io.IOException,
AutomationException
deleteSubtype in interface ISubtypessubtypeCode - The subtypeCode (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumRule getRules() throws java.io.IOException, AutomationException
getRules in interface IValidationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumRule getRulesByField(java.lang.String fieldName) throws java.io.IOException, AutomationException
getRulesByField in interface IValidationfieldName - The fieldName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumRule getRulesBySubtypeCode(int subtypeCode) throws java.io.IOException, AutomationException
getRulesBySubtypeCode in interface IValidationsubtypeCode - The subtypeCode (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addRule(IRule rule) throws java.io.IOException, AutomationException
addRule in interface IValidationrule - A reference to a com.esri.arcgis.geodatabase.IRule (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deleteRule(IRule rule) throws java.io.IOException, AutomationException
deleteRule in interface IValidationrule - A reference to a com.esri.arcgis.geodatabase.IRule (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISelectionSet validate(IQueryFilter selection, IWorkspace workspace) throws java.io.IOException, AutomationException
validate in interface IValidationselection - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISelectionSet validateSelection(ISelectionSet selection, IWorkspace workspace) throws java.io.IOException, AutomationException
validateSelection in interface IValidationselection - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISet validateSet(ISet selection) throws java.io.IOException, AutomationException
validateSet in interface IValidationselection - A reference to a com.esri.arcgis.system.ISet (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterRule(IRule rule) throws java.io.IOException, AutomationException
alterRule in interface IValidation2rule - A reference to a com.esri.arcgis.geodatabase.IRule (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canBypassStoreMethod()
throws java.io.IOException,
AutomationException
CanBypassStoreMethod is a convenience method that returns True if the instances of this object class have no custom behavior associated with creating or updating objects and if the object class does not participate in composite relationship classes or in relationship classes that require object notification. A return value of True implies that insert cursors handed out by the geodatabase will internally bypass the CreateRow and Store mechanisms when creating objects. A return value of False indicates that insert cursors will not bypass custom Store or OnChanged behavior implemented by the custom row object for this class.
By default, this method returns False for custom object classes. The developer of a custom object class can change this behavior by implementing this interface on the class extension associated with the class and returning True for the method.
In addition, a developer can implement this interface on the class extension of a simple class and set this property to False . Doing this will ensure that when features in the class are inserted, updated or deleted by editor tools that use insert and update cursors, such as Planarize, Create Features and the Object Loader do not bypass Store or OnChanged behavior. By default, this property for a simple class is logically True, meaning these tools will not broacast Geodatabase events which in turn are not rebroadcast as editor events (for which a custom editor application may be listening). Set this to False for those classes for which you always want to have these events broadcast. Alternatively, this can be set globally for the entire edit session using the IWorkspaceEditControl interface.
canBypassStoreMethod in interface IObjectClassInfocanBypassStoreMethod in interface IObjectClassInfo2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canBypassEditSession()
throws java.io.IOException,
AutomationException
CanBypassEditSession is a convenience method that returns True if the instances of this object class may be created or updated outside of a Geodatabase edit session (an edit session is started by using the StartEditing method on the IWorkspaceEdit or the StartMultiuserEditing method on the IMultiuserWorkspaceEdit interface).
If True , then applications may update the data in this object class using any of the data updating interfaces and methods described here without starting an edit session. In this case applications are responsible for starting host database transactions as appropriate and for discarding cached object states across transaction boundaries when running on an ArcSDE database.
If False, then applications should always make modifications to the data in this object class within an edit session for correct multi-user behavior and for correct management of database state internally cached by the Geodatabase for the objects in this object class.
This method returns False for network feature classes. By default, this method returns True for non-network custom object classes. The developer of a non-network custom object class can change this behavior by implementing this interface on the class extension associated with the class and returning true for the method.
canBypassEditSession in interface IObjectClassInfo2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getShapeType()
throws java.io.IOException,
AutomationException
getShapeType in interface IFeatureClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getFeatureType()
throws java.io.IOException,
AutomationException
getFeatureType in interface IFeatureClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getShapeFieldName()
throws java.io.IOException,
AutomationException
getShapeFieldName in interface IFeatureClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IField getAreaField() throws java.io.IOException, AutomationException
getAreaField in interface IFeatureClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IField getLengthField() throws java.io.IOException, AutomationException
getLengthField in interface IFeatureClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IFeatureDataset getFeatureDataset() throws java.io.IOException, AutomationException
getFeatureDataset in interface IFeatureClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IFeature createFeature() throws java.io.IOException, AutomationException
createFeature in interface IFeatureClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IFeature getFeature(long oID) throws java.io.IOException, AutomationException
getFeature in interface IFeatureClassoID - Signed 64-bit int (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IFeatureCursor getFeatures(java.lang.Object fids, boolean recycling) throws java.io.IOException, AutomationException
getFeatures in interface IFeatureClassfids - A Variant (in)recycling - The recycling (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getFeatureClassID()
throws java.io.IOException,
AutomationException
getFeatureClassID in interface IFeatureClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IFeatureBuffer createFeatureBuffer() throws java.io.IOException, AutomationException
createFeatureBuffer in interface IFeatureClassjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public long featureCount(IQueryFilter queryFilter) throws java.io.IOException, AutomationException
featureCount in interface IFeatureClassqueryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IFeatureCursor search(IQueryFilter filter, boolean recycling) throws java.io.IOException, AutomationException
search in interface IFeatureClassfilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling - The recycling (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IFeatureCursor IFeatureClass_update(IQueryFilter filter, boolean recycling) throws java.io.IOException, AutomationException
IFeatureClass_update in interface IFeatureClassfilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling - The recycling (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IFeatureCursor IFeatureClass_insert(boolean useBuffering) throws java.io.IOException, AutomationException
IFeatureClass_insert in interface IFeatureClassuseBuffering - The useBuffering (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws java.io.IOException, AutomationException
This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.
Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.
Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.
getSpatialReference in interface IGeoDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnvelope getExtent() throws java.io.IOException, AutomationException
The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.
Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.
If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.
If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.
ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.
getExtent in interface IGeoDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeFeature(IFeature feature) throws java.io.IOException, AutomationException
writeFeature in interface IFeatureClassWritefeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeFeatures(ISet features) throws java.io.IOException, AutomationException
writeFeatures in interface IFeatureClassWritefeatures - A reference to a com.esri.arcgis.system.ISet (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void removeFeature(IFeature feature) throws java.io.IOException, AutomationException
removeFeature in interface IFeatureClassWritefeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void removeFeatures(ISet features) throws java.io.IOException, AutomationException
removeFeatures in interface IFeatureClassWritefeatures - A reference to a com.esri.arcgis.system.ISet (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isLoadOnlyMode()
throws java.io.IOException,
AutomationException
isLoadOnlyMode in interface IFeatureClassLoadjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setLoadOnlyMode(boolean isInLoadMode)
throws java.io.IOException,
AutomationException
setLoadOnlyMode in interface IFeatureClassLoadisInLoadMode - The isInLoadMode (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCanSelect()
throws java.io.IOException,
AutomationException
isCanSelect in interface ITableCapabilitiesjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void updateExtent()
throws java.io.IOException,
AutomationException
updateExtent in interface IFeatureClassManagejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.