Interface Type
-
- All Known Implementing Classes:
TypeImpl
public interface Type
A representation of the model object 'Type'. A container for instances of a certain classThe following features are supported:
- See Also:
MigrationPackage.getType()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.ecore.EClass
getEClass()
Returns the value of the 'EClass' reference.org.eclipse.emf.common.util.EList<Instance>
getInstances()
Returns the value of the 'Instances' containment reference list.Model
getModel()
Returns the value of the 'Model' container reference.Instance
newInstance()
Create an instance of the typevoid
setEClass(org.eclipse.emf.ecore.EClass value)
Sets the value of the 'EClass
' reference.void
setModel(Model value)
Sets the value of the 'Model
' container reference.
-
-
-
Method Detail
-
getEClass
org.eclipse.emf.ecore.EClass getEClass()
Returns the value of the 'EClass' reference.If the meaning of the 'EClass' reference isn't clear, there really should be more of a description here...
Get the class to which the instances of this type conform- Returns:
- the value of the 'EClass' reference.
- See Also:
setEClass(EClass)
,MigrationPackage.getType_EClass()
-
setEClass
void setEClass(org.eclipse.emf.ecore.EClass value)
Sets the value of the 'EClass
' reference.- Parameters:
value
- the new value of the 'EClass' reference.- See Also:
getEClass()
-
getInstances
org.eclipse.emf.common.util.EList<Instance> getInstances()
Returns the value of the 'Instances' containment reference list. The list contents are of typeInstance
. It is bidirectional and its opposite is 'Type
'.If the meaning of the 'Instances' containment reference list isn't clear, there really should be more of a description here...
Get the instances that conform to the class- Returns:
- the value of the 'Instances' containment reference list.
- See Also:
MigrationPackage.getType_Instances()
,Instance.getType()
-
getModel
Model getModel()
Returns the value of the 'Model' container reference. It is bidirectional and its opposite is 'Types
'.If the meaning of the 'Model' container reference isn't clear, there really should be more of a description here...
Get the model by which these instances are contained- Returns:
- the value of the 'Model' container reference.
- See Also:
setModel(Model)
,MigrationPackage.getType_Model()
,Model.getTypes()
-
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()
-
newInstance
Instance newInstance()
Create an instance of the type
-
-