Package org.eclipse.epsilon.eol.types
Class EolModelElementType
java.lang.Object
org.eclipse.epsilon.eol.types.EolType
org.eclipse.epsilon.eol.types.EolModelElementType
-
Field Summary
Modifier and TypeFieldDescriptionprotected IModel
protected MetaClass
protected String
protected ModelRepository
protected IEolModule
protected String
-
Constructor Summary
ConstructorDescriptionEolModelElementType
(String modelAndMetaClass) EolModelElementType
(String modelAndMetaClass, IEolContext context) EolModelElementType
(MetaClass metaClass) -
Method Summary
Modifier and TypeMethodDescriptionCollection<?>
all()
Collection<?>
createInstance
(List<Object> parameters) boolean
Collection<?>
getAll()
Collection<?>
Collection<?>
Collection<?>
getModel()
getModel
(boolean updateCached) Fetches the model from the module's context.getName()
int
hashCode()
boolean
boolean
boolean
void
setMetaClass
(MetaClass metaClass) void
setModelName
(String model) void
setTypeName
(String type) toString()
Methods inherited from class org.eclipse.epsilon.eol.types.EolType
getParentType, isNot
-
Field Details
-
modelName
-
typeName
-
module
-
modelRepo
-
metaClass
-
cachedModelRef
-
-
Constructor Details
-
EolModelElementType
-
EolModelElementType
-
EolModelElementType
public EolModelElementType(String modelAndMetaClass, IEolContext context) throws EolModelNotFoundException, EolModelElementTypeNotFoundException
-
-
Method Details
-
getModelName
-
setModelName
-
getTypeName
-
setTypeName
-
getAllOfKind
-
getAllOfType
-
getAll
-
all
-
getAllInstances
-
allInstances
-
isInstantiable
-
isType
-
createInstance
- Specified by:
createInstance
in classEolType
- Throws:
EolRuntimeException
-
createInstance
- Specified by:
createInstance
in classEolType
- Throws:
EolRuntimeException
-
isKind
-
getName
-
getModel
-
getModel
Fetches the model from the module's context.- Parameters:
updateCached
- Whether to re-acquire reference to the model and model repository.- Returns:
- The model
- Throws:
EolModelElementTypeNotFoundException
- Since:
- 1.6
-
getMetaClass
-
setMetaClass
-
toString
-
hashCode
public int hashCode() -
equals
-
getParentTypes
- Overrides:
getParentTypes
in classEolType
-