Interface MetamodelResource
-
- All Superinterfaces:
AbstractResource
- All Known Implementing Classes:
MetamodelResourceImpl
public interface MetamodelResource extends AbstractResource
A representation of the model object 'Metamodel Resource'. Resource for metamodel partsThe following features are supported:
- See Also:
MigrationPackage.getMetamodelResource()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Metamodel
getMetamodel()
Returns the value of the 'Metamodel' container reference.org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage>
getRootPackages()
Returns the value of the 'Root Packages' reference list.void
setMetamodel(Metamodel value)
Sets the value of the 'Metamodel
' container reference.-
Methods inherited from interface org.eclipse.emf.edapt.spi.migration.AbstractResource
getEncoding, getUri, setEncoding, setUri
-
-
-
-
Method Detail
-
getRootPackages
org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage> getRootPackages()
Returns the value of the 'Root Packages' reference list. The list contents are of typeEPackage
.If the meaning of the 'Root Packages' reference list isn't clear, there really should be more of a description here...
Packages that constitute the root of a metamodel resource- Returns:
- the value of the 'Root Packages' reference list.
- See Also:
MigrationPackage.getMetamodelResource_RootPackages()
-
getMetamodel
Metamodel getMetamodel()
Returns the value of the 'Metamodel' container reference. It is bidirectional and its opposite is 'Resources
'.If the meaning of the 'Metamodel' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Metamodel' container reference.
- See Also:
setMetamodel(Metamodel)
,MigrationPackage.getMetamodelResource_Metamodel()
,Metamodel.getResources()
-
setMetamodel
void setMetamodel(Metamodel value)
Sets the value of the 'Metamodel
' container reference.- Parameters:
value
- the new value of the 'Metamodel' container reference.- See Also:
getMetamodel()
-
-