|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.schematic.SchematicDiagram
public class SchematicDiagram
A schematic diagram object.
Constructor Summary | |
---|---|
SchematicDiagram(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. |
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(String copyName,
IWorkspace copyWorkspace)
Copies this dataset to a new dataset with the specified name. |
void |
delete()
Deletes the row. |
void |
deleteSet(ISet rows)
Deletes the set of rows. |
boolean |
equals(Object o)
Compare this object with another |
IObjectClass |
esri_getClass()
The Object Class for the row. |
String |
getBrowseName()
The browse name of the dataset. |
IPropertySet |
getBuilderPropertySet()
Builder PropertySet related to the schematic diagram. |
String |
getCategory()
The category of the dataset. |
Date |
getCreationDate()
Creation date of the schematic diagram. |
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(String fieldName)
The set of all invalid rules for the specified field. |
Date |
getLastModificationDate()
Last modification date of the schematic diagram. |
Date |
getLastUpdateDate()
Last updating date of the schematic diagram. |
IPropertySet |
getMetadata()
The PropertySet containing metadata. |
String |
getModifiedBy()
Name of the user that modified the schematic diagram. |
String |
getName()
The name of the Dataset. |
int |
getOID()
The OID for the row. |
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,
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. |
String |
getUpdatedBy()
Name of the last user that updated the schematic diagram. |
Object |
getValue(int index)
The value of the field with the specified index. |
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 |
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 otherRow)
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()
An after event that is fired when a custom object is changed. |
void |
onDelete()
An after event that is fired when a custom object is deleted. |
void |
onInitialize()
An after event that is fired when a custom object is initialized. |
void |
onNew()
An after event that is fired when a custom object is Stored for the first time. |
void |
onValidate()
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(String name)
Renames this Dataset. |
void |
replaceDataSource(String initialDataSourceName,
String replacingDataSourceName,
ITrackCancel trackCancel)
Replaces a schematic diagram referenced data sources. |
void |
setBrowseName(String name)
The browse name of the dataset. |
void |
setCreationDate(Date date)
Creation date of the schematic diagram. |
void |
setCreator(String name)
Name of the schematic diagram creator. |
void |
setLastModificationDate(Date date)
Last modification date of the schematic diagram. |
void |
setLastUpdateDate(Date date)
Last updating date of the schematic diagram. |
void |
setMetadata(IPropertySet ppPropertySet)
The PropertySet containing metadata. |
void |
setModifiedBy(String name)
Name of the user that modified the schematic diagram. |
void |
setName(String name)
Name of the schematic diagram. |
void |
setSchematicDiagramContainerByRef(ISchematicDiagramContainer diagramContainer)
Schematic diagram container related to the schematic diagram. |
void |
setUpdatedBy(String name)
Name of the last user that updated the schematic diagram. |
void |
setValue(int index,
Object value)
The value of the field with the specified index. |
void |
setVersion(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(String[] errorMessage)
Validates the row. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public SchematicDiagram(Object obj) throws 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
IOException
- if there are interop problems
SchematicDiagram theSchematicDiagram = (SchematicDiagram) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IObjectClass esri_getClass() throws IOException, AutomationException
esri_getClass
in interface IObject
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasOID() throws IOException, AutomationException
If 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 IRow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getOID() throws IOException, AutomationException
Gets the OID for a row in a table that has a unique Object ID, such as tables registered with the geodatabase.
if (pRow.isHasOID()) {
System.out.print(pRow.getOID());
}
getOID
in interface IRow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITable getTable() throws IOException, AutomationException
Returns a pointer to the table the row belongs to.
ITable pTable; pTable = pRow.getTable();
getTable
in interface IRow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void store() throws IOException, AutomationException
The 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 IRow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete() throws IOException, AutomationException
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.
delete
in interface IDataset
delete
in interface IRow
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getValue(int index) throws IOException, AutomationException
getValue
in interface IRowBuffer
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValue(int index, Object value) throws IOException, AutomationException
setValue
in interface IRowBuffer
index
- The index (in)value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFields getFields() throws IOException, AutomationException
getFields
in interface IRowBuffer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IRow otherRow) throws IOException, AutomationException
isEqual
in interface IRowCompare
otherRow
- A reference to a com.esri.arcgis.geodatabase.IRow (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValueChanged(int index) throws IOException, AutomationException
isValueChanged
in interface IRowChanges
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getOriginalValue(int index) throws IOException, AutomationException
getOriginalValue
in interface IRowChanges
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteSet(ISet rows) throws IOException, AutomationException
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.
deleteSet
in interface IRowEdit
rows
- A reference to a com.esri.arcgis.system.ISet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onChanged() throws IOException, AutomationException
The OnChanged method is called by the geodatabase when an application program calls Store on an existing Row object.
onChanged
in interface IRowEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onDelete() throws IOException, AutomationException
The OnDelete method is called by the geodatabase when an application program calls Delete on a Row object.
onDelete
in interface IRowEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onInitialize() throws IOException, AutomationException
The 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 IRowEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onNew() throws IOException, AutomationException
The OnNew method is called by the geodatabase when an application program calls Store on a newly created Row object.
onNew
in interface IRowEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onValidate() throws IOException, AutomationException
onValidate
in interface IRowEvents
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IDataset
getName
in interface ISchematicDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.schematic.INgDiagram
public IName getFullName() throws IOException, AutomationException
getFullName
in interface IDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getBrowseName() throws IOException, AutomationException
getBrowseName
in interface IDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setBrowseName(String name) throws IOException, AutomationException
setBrowseName
in interface IDataset
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getType() throws IOException, AutomationException
// Assume we have a reference to an IfeatureClass (pFeatureClass) IDataset pDataset = null;
pDataset = new IDatasetProxy(pFeatureClass);
System.out.println(pDataset.getName() + " " + pDataset.getType());
if(pFeatureClass != null){
pDataset = pFeatureClass.getFeatureDataset();
System.out.println(pDataset.getName() + " " + pDataset.getType());
}
pDataset = new IDatasetProxy(pDataset.getWorkspace());
System.out.println(pDataset.getName() + " " +
pDataset.getType());
getType
in interface IDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCategory() throws IOException, AutomationException
IDataset::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. In addition to this, returned strings are localized, meaning that code relying on a specific string being provided may fail when deployed with a different version of ArcGIS than it was developed with, or when deployed to a client using a different language than it was developed with.
getCategory
in interface IDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumDataset getSubsets() throws IOException, AutomationException
The 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 IDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IWorkspace getWorkspace() throws IOException, AutomationException
The Workspace property returns the containing workspace for this dataset.
getWorkspace
in interface IDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getPropertySet() throws IOException, AutomationException
The 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.
Most datasets do not implement this property and will either raise an error or return a null value if it's called. There are a handful of exceptions that will return property sets; these include the datasets from file geodatabases (as mentioned above) and coverages.
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 IDataset
getPropertySet
in interface ISchematicDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDiagram.alterPropertySet(com.esri.arcgis.system.IPropertySet)
public boolean canCopy() throws IOException, AutomationException
The 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 IDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDataset copy(String copyName, IWorkspace copyWorkspace) throws IOException, AutomationException
IDataset::Copy should only be used with datasets from file-based data sources, such as shapefiles and coverages.
copy
in interface IDataset
copyName
- The copyName (in)copyWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canDelete() throws IOException, AutomationException
The 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 IDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canRename() throws IOException, AutomationException
The 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 IDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void rename(String name) throws IOException, AutomationException
IDataset::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 IDataset
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanEdit() throws IOException, AutomationException
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 IDatasetEditInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanUndo() throws IOException, AutomationException
isCanUndo
in interface IDatasetEditInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanRedo() throws IOException, AutomationException
isCanRedo
in interface IDatasetEditInfo
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getMetadata() throws IOException, AutomationException
The 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 IMetadata
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMetadata(IPropertySet ppPropertySet) throws IOException, AutomationException
setMetadata
in interface IMetadata
ppPropertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void synchronize(int action, int interval) throws IOException, AutomationException
The 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.
The following actions will result in synchronization given each of the listed conditions:
Action | Metadata status | Esri/Sync element | Interval parameter |
---|---|---|---|
esriMSAAccessed | Doesn't matter | Must not be FALSE | Must be less than actual interval |
esriMSAAlways | Doesn't matter | Doesn't matter | Doesn't matter |
esriMSACreated | Must not exist | Must not be FALSE | Must be less than actual interval |
esriMSANotCreated | Must exist | Must not be FALSE | Must be less than actual interval |
esriMSAOverwrite | Doesn't matter | Doesn't matter | Doesn't matter |
The difference between esriMSAAlways and esriMSAOverwrite lies in which elements are synchronized. esriMSAAlways will honor the removal or value change of an element's Sync attribute (to disable synchronization), whereas using esriMSAOverwrite is equivalent to setting the IXmlPropertySet2.OverwriteSyncAttribute to true for the metadata's property set, meaning that even elements without a Sync attribute of TRUE will be synchronized.
synchronize
in interface IMetadata
action
- A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)interval
- The interval (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCanEditMetadata() throws IOException, AutomationException
This property is available to those objects that support metadata.
isCanEditMetadata
in interface IMetadataEdit
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void changeSchemaLock(int schemaLock) throws IOException, AutomationException
changeSchemaLock
in interface ISchemaLock
schemaLock
- A com.esri.arcgis.geodatabase.esriSchemaLock constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo) throws IOException, AutomationException
The ISchemaLockInfo interface is used in concert with ISchemaLock to provide information about a schema lock, for example, whether it is shared or exclusive and for ArcSDE geodatabases, the name of the user who has the lock. Note that there will always be at least one schema lock on the dataset. Also note that by checking the schema locks on a dataset a shared schema lock is applied to the data.
getCurrentSchemaLocks
in interface ISchemaLock
schemaLockInfo
- A reference to a com.esri.arcgis.geodatabase.IEnumSchemaLockInfo (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void relatedObjectChanged(IRelationshipClass relationshipClass, IObject objectThatChanged) throws IOException, AutomationException
The RelatedObjectChanged method is called when a related object has changed.
relatedObjectChanged
in interface IRelatedObjectEvents
relationshipClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatChanged
- A reference to a com.esri.arcgis.geodatabase.IObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void relatedObjectMoved(IRelationshipClass relationshipClass, IObject objectThatChanged, ILine moveVector) throws IOException, AutomationException
This method is currently reserved and implementations should not define any behavior.
relatedObjectMoved
in interface IRelatedObjectEvents
relationshipClass
- 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void relatedObjectSetMoved(IRelationshipClass relationshipClass, ISet objectsThatNeedToChange, ISet objectsThatChanged, ILine moveVector) throws IOException, AutomationException
The 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 is a set of objects in this object's class that are related to the objects that moved. The object executing this method will itself be a member of the objectsThatNeedToChange set.
relatedObjectSetMoved
in interface IRelatedObjectEvents
relationshipClass
- 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)
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 IOException, AutomationException
This method is currently reserved and implementations should not define any behavior.
relatedObjectRotated
in interface IRelatedObjectEvents
relationshipClass
- 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void relatedObjectSetRotated(IRelationshipClass relationshipClass, ISet objectsThatNeedToChange, ISet objectsThatChanged, IPoint origin, double angle) throws IOException, AutomationException
The 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 IRelatedObjectEvents
relationshipClass
- 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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagramClass getSchematicDiagramClass() throws IOException, AutomationException
getSchematicDiagramClass
in interface ISchematicDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagramContainer getSchematicDiagramContainer() throws IOException, AutomationException
getSchematicDiagramContainer
in interface ISchematicDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSchematicDiagramContainerByRef(ISchematicDiagramContainer diagramContainer) throws IOException, AutomationException
setSchematicDiagramContainerByRef
in interface ISchematicDiagram
diagramContainer
- A reference to a com.esri.arcgis.schematic.ISchematicDiagramContainer (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface ISchematicDiagram
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Date getCreationDate() throws IOException, AutomationException
getCreationDate
in interface ISchematicDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDiagram.getLastUpdateDate()
public void setCreationDate(Date date) throws IOException, AutomationException
setCreationDate
in interface ISchematicDiagram
date
- The date (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Date getLastUpdateDate() throws IOException, AutomationException
getLastUpdateDate
in interface ISchematicDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDiagram.getCreationDate()
public void setLastUpdateDate(Date date) throws IOException, AutomationException
setLastUpdateDate
in interface ISchematicDiagram
date
- The date (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getVersion() throws IOException, AutomationException
getVersion
in interface ISchematicDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVersion(String versionName) throws IOException, AutomationException
setVersion
in interface ISchematicDiagram
versionName
- The versionName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCreator() throws IOException, AutomationException
getCreator
in interface ISchematicDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDiagram
public void setCreator(String name) throws IOException, AutomationException
setCreator
in interface ISchematicDiagram
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getUpdatedBy() throws IOException, AutomationException
getUpdatedBy
in interface ISchematicDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUpdatedBy(String name) throws IOException, AutomationException
setUpdatedBy
in interface ISchematicDiagram
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPropertySet getBuilderPropertySet() throws IOException, AutomationException
getBuilderPropertySet
in interface ISchematicDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDiagram.alterBuilderPropertySet(com.esri.arcgis.system.IPropertySet)
public void alterBuilderPropertySet(IPropertySet propertySet) throws IOException, AutomationException
alterBuilderPropertySet
in interface ISchematicDiagram
propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDiagram.getBuilderPropertySet()
public void alterPropertySet(IPropertySet propertySet) throws IOException, AutomationException
alterPropertySet
in interface ISchematicDiagram
propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDiagram.getPropertySet()
public Date getLastModificationDate() throws IOException, AutomationException
getLastModificationDate
in interface ISchematicDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLastModificationDate(Date date) throws IOException, AutomationException
setLastModificationDate
in interface ISchematicDiagram
date
- The date (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getModifiedBy() throws IOException, AutomationException
getModifiedBy
in interface ISchematicDiagram
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setModifiedBy(String name) throws IOException, AutomationException
setModifiedBy
in interface ISchematicDiagram
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicElement getSchematicElements() throws IOException, AutomationException
getSchematicElements
in interface ISchematicElementContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicElement getSchematicElementsByType(int type) throws IOException, AutomationException
getSchematicElementsByType
in interface ISchematicElementContainer
type
- A com.esri.arcgis.schematic.esriSchematicElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicElement getSchematicElementByName(int type, String name) throws IOException, AutomationException
getSchematicElementByName
in interface ISchematicElementContainer
type
- A com.esri.arcgis.schematic.esriSchematicElementType constant (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws 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 IGeoDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws 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 IGeoDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFields getInvalidFields() throws IOException, AutomationException
getInvalidFields
in interface IValidate
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumRule getInvalidRules() throws IOException, AutomationException
The GetInvalidRules method returns an enumerator of rules that are currently violated by the row.
getInvalidRules
in interface IValidate
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumRule getInvalidRulesByField(String fieldName) throws IOException, AutomationException
The GetInvalidRulesByField method returns an enumerator of rules violated by the specified field of the row.
getInvalidRulesByField
in interface IValidate
fieldName
- The fieldName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean validate(String[] errorMessage) throws IOException, AutomationException
The Validate method indicates whether the row is violating any of its class's rules. A return value of true indicates the row is valid, while a return value of false indicates the row is violating one or more rules.
Validate 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 IValidate
errorMessage
- The errorMessage (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void replaceDataSource(String initialDataSourceName, String replacingDataSourceName, ITrackCancel trackCancel) throws IOException, AutomationException
replaceDataSource
in interface ISchematicDataSourceManager
initialDataSourceName
- The initialDataSourceName (in)replacingDataSourceName
- The replacingDataSourceName (in)trackCancel
- A reference to a com.esri.arcgis.system.ITrackCancel (in, optional, pass 0 if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |