Interface ModelResource
-
- All Superinterfaces:
AbstractResource
- All Known Implementing Classes:
ModelResourceImpl
public interface ModelResource extends AbstractResource
A representation of the model object 'Model Resource'. Resource for model partsThe following features are supported:
- See Also:
MigrationPackage.getModelResource()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Model
getModel()
Returns the value of the 'Model' container reference.org.eclipse.emf.common.util.EList<Instance>
getRootInstances()
Returns the value of the 'Root Instances' reference list.void
setModel(Model value)
Sets the value of the 'Model
' container reference.-
Methods inherited from interface org.eclipse.emf.edapt.spi.migration.AbstractResource
getEncoding, getUri, setEncoding, setUri
-
-
-
-
Method Detail
-
getRootInstances
org.eclipse.emf.common.util.EList<Instance> getRootInstances()
Returns the value of the 'Root Instances' reference list. The list contents are of typeInstance
.If the meaning of the 'Root Instances' reference list isn't clear, there really should be more of a description here...
The instances which are the root elements of the resource- Returns:
- the value of the 'Root Instances' reference list.
- See Also:
MigrationPackage.getModelResource_RootInstances()
-
getModel
Model getModel()
Returns the value of the 'Model' container reference. It is bidirectional and its opposite is 'Resources
'.If the meaning of the 'Model' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Model' container reference.
- See Also:
setModel(Model)
,MigrationPackage.getModelResource_Model()
,Model.getResources()
-
setModel
void setModel(Model value)
Sets the value of the 'Model
' container reference.- Parameters:
value
- the new value of the 'Model' container reference.- See Also:
getModel()
-
-