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
FieldsModifier and TypeFieldDescriptionprotected IModelprotected MetaClassprotected Stringprotected ModelRepositoryprotected IEolModuleprotected String -
Constructor Summary
ConstructorsConstructorDescriptionEolModelElementType(String modelAndMetaClass) EolModelElementType(String modelAndMetaClass, IEolContext context) EolModelElementType(MetaClass metaClass) -
Method Summary
Modifier and TypeMethodDescriptionCollection<?>all()Collection<?>createInstance(List<Object> parameters) booleanCollection<?>getAll()Collection<?>Collection<?>Collection<?>getModel()getModel(boolean updateCached) Fetches the model from the module's context.getName()inthashCode()booleanbooleanbooleanvoidsetMetaClass(MetaClass metaClass) voidsetModelName(String model) voidsetTypeName(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:
createInstancein classEolType- Throws:
EolRuntimeException
-
createInstance
- Specified by:
createInstancein 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:
getParentTypesin classEolType
-