Class LanguageEntity<T extends M3Node>
java.lang.Object
io.lionweb.lioncore.java.model.impl.AbstractClassifierInstance<Concept>
io.lionweb.lioncore.java.model.impl.M3Node<T>
io.lionweb.lioncore.java.language.LanguageEntity<T>
- All Implemented Interfaces:
IKeyed<T>
,INamed
,NamespacedEntity
,ClassifierInstance<Concept>
,HasFeatureValues
,Node
- Direct Known Subclasses:
Classifier
,DataType
public abstract class LanguageEntity<T extends M3Node>
extends M3Node<T>
implements NamespacedEntity, IKeyed<T>
A LanguageEntity is an element with an identity within a
Language
.
For example, Invoice, Currency, Named, or String could be LanguageEntities.
- See Also:
-
Ecore equivalent EClassifier
- MPS equivalent IStructureElement in local MPS
MPS equivalent SElement in SModel
-
Field Summary
Fields inherited from class io.lionweb.lioncore.java.model.impl.AbstractClassifierInstance
annotations
-
Constructor Summary
ConstructorsConstructorDescriptionLanguageEntity
(Language language, String name) LanguageEntity
(Language language, String name, String id) LanguageEntity
(LionWebVersion lionWebVersion) LanguageEntity
(LionWebVersion lionWebVersion, Language language, String name) LanguageEntity
(LionWebVersion lionWebVersion, Language language, String name, String id) -
Method Summary
Methods inherited from class io.lionweb.lioncore.java.model.impl.M3Node
addChild, addContainmentMultipleValue, addReferenceMultipleValue, addReferenceValue, equals, getChildren, getContainmentFeature, getContainmentMultipleValue, getContainmentSingleValue, getID, getLionWebVersion, getParent, getPropertyValue, getPropertyValue, getPropertyValue, getReferenceMultipleValue, getReferenceSingleValue, getReferenceValues, getRoot, hashCode, removeChild, setID, setParent, setPropertyValue, setPropertyValue, setReferenceSingleValue, setReferenceValues
Methods inherited from class io.lionweb.lioncore.java.model.impl.AbstractClassifierInstance
addAnnotation, getAnnotations, getAnnotations, removeAnnotation, removeChild, removeReferenceValue, removeReferenceValue
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.lionweb.lioncore.java.model.ClassifierInstance
addAnnotation, getAnnotations, getAnnotations, removeAnnotation
Methods inherited from interface io.lionweb.lioncore.java.model.HasFeatureValues
removeChild, removeReferenceValue, removeReferenceValue
Methods inherited from interface io.lionweb.lioncore.java.language.NamespacedEntity
qualifiedName
Methods inherited from interface io.lionweb.lioncore.java.model.Node
getClassifier, isRoot, thisAndAllDescendants
-
Constructor Details
-
LanguageEntity
-
LanguageEntity
public LanguageEntity() -
LanguageEntity
public LanguageEntity(@Nonnull LionWebVersion lionWebVersion, @Nullable Language language, @Nullable String name, @Nonnull String id) -
LanguageEntity
-
LanguageEntity
-
LanguageEntity
public LanguageEntity(@Nonnull LionWebVersion lionWebVersion, @Nullable Language language, @Nullable String name)
-
-
Method Details
-
getLanguage
This method returns the Language containing this element. It is the parent, casted to Language.- Returns:
-
getName
- Specified by:
getName
in interfaceINamed
- Specified by:
getName
in interfaceNamespacedEntity
-
setName
-
getContainer
- Specified by:
getContainer
in interfaceNamespacedEntity
-
getKey
-
setKey
-
toString
-