|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.schematic.SchematicDiagram
Schematic diagram object.
| Constructor Summary | |
SchematicDiagram(java.lang.Object obj)
Construct a SchematicDiagram using a reference to such an object returned from ArcGIS Engine or Server. |
|
| Method Summary | |
void |
alterBuilderPropertySet(IPropertySet propertySet)
Changes the builder PropertySet related to the schematic diagram with the new specified builder PropertySet. |
void |
alterPropertySet(IPropertySet propertySet)
Changes the Schematic diagram PropertySet with the new specified diagram PropertySet. |
void |
alterSpatialReference(ISpatialReference spatialReference)
Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data. |
boolean |
canCopy()
True if this dataset can be copied. |
boolean |
canDelete()
True if this dataset can be deleted. |
boolean |
canDeleteSchematicElements()
Indicates if schematic elements can be deleted within the container. |
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. |
void |
delete()
Deletes the row. |
void |
deleteSchematicElement(INgElement ngElement)
Delete a schematic element within the container. |
void |
deleteSet(ISet rows)
Deletes the set of rows. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IObjectClass |
esri_getClass()
The Object Class for the row. |
IDataset |
getAsIDataset()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IDatasetEditInfo |
getAsIDatasetEditInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IGeoDataset |
getAsIGeoDataset()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IGeoDatasetSchemaEdit |
getAsIGeoDatasetSchemaEdit()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IMetadata |
getAsIMetadata()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IMetadataEdit |
getAsIMetadataEdit()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IObject |
getAsIObject()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRelatedObjectEvents |
getAsIRelatedObjectEvents()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRow |
getAsIRow()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRowBuffer |
getAsIRowBuffer()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRowChanges |
getAsIRowChanges()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRowCompare |
getAsIRowCompare()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRowEdit |
getAsIRowEdit()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRowEvents |
getAsIRowEvents()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISchemaLock |
getAsISchemaLock()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISchematicDiagram |
getAsISchematicDiagram()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISchematicElementContainer |
getAsISchematicElementContainer()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISchematicElementContainerEdit |
getAsISchematicElementContainerEdit()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IValidate |
getAsIValidate()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
java.lang.String |
getBrowseName()
The browse name of the dataset. |
IPropertySet |
getBuilderPropertySet()
Builder PropertySet related to the schematic diagram. |
java.lang.String |
getCategory()
The category of the dataset. |
java.util.Date |
getCreationDate()
Creation date of the schematic diagram. |
java.lang.String |
getCreator()
Name of the schematic diagram creator. |
void |
getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo)
The list of current locks. |
IEnvelope |
getExtent()
The extent of the GeoDataset. |
IFields |
getFields()
The fields Collection for this row buffer. |
IName |
getFullName()
The associated name object. |
IFields |
getInvalidFields()
Returns all invalid fields. |
IEnumRule |
getInvalidRules()
The set of all invalid rules. |
IEnumRule |
getInvalidRulesByField(java.lang.String fieldName)
The set of all invalid rules for the specified field. |
java.lang.String |
getLastUpdateBy()
Name of the last user that updated the schematic diagram. |
java.util.Date |
getLastUpdateDate()
Last updating date of the schematic diagram. |
IPropertySet |
getMetadata()
The PropertySet containing metadata. |
java.lang.String |
getName()
The name of the Dataset. |
int |
getOID()
The OID for the row. |
java.lang.Object |
getOriginalValue(int index)
The value of the field at the specified index immediately after the last call to Store on the Row object. |
IPropertySet |
getPropertySet()
The set of properties for the dataset. |
ISchematicDiagramClass |
getSchematicDiagramClass()
Schematic diagram class related to the schematic diagram. |
ISchematicDiagramContainer |
getSchematicDiagramContainer()
Schematic diagram container related to the schematic diagram. |
ISchematicElement |
getSchematicElementByName(int type,
java.lang.String name)
Schematic element referenced by the specified Name and related to specified element type. |
IEnumSchematicElement |
getSchematicElements()
Schematic elements enumeration within the container. |
IEnumSchematicElement |
getSchematicElementsByType(int type)
Schematic elements referenced by the specified element type. |
ISpatialReference |
getSpatialReference()
The spatial reference of the GeoDataset. |
IEnumDataset |
getSubsets()
Datasets contained within this dataset. |
ITable |
getTable()
The Table for the row. |
int |
getType()
The type of the Dataset. |
java.lang.Object |
getValue(int index)
The value of the field with the specified index. |
java.lang.String |
getVersion()
Version of the database used to create the schematic diagram. |
IWorkspace |
getWorkspace()
The workspace containing this dataset. |
int |
hashCode()
the hashcode for this object |
boolean |
isCanAlterSpatialReference()
Indicates if the spatial reference of the dataset can be altered. |
boolean |
isCanEdit()
True if the dataset supports edit sessions with the ability to discard edits on save. |
boolean |
isCanEditMetadata()
Indicates if metadata can be edited. |
boolean |
isCanRedo()
True if the dataset supports edit sessions with the ability to redo undone operations. |
boolean |
isCanUndo()
True if the dataset supports edit sessions with the ability to undo individual edit operations. |
boolean |
isEqual(IRow pOtherRow)
Indicates if the rows (which may be from two different versions) are the same (oid + values). |
boolean |
isHasOID()
Indicates if the row has an OID. |
boolean |
isValueChanged(int index)
Indicates whether the value of the field at the specified index has changed since the last call to Store on the Row object. |
void |
onChanged(IRowEventsOnChangedEvent theEvent)
An after event that is fired when a custom object is changed. |
void |
onDelete(IRowEventsOnDeleteEvent theEvent)
An after event that is fired when a custom object is deleted. |
void |
onInitialize(IRowEventsOnInitializeEvent theEvent)
An after event that is fired when a custom object is initialized. |
void |
onNew(IRowEventsOnNewEvent theEvent)
An after event that is fired when a custom object is Stored for the first time. |
void |
onValidate(IRowEventsOnValidateEvent theEvent)
An after event that is fired when a custom object is validated. |
void |
relatedObjectChanged(IRelationshipClass relationshipClass,
IObject objectThatChanged)
Notifies this object that a related object changed. |
void |
relatedObjectMoved(IRelationshipClass relationshipClass,
IObject objectThatChanged,
ILine moveVector)
Notifies this object that a related object moved. |
void |
relatedObjectRotated(IRelationshipClass relationshipClass,
IObject objectThatChanged,
IPoint origin,
double angle)
Notifies this object that a related object rotated. |
void |
relatedObjectSetMoved(IRelationshipClass relationshipClass,
ISet objectsThatNeedToChange,
ISet objectsThatChanged,
ILine moveVector)
Notifies this object that a set of objects with relationships to the input set of objects moved. |
void |
relatedObjectSetRotated(IRelationshipClass relationshipClass,
ISet objectsThatNeedToChange,
ISet objectsThatChanged,
IPoint origin,
double angle)
Notifies this object that a set of objects with relationships to the input set of objects rotated. |
void |
rename(java.lang.String name)
Renames this Dataset. |
void |
setBrowseName(java.lang.String name)
The browse name of the dataset. |
void |
setCreationDate(java.util.Date date)
Creation date of the schematic diagram. |
void |
setCreator(java.lang.String name)
Name of the schematic diagram creator. |
void |
setLastUpdateBy(java.lang.String name)
Name of the last user that updated the schematic diagram. |
void |
setLastUpdateDate(java.util.Date date)
Last updating date of the schematic diagram. |
void |
setMetadata(IPropertySet ppPropertySet)
The PropertySet containing metadata. |
void |
setName(java.lang.String name)
Name of the schematic diagram. |
void |
setSchematicDiagramContainerByRef(ISchematicDiagramContainer diagramContainer)
Schematic diagram container related to the schematic diagram. |
void |
setValue(int index,
java.lang.Object value)
The value of the field with the specified index. |
void |
setVersion(java.lang.String versionName)
Version of the database used to create the schematic diagram. |
void |
store()
Stores the row. |
void |
synchronize(int action,
int interval)
Updates metadata with the current properties; may create metadata if it doesn't already exist. |
boolean |
validate(java.lang.String[] errorMessage)
Validates the row. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SchematicDiagram(java.lang.Object obj)
throws java.io.IOException
obj to SchematicDiagram. *
SchematicDiagram o = (SchematicDiagram)obj; // will not work
SchematicDiagram o = new SchematicDiagram(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
SchematicDiagram theSchematicDiagram = (SchematicDiagram) obj;
java.io.IOException - if there are interop problems| Method Detail |
public IObject getAsIObject()
public IRow getAsIRow()
public IRowBuffer getAsIRowBuffer()
public IRowCompare getAsIRowCompare()
public IRowChanges getAsIRowChanges()
public IRowEdit getAsIRowEdit()
public IRowEvents getAsIRowEvents()
public IDataset getAsIDataset()
public IDatasetEditInfo getAsIDatasetEditInfo()
public IMetadata getAsIMetadata()
public IMetadataEdit getAsIMetadataEdit()
public ISchemaLock getAsISchemaLock()
public IRelatedObjectEvents getAsIRelatedObjectEvents()
public ISchematicDiagram getAsISchematicDiagram()
public ISchematicElementContainer getAsISchematicElementContainer()
public ISchematicElementContainerEdit getAsISchematicElementContainerEdit()
public IGeoDataset getAsIGeoDataset()
public IGeoDatasetSchemaEdit getAsIGeoDatasetSchemaEdit()
public IValidate getAsIValidate()
public boolean equals(java.lang.Object o)
public int hashCode()
public IObjectClass esri_getClass()
throws java.io.IOException,
AutomationException
IObject
esri_getClass in interface IObjectAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isHasOID()
throws java.io.IOException,
AutomationException
IRowIf the table has been registered with the geodatabase it will have unique Object ID, automatically created by the register tool, and the HasOID property will be set to True. Tables not registered with the geodatabase will not have an OID column and the HasOID property will be set to False. See the IClassSchemaEdit::RegisterAsObjectClass method for more information.
isHasOID in interface IRowAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getOID()
throws java.io.IOException,
AutomationException
IRowGets the OID for a row in a table that has a unique Object ID, such as tables registered with the geodatabase.
getOID in interface IRowAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ITable getTable()
throws java.io.IOException,
AutomationException
IRowReturns a pointer to the table the row belongs to.
getTable in interface IRowjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void store()
throws java.io.IOException,
AutomationException
IRowThe Store method is called by an application once it has modified the values of a Row. Once Store is called on a Row object, all subsequent queries within the same edit session, using the Geodatabase API, will reflect the modified state of the Row object.
All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
Calling the Store method triggers the following actions:
- The IRowEvents::OnChanged is called for the row being stored. The OnNew is called if this is a newly created row being stored for the first time. A custom row object can implement the OnChanged method and take some special action when it is called - for example; update a special column in the row
- The IRelatedObjectEvents::RelatedObjectChanged method is called for related objects in a related object class if the table for this row is an object class that participates in relationship classes with notification
Store should not be used for batch operations, such as updates or inserts. For performing a number of inserts or updates using cursors, refer to the ITable::Insert, ITable::Update, ITable::UpdateSearchedRows , IFeatureClass::Update andIFeatureClass::Insert. If an insert or update cursor is used on non-simple features (such as network features), the cursor will revert to using Store.
It is not necessary to explicitly call Connect on network features, this is handled polymorphically when Store is called on the feature. This is also the case with features in a Topology, Dirty Area creation is handled internally when Store is called.
Store should not be called inside of edit events, such as OnCreateFeature, OnChangeFeature or OnDeleteFeature. Even if you are modifying the geometry or other field values, Store will be called once the event is complete.
store in interface IRowjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void delete()
throws java.io.IOException,
AutomationException
IRowAll edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
delete in interface IRowAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.Object getValue(int index)
throws java.io.IOException,
AutomationException
IRowBufferThe Index parameter is a zero based index.
getValue in interface IRowBufferindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setValue(int index,
java.lang.Object value)
throws java.io.IOException,
AutomationException
IRowBuffer
setValue in interface IRowBufferindex - The index (in)value - A Variant (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
IRowBuffer
getFields in interface IRowBufferjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEqual(IRow pOtherRow)
throws java.io.IOException,
AutomationException
IRowCompare
isEqual in interface IRowComparepOtherRow - A reference to a com.esri.arcgis.geodatabase.IRow (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isValueChanged(int index)
throws java.io.IOException,
AutomationException
IRowChanges
isValueChanged in interface IRowChangesindex - The index (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.Object getOriginalValue(int index)
throws java.io.IOException,
AutomationException
IRowChanges
getOriginalValue in interface IRowChangesindex - The index (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void deleteSet(ISet rows)
throws java.io.IOException,
AutomationException
IRowEditAll edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation.
deleteSet in interface IRowEditrows - A reference to a com.esri.arcgis.system.ISet (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void onChanged(IRowEventsOnChangedEvent theEvent)
throws java.io.IOException,
AutomationException
IRowEventsThe OnChanged method is called by the geodatabase when an application program calls Store on an existing Row object.
onChanged in interface IRowEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void onDelete(IRowEventsOnDeleteEvent theEvent)
throws java.io.IOException,
AutomationException
IRowEventsThe OnDelete method is called by the geodatabase when an application program calls Delete on a Row object.
onDelete in interface IRowEventstheEvent - The event
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void onInitialize(IRowEventsOnInitializeEvent theEvent)
throws java.io.IOException,
AutomationException
IRowEventsThe OnInitialize method is called by the geodatabase after hydrating a cocreated Row object with its state (its set of field values) but before handing the Row to an application program. This is an opportunity for the Row object to initialize further state and derived member variables.
onInitialize in interface IRowEventstheEvent - The event
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onNew(IRowEventsOnNewEvent theEvent)
throws java.io.IOException,
AutomationException
IRowEventsThe OnNew method is called by the geodatabase when an application program calls Store on a newly created Row object.
onNew in interface IRowEventstheEvent - The event
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void onValidate(IRowEventsOnValidateEvent theEvent)
throws java.io.IOException,
AutomationException
IRowEvents
onValidate in interface IRowEventstheEvent - The event
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getName()
throws java.io.IOException,
AutomationException
IDataset
getName in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IName getFullName()
throws java.io.IOException,
AutomationException
IDataset
getFullName in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getBrowseName()
throws java.io.IOException,
AutomationException
IDataset
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
IDataset
setBrowseName in interface IDatasetname - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getType()
throws java.io.IOException,
AutomationException
IDataset
getType in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getCategory()
throws java.io.IOException,
AutomationException
IDatasetIDataset::Category returns a description of the category of the dataset. The description returned from the Category property is the same value that is displayed in the Type column within the Contents tab in ArcCatalog. The value will contain a description of the dataset such as "Topology" prefixed with a description of the type of workspace containing the dataset such as "File Geodatabase".
The description returned from IDataset::Category may change between releases of ArcGIS.
getCategory in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnumDataset getSubsets()
throws java.io.IOException,
AutomationException
IDatasetThe Subsets property returns other Dataset objects contained in this dataset.
IDataset::Subsets is not supported for Graph objects such as a Geometric Network. To return the feature classes contained in a Geometric Network, use the IFeatureClassContainer interface.
getSubsets in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IWorkspace getWorkspace()
throws java.io.IOException,
AutomationException
IDatasetThe Workspace property returns the containing workspace for this dataset.
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
IDatasetThe PropertySet property is used to return any additional intrinsic properties (but not metadata properties) that may apply to the dataset. One use of this property is to distinguish between the types of File Geodatabase datafile formats. If called on a Feature Class or Table in a File Geodatabase the Datafile Format property can either be esriFGDBStandardDatafile or esriFGDBCompressedDatafile.
Examples of intrinsic properties for which explicit methods exist include the SpatialReference and the Extent methods available on the IGeoDataset interface. In most cases this PropertySet will be empty.
IDataset::PropertySet is not supported for Graph objects such as a Geometric Network.
getPropertySet in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean canCopy()
throws java.io.IOException,
AutomationException
IDatasetThe CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods. For example, you may not delete a network feature class nor can you use the Copy method on a Geodatabase feature class. To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.
The CanCopy method is supported by:
canCopy in interface IDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IDataset copy(java.lang.String copyName,
IWorkspace copyWorkspace)
throws java.io.IOException,
AutomationException
IDatasetIDataset::Copy does not support the copying of Graph objects such as a Geometric Network.
copy in interface IDatasetcopyName - The copyName (in)copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.GeoDBDataTransfer
public boolean canDelete()
throws java.io.IOException,
AutomationException
IDatasetThe CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods. For example, you may not delete a network feature class nor can you use the Copy method on a Geodatabase feature class. To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.
canDelete 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
IDatasetThe CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods. For example, you may not delete or rename a network feature class nor can you use the Copy method on a Geodatabase feature class. To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.
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
IDatasetIDataset::Rename does not support the renaming of Graph objects such as a Geometric Network. In addition, certain feature classes, such as network feature classes, cannot be renamed.
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 isCanEdit()
throws java.io.IOException,
AutomationException
IDatasetEditInfo
This property is to be used within an active edit session, results cannot be guaranteed if called on a dataset outside of an edit session.
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
IDatasetEditInfo
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
IDatasetEditInfo
isCanRedo in interface IDatasetEditInfoAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IPropertySet getMetadata()
throws java.io.IOException,
AutomationException
IMetadataThe variable to hold the data must be of IPropertySet data type.
The metadata property is frequently used to save, or update, changes to metadata documents that have taken place through methods available on the IPropertySet, IXmlPropertySet, and/or IXmlPropertySet2 interfaces.
getMetadata in interface IMetadataAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setMetadata(IPropertySet ppPropertySet)
throws java.io.IOException,
AutomationException
IMetadata
setMetadata in interface IMetadatappPropertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void synchronize(int action,
int interval)
throws java.io.IOException,
AutomationException
IMetadataThe Synchronize method is used to extract metadata properties from an object and write those properties to the metadata .xml. Depending on the value of the esriMetaSyncAction, the Synchronize method may generate a new set of metadata if it doesn't already exist.
synchronize in interface IMetadataaction - A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)interval - The interval (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isCanEditMetadata()
throws java.io.IOException,
AutomationException
IMetadataEditThis property is available to those objects that support metadata.
isCanEditMetadata in interface IMetadataEditAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void changeSchemaLock(int schemaLock)
throws java.io.IOException,
AutomationException
ISchemaLock
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
ISchemaLockReturns an enumeration of the schema locks currently on the dataset. Not that there will always be at least one schema lock on the dataset. By checking the schema locks on a dataset a shared schema lock is applied to the data.
getCurrentSchemaLocks in interface ISchemaLockschemaLockInfo - A reference to a com.esri.arcgis.geodatabase.IEnumSchemaLockInfo (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void relatedObjectChanged(IRelationshipClass relationshipClass,
IObject objectThatChanged)
throws java.io.IOException,
AutomationException
IRelatedObjectEventsThe RelatedObjectChanged method is called when a related object has changed.
relatedObjectChanged in interface IRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void relatedObjectMoved(IRelationshipClass relationshipClass,
IObject objectThatChanged,
ILine moveVector)
throws java.io.IOException,
AutomationException
IRelatedObjectEventsThe RelatedObjectMoved method is called when a related object has moved.
relatedObjectMoved in interface IRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)moveVector - A reference to a com.esri.arcgis.geometry.ILine (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void relatedObjectSetMoved(IRelationshipClass relationshipClass,
ISet objectsThatNeedToChange,
ISet objectsThatChanged,
ILine moveVector)
throws java.io.IOException,
AutomationException
IRelatedObjectEventsThe RelatedObjectSetMoved method is called when a set of objects in the related object class has moved. The objectsThatChanged argument represents the set of objects in the related object classes that have moved.
The objectsThatNeedToChange argument represents the set of objects in the object class of this object that are related to the objects that moved. This object is itself a member of the objectsThatNeedToChange.
relatedObjectSetMoved in interface IRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectsThatNeedToChange - A reference to a com.esri.arcgis.system.ISet (in)objectsThatChanged - A reference to a com.esri.arcgis.system.ISet (in)moveVector - A reference to a com.esri.arcgis.geometry.ILine (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void relatedObjectRotated(IRelationshipClass relationshipClass,
IObject objectThatChanged,
IPoint origin,
double angle)
throws java.io.IOException,
AutomationException
IRelatedObjectEventsThe RelatedObjectRotated method is called when a related object has rotated.
relatedObjectRotated in interface IRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged - A reference to a com.esri.arcgis.geodatabase.IObject (in)origin - A reference to a com.esri.arcgis.geometry.IPoint (in)angle - The angle (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void relatedObjectSetRotated(IRelationshipClass relationshipClass,
ISet objectsThatNeedToChange,
ISet objectsThatChanged,
IPoint origin,
double angle)
throws java.io.IOException,
AutomationException
IRelatedObjectEventsThe RelatedObjectSetRotated method is called when a set of objects in the related object class has moved. Its arguments are similar to the arguments for RelatedObjectSetMoved.
relatedObjectSetRotated in interface IRelatedObjectEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectsThatNeedToChange - A reference to a com.esri.arcgis.system.ISet (in)objectsThatChanged - A reference to a com.esri.arcgis.system.ISet (in)origin - A reference to a com.esri.arcgis.geometry.IPoint (in)angle - The angle (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISchematicDiagramClass getSchematicDiagramClass()
throws java.io.IOException,
AutomationException
ISchematicDiagram
getSchematicDiagramClass in interface ISchematicDiagramAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISchematicDiagramContainer getSchematicDiagramContainer()
throws java.io.IOException,
AutomationException
ISchematicDiagram
getSchematicDiagramContainer in interface ISchematicDiagramjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSchematicDiagramContainerByRef(ISchematicDiagramContainer diagramContainer)
throws java.io.IOException,
AutomationException
ISchematicDiagram
setSchematicDiagramContainerByRef in interface ISchematicDiagramdiagramContainer - A reference to a com.esri.arcgis.schematic.ISchematicDiagramContainer (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setName(java.lang.String name)
throws java.io.IOException,
AutomationException
ISchematicDiagram
setName in interface ISchematicDiagramname - The name (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.util.Date getCreationDate()
throws java.io.IOException,
AutomationException
ISchematicDiagram
getCreationDate in interface ISchematicDiagramAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCreationDate(java.util.Date date)
throws java.io.IOException,
AutomationException
ISchematicDiagram
setCreationDate in interface ISchematicDiagramdate - The date (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.util.Date getLastUpdateDate()
throws java.io.IOException,
AutomationException
ISchematicDiagram
getLastUpdateDate in interface ISchematicDiagramAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setLastUpdateDate(java.util.Date date)
throws java.io.IOException,
AutomationException
ISchematicDiagram
setLastUpdateDate in interface ISchematicDiagramdate - The date (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getVersion()
throws java.io.IOException,
AutomationException
ISchematicDiagram
getVersion in interface ISchematicDiagramjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setVersion(java.lang.String versionName)
throws java.io.IOException,
AutomationException
ISchematicDiagram
setVersion in interface ISchematicDiagramversionName - The versionName (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public java.lang.String getCreator()
throws java.io.IOException,
AutomationException
ISchematicDiagram
getCreator in interface ISchematicDiagramAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setCreator(java.lang.String name)
throws java.io.IOException,
AutomationException
ISchematicDiagram
setCreator in interface ISchematicDiagramname - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getLastUpdateBy()
throws java.io.IOException,
AutomationException
ISchematicDiagram
getLastUpdateBy in interface ISchematicDiagramAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setLastUpdateBy(java.lang.String name)
throws java.io.IOException,
AutomationException
ISchematicDiagram
setLastUpdateBy in interface ISchematicDiagramname - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IPropertySet getBuilderPropertySet()
throws java.io.IOException,
AutomationException
ISchematicDiagram
getBuilderPropertySet in interface ISchematicDiagramAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void alterBuilderPropertySet(IPropertySet propertySet)
throws java.io.IOException,
AutomationException
ISchematicDiagram
alterBuilderPropertySet in interface ISchematicDiagrampropertySet - 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 alterPropertySet(IPropertySet propertySet)
throws java.io.IOException,
AutomationException
ISchematicDiagram
alterPropertySet in interface ISchematicDiagrampropertySet - 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 IEnumSchematicElement getSchematicElements()
throws java.io.IOException,
AutomationException
ISchematicElementContainer
getSchematicElements in interface ISchematicElementContainerjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumSchematicElement getSchematicElementsByType(int type)
throws java.io.IOException,
AutomationException
ISchematicElementContainer
getSchematicElementsByType in interface ISchematicElementContainertype - A com.esri.arcgis.schematic.esriSchematicElementType constant (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISchematicElement getSchematicElementByName(int type,
java.lang.String name)
throws java.io.IOException,
AutomationException
ISchematicElementContainer
getSchematicElementByName in interface ISchematicElementContainertype - A com.esri.arcgis.schematic.esriSchematicElementType constant (in)name - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean canDeleteSchematicElements()
throws java.io.IOException,
AutomationException
ISchematicElementContainerEdit
canDeleteSchematicElements in interface ISchematicElementContainerEditjava.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteSchematicElement(INgElement ngElement)
throws java.io.IOException,
AutomationException
ISchematicElementContainerEdit
deleteSchematicElement in interface ISchematicElementContainerEditngElement - A reference to a com.esri.arcgis.schematic.INgElement (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public ISpatialReference getSpatialReference()
throws java.io.IOException,
AutomationException
IGeoDatasetThis 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.
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
IGeoDatasetThe 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 IGeoDatasetAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean isCanAlterSpatialReference()
throws java.io.IOException,
AutomationException
IGeoDatasetSchemaEdit
isCanAlterSpatialReference in interface IGeoDatasetSchemaEditAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void alterSpatialReference(ISpatialReference spatialReference)
throws java.io.IOException,
AutomationException
IGeoDatasetSchemaEdit
alterSpatialReference in interface IGeoDatasetSchemaEditspatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFields getInvalidFields()
throws java.io.IOException,
AutomationException
IValidate
getInvalidFields in interface IValidateAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnumRule getInvalidRules()
throws java.io.IOException,
AutomationException
IValidate
getInvalidRules in interface IValidateAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public IEnumRule getInvalidRulesByField(java.lang.String fieldName)
throws java.io.IOException,
AutomationException
IValidate
getInvalidRulesByField in interface IValidatefieldName - The fieldName (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean validate(java.lang.String[] errorMessage)
throws java.io.IOException,
AutomationException
IValidateValidate on a row occurs in five steps:
The validate process stops once a row is found invalid. For example, if a network feature violates an attribute rule, the validation process stops and the feature's network connectivity rules are not evaluated until the attribute rule violation is corrected.
validate in interface IValidateerrorMessage - The errorMessage (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||