|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.schematic.SchematicDataset
public class SchematicDataset
Provides access to members that manage the schematic dataset.
Constructor Summary | |
---|---|
SchematicDataset(Object obj)
Construct a SchematicDataset using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
addISchematicAlgorithmEventsListener(ISchematicAlgorithmEvents theListener)
addISchematicAlgorithmEventsListener. |
void |
addISchematicDatasetEventsListener(ISchematicDatasetEvents theListener)
addISchematicDatasetEventsListener. |
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. |
ISchematicDataSource |
createSchematicDataSource(String name,
ISchematicConnection schematicConnection)
Creates a new schematic data source inside the schematic dataset. |
ISchematicDiagramClass |
createSchematicDiagramClass(String name)
Creates a new schematic diagram class inside the schematic dataset. |
ISchematicElementClass |
createSchematicElementClass(String name,
int type)
Creates a new schematic element class inside the schematic dataset. |
ISchematicFolder |
createSchematicFolder(String name)
Creates a new schematic folder in the schematic dataset. |
void |
delete()
Deletes this dataset. |
boolean |
equals(Object o)
Compare this object with another |
IEnumSchematicDataSource |
findUnusedDataSources(ITrackCancel cancelTracker)
Retrieves the unused schematic data sources inside the schematic dataset. |
String |
getBrowseName()
The browse name of the dataset. |
int |
getBugfixVersion()
Schematic database bugfix version number. |
String |
getCategory()
The category of the dataset. |
String |
getCurrentLock()
Schematic Dataset Lock status. |
void |
getCurrentSchemaLocks(IEnumSchemaLockInfo[] schemaLockInfo)
The list of current locks. |
ISchematicDataSource |
getDefaultSchematicDataSource()
Cuurent schematic data source. |
IName |
getFullName()
The associated name object. |
int |
getID()
ID of the schematic dataset. |
int |
getMajorVersion()
Schematic database major version number. |
IPropertySet |
getMetadata()
The PropertySet containing metadata. |
int |
getMinorVersion()
Schematic database minor version number. |
String |
getName()
The name of the Dataset. |
IPropertySet |
getPropertySet()
The set of properties for the dataset. |
ISchematicDataSource |
getSchematicDataSource(String name)
Schematic data source referenced by the specified Name. |
IEnumSchematicDataSource |
getSchematicDataSources()
Schematic data sources enumeration within the schematic data source container. |
ISchematicDiagram |
getSchematicDiagramByID(ISchematicDiagramClass schematicDiagramClass,
int iD)
Schematic diagram referenced by the specified ID. |
ISchematicDiagram |
getSchematicDiagramByName(ISchematicDiagramClass schematicDiagramClass,
String name)
Schematic diagram referenced by the specified Name. |
ISchematicDiagramClass |
getSchematicDiagramClass(String name)
Schematic diagram class referenced by the specified Name. |
IEnumSchematicDiagramClass |
getSchematicDiagramClasses()
Schematic diagram classes enumeration within the schematic diagram class container. |
IEnumSchematicDiagram |
getSchematicDiagrams()
Schematic diagrams enumeration within the schematic dataset or schematic folder container. |
ISchematicElementClass |
getSchematicElementClass(String name)
Schematic diagram class referenced by the specified Name. |
IEnumSchematicElementClass |
getSchematicElementClasses()
Schematic element classes enumeration within the schematic element class container. |
ISchematicFolder |
getSchematicFolderByID(int iD)
Schematic folder referenced by the specified ID. |
ISchematicFolder |
getSchematicFolderByName(String name)
Schematic folder referenced by the specified Name. |
IEnumSchematicFolder |
getSchematicFolders()
Schematic folders enumeration within the schematic dataset or the schematic folder container. |
IEnumSchematicInMemoryDiagram |
getSchematicInMemoryDiagrams()
Opened schematic in memory diagrams of the schematic dataset. |
ISchematicWorkspace |
getSchematicWorkspace()
Schematic workspace related to the schematic dataset. |
IEnumDataset |
getSubsets()
Datasets contained within this dataset. |
int |
getType()
The type of the Dataset. |
IWorkspace |
getWorkspace()
The workspace containing this dataset. |
int |
hashCode()
the hashcode for this object |
void |
importFeatureLayer(IFeatureLayer featureLayer,
ISchematicDiagramClass schematicDiagramClass,
boolean symbology,
boolean overwriteSymbols,
boolean staticStorage)
Imports a feature layer and associates the created schematic element class to the specified schematic diagram class. |
void |
importObjectClass(IObjectClass objectClass,
ISchematicDiagramClass schematicDiagramClass,
boolean forceType,
int type)
Imports an object class and associates the created schematic element class to the specified schematic diagram class. |
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 |
isCanUpgrade()
Indicates if the schematic database can be upgraded with this interface. |
boolean |
isCurrentRelease()
Indicates if the schematic database is at the current release level. |
boolean |
isDesignMode()
Indicates if the schematic dataset design mode is activated. |
boolean |
isHasChanged()
Indicates if the schematic dataset has changed. |
void |
removeISchematicAlgorithmEventsListener(ISchematicAlgorithmEvents theListener)
removeISchematicAlgorithmEventsListener. |
void |
removeISchematicDatasetEventsListener(ISchematicDatasetEvents theListener)
removeISchematicDatasetEventsListener. |
void |
rename(String name)
Renames this Dataset. |
void |
save(int saveVersion,
boolean canDeleteNonEmptyTables)
Saves the schematic dataset. |
void |
setBrowseName(String name)
The browse name of the dataset. |
void |
setCurrentLock(String lockInfo)
Schematic Dataset Lock status. |
void |
setDesignMode(boolean designMode)
Indicates if the schematic dataset design mode is activated. |
void |
setHasChanged(boolean hasChanged)
Indicates if the schematic dataset has changed. |
void |
setMetadata(IPropertySet ppPropertySet)
The PropertySet containing metadata. |
void |
synchronize(int action,
int interval)
Updates metadata with the current properties; may create metadata if it doesn't already exist. |
void |
upgrade()
Upgrades the schematic database to the current release version level. |
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 SchematicDataset(Object obj) throws IOException
obj
to SchematicDataset
. *
SchematicDataset o = (SchematicDataset)obj; // will not work
SchematicDataset o = new SchematicDataset(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
SchematicDataset theSchematicDataset = (SchematicDataset) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addISchematicDatasetEventsListener(ISchematicDatasetEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.schematic.ISchematicDatasetEvents interface.
IOException
- If there are communications problems.public void removeISchematicDatasetEventsListener(ISchematicDatasetEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.schematic.ISchematicDatasetEvents interface.
IOException
- If there are communications problems.public void addISchematicAlgorithmEventsListener(ISchematicAlgorithmEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.schematic.ISchematicAlgorithmEvents interface.
IOException
- If there are communications problems.public void removeISchematicAlgorithmEventsListener(ISchematicAlgorithmEvents theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.schematic.ISchematicAlgorithmEvents interface.
IOException
- If there are communications problems.public int getID() throws IOException, AutomationException
getID
in interface ISchematicDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicWorkspace getSchematicWorkspace() throws IOException, AutomationException
getSchematicWorkspace
in interface ISchematicDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasChanged() throws IOException, AutomationException
isHasChanged
in interface ISchematicDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHasChanged(boolean hasChanged) throws IOException, AutomationException
setHasChanged
in interface ISchematicDataset
hasChanged
- The hasChanged (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(int saveVersion, boolean canDeleteNonEmptyTables) throws IOException, AutomationException
save
in interface ISchematicDataset
saveVersion
- A com.esri.arcgis.system.esriArcGISVersion constant (in)canDeleteNonEmptyTables
- The canDeleteNonEmptyTables (in, optional, pass false if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicInMemoryDiagram getSchematicInMemoryDiagrams() throws IOException, AutomationException
getSchematicInMemoryDiagrams
in interface ISchematicDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagramClass createSchematicDiagramClass(String name) throws IOException, AutomationException
createSchematicDiagramClass
in interface ISchematicDataset
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDataset.createSchematicElementClass(String, int)
,
ISchematicDataset
public ISchematicElementClass createSchematicElementClass(String name, int type) throws IOException, AutomationException
createSchematicElementClass
in interface ISchematicDataset
name
- The name (in)type
- A com.esri.arcgis.schematic.esriSchematicElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDataset.createSchematicDiagramClass(String)
public ISchematicDataSource createSchematicDataSource(String name, ISchematicConnection schematicConnection) throws IOException, AutomationException
createSchematicDataSource
in interface ISchematicDataset
name
- The name (in)schematicConnection
- A reference to a com.esri.arcgis.schematic.ISchematicConnection (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicFolder createSchematicFolder(String name) throws IOException, AutomationException
createSchematicFolder
in interface ISchematicDataset
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDataSource getDefaultSchematicDataSource() throws IOException, AutomationException
getDefaultSchematicDataSource
in interface ISchematicDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDesignMode() throws IOException, AutomationException
isDesignMode
in interface ISchematicDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDesignMode(boolean designMode) throws IOException, AutomationException
setDesignMode
in interface ISchematicDataset
designMode
- The designMode (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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 void delete() throws IOException, AutomationException
Certain feature classes, such as network and topology feature classes, cannot be deleted until their containing objects are deleted.
delete
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 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 setCurrentLock(String lockInfo) throws IOException, AutomationException
setCurrentLock
in interface ISchematicDatasetLock
lockInfo
- The lockInfo (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCurrentLock() throws IOException, AutomationException
getCurrentLock
in interface ISchematicDatasetLock
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicFolder getSchematicFolders() throws IOException, AutomationException
getSchematicFolders
in interface ISchematicFolderContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicFolder getSchematicFolderByID(int iD) throws IOException, AutomationException
getSchematicFolderByID
in interface ISchematicFolderContainer
iD
- The iD (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicFolder getSchematicFolderByName(String name) throws IOException, AutomationException
getSchematicFolderByName
in interface ISchematicFolderContainer
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicDiagram getSchematicDiagrams() throws IOException, AutomationException
getSchematicDiagrams
in interface ISchematicDiagramContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagram getSchematicDiagramByID(ISchematicDiagramClass schematicDiagramClass, int iD) throws IOException, AutomationException
getSchematicDiagramByID
in interface ISchematicDiagramContainer
schematicDiagramClass
- A reference to a com.esri.arcgis.schematic.ISchematicDiagramClass (in)iD
- The iD (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagram getSchematicDiagramByName(ISchematicDiagramClass schematicDiagramClass, String name) throws IOException, AutomationException
getSchematicDiagramByName
in interface ISchematicDiagramContainer
schematicDiagramClass
- A reference to a com.esri.arcgis.schematic.ISchematicDiagramClass (in)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 boolean isCanUpgrade() throws IOException, AutomationException
isCanUpgrade
in interface ISchematicDatabaseRelease
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDatabaseRelease.upgrade()
public boolean isCurrentRelease() throws IOException, AutomationException
isCurrentRelease
in interface ISchematicDatabaseRelease
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMajorVersion() throws IOException, AutomationException
getMajorVersion
in interface ISchematicDatabaseRelease
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDatabaseRelease.getMinorVersion()
public int getMinorVersion() throws IOException, AutomationException
getMinorVersion
in interface ISchematicDatabaseRelease
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDatabaseRelease.getMajorVersion()
public int getBugfixVersion() throws IOException, AutomationException
getBugfixVersion
in interface ISchematicDatabaseRelease
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void upgrade() throws IOException, AutomationException
upgrade
in interface ISchematicDatabaseRelease
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISchematicDatabaseRelease.isCanUpgrade()
public void importObjectClass(IObjectClass objectClass, ISchematicDiagramClass schematicDiagramClass, boolean forceType, int type) throws IOException, AutomationException
importObjectClass
in interface ISchematicDatasetImport
objectClass
- A reference to a com.esri.arcgis.geodatabase.IObjectClass (in)schematicDiagramClass
- A reference to a com.esri.arcgis.schematic.ISchematicDiagramClass (in)forceType
- The forceType (in)type
- A com.esri.arcgis.schematic.esriSchematicElementType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void importFeatureLayer(IFeatureLayer featureLayer, ISchematicDiagramClass schematicDiagramClass, boolean symbology, boolean overwriteSymbols, boolean staticStorage) throws IOException, AutomationException
importFeatureLayer
in interface ISchematicDatasetImport
featureLayer
- A reference to a com.esri.arcgis.carto.IFeatureLayer (in)schematicDiagramClass
- A reference to a com.esri.arcgis.schematic.ISchematicDiagramClass (in)symbology
- The symbology (in)overwriteSymbols
- The overwriteSymbols (in)staticStorage
- The staticStorage (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicDataSource findUnusedDataSources(ITrackCancel cancelTracker) throws IOException, AutomationException
findUnusedDataSources
in interface ISchematicDatasetDesign
cancelTracker
- A reference to a com.esri.arcgis.system.ITrackCancel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicDataSource getSchematicDataSources() throws IOException, AutomationException
getSchematicDataSources
in interface ISchematicDataSourceContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDataSource getSchematicDataSource(String name) throws IOException, AutomationException
getSchematicDataSource
in interface ISchematicDataSourceContainer
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicElementClass getSchematicElementClasses() throws IOException, AutomationException
getSchematicElementClasses
in interface ISchematicElementClassContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicElementClass getSchematicElementClass(String name) throws IOException, AutomationException
getSchematicElementClass
in interface ISchematicElementClassContainer
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumSchematicDiagramClass getSchematicDiagramClasses() throws IOException, AutomationException
getSchematicDiagramClasses
in interface ISchematicDiagramClassContainer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISchematicDiagramClass getSchematicDiagramClass(String name) throws IOException, AutomationException
getSchematicDiagramClass
in interface ISchematicDiagramClassContainer
name
- The name (in)
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 |