|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface holds all the data needed to import a RAS asset. It represents the model part of the model-view-controller implementation of the RAS import service. Although it can be, it's not intended to be implemented by clients. Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability.
| Field Summary |
| Fields inherited from interface com.ibm.xtools.ras.core.data.IDataModel |
NULL |
| Method Summary | |
void |
close()
Closes and releases all resources being held by the data model. |
Asset |
getAsset(IProgressMonitor progressMonitor)
Retrieve the Asset for this data model. |
String |
getAssetPath()
Retrieve the asset path set by setAssetPath. |
IRelatedAssetManager |
getRelatedAssetManager(IProgressMonitor progressMonitor)
Retrieve the IRelatedAssetManager associated with the
Asset for this data model. |
void |
setAssetPath(String assetPath)
Set the asset file path for the import data model. |
| Methods inherited from interface com.ibm.xtools.ras.core.data.IDataModel |
addDataModelListener, containsProperty, getProperty, getPropertyAsBoolean, getPropertyAsInteger, getPropertyAsString, registerValidator, removeDataModelListener, removeProperty, setProperty, setProperty, setProperty, unregisterValidator, validateAll, validateProperty |
| Method Detail |
public void setAssetPath(String assetPath)
assetPath - the asset file path to the asset being imported.
IllegalArgumentException - if assetPath is nullpublic String getAssetPath()
setAssetPath.
null if it doesn't exist.public Asset getAsset(IProgressMonitor progressMonitor)
Asset for this data model.
progressMonitor - to monitor progress of getting the asset.
getAsset() could be long running if a large
asset is being retrieved the first time.
public IRelatedAssetManager getRelatedAssetManager(IProgressMonitor progressMonitor)
IRelatedAssetManager associated with the
Asset for this data model.
progressMonitor - to monitor progress of getting the related asset manager for
this asset. getRelatedAssetManager could be
long running especially the first time it is invoked on large
assets.
public void close()
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.