Class ModelElementTypeFinder.ModelElementDescription
java.lang.Object
net.ssehub.easy.varModel.model.filter.ModelElementTypeFinder.ModelElementDescription
- Enclosing class:
ModelElementTypeFinder
This inner class is used as return type of the outer
ModelElementTypeFinder
that stores the relevant information (name, type, and class) of the model element
found in a Project.
This information can be used to identify this model element in an IVML-file for efficiently
by searching only the relevant part of the corresponding parse tree.- Author:
- kroeher
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ModelElementTypeFinder.ClassTypeStores the class the model element is an instance of.private StringStores the name of the model element.private StringStores the type of the model element. -
Constructor Summary
ConstructorsConstructorDescriptionModelElementDescription(String name, String type, ModelElementTypeFinder.ClassType clazz) Constructs anModelElementTypeFinder.ModelElementDescriptionthat provides the name, type and class of a model element. -
Method Summary
Modifier and TypeMethodDescriptionReturns the class of the model element thisModelElementTypeFinder.ModelElementDescriptiondescribes.Returns the name of the model element thisModelElementTypeFinder.ModelElementDescriptiondescribes.Returns the type of the model element thisModelElementTypeFinder.ModelElementDescriptiondescribes.
-
Field Details
-
elementName
Stores the name of the model element. -
elementType
Stores the type of the model element. -
elementClass
Stores the class the model element is an instance of.
-
-
Constructor Details
-
ModelElementDescription
Constructs anModelElementTypeFinder.ModelElementDescriptionthat provides the name, type and class of a model element.
-
-
Method Details
-
getElementName
Returns the name of the model element thisModelElementTypeFinder.ModelElementDescriptiondescribes.- Returns:
- the name of the model element as a
String
-
getElementType
Returns the type of the model element thisModelElementTypeFinder.ModelElementDescriptiondescribes.- Returns:
- the type of the model element as a
String
-
getElementClass
Returns the class of the model element thisModelElementTypeFinder.ModelElementDescriptiondescribes.- Returns:
- the
ModelElementTypeFinder.ClassTypethe the model element is an instance of
-