Package io.lionweb.language
Class LanguageEntity<T extends M3Node>
java.lang.Object
io.lionweb.model.impl.AbstractClassifierInstance<Concept>
io.lionweb.model.impl.M3Node<T>
io.lionweb.language.LanguageEntity<T>
- All Implemented Interfaces:
IKeyed<T>,INamed,NamespacedEntity,ClassifierInstance<Concept>,HasFeatureValues,HasSettableParent,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.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.model.impl.M3Node
addChild, addContainmentMultipleValue, addReferenceMultipleValue, addReferenceValue, equals, getChildren, getContainmentMultipleValue, getContainmentSingleValue, getID, getLionWebVersion, getParent, getPropertyValue, getPropertyValue, getPropertyValue, getReferenceMultipleValue, getReferenceSingleValue, getReferenceValues, hashCode, removeChild, setID, setParent, setPropertyValue, setPropertyValue, setReferenceSingleValue, setReferenceValuesMethods inherited from class io.lionweb.model.impl.AbstractClassifierInstance
addAnnotation, getAnnotations, getAnnotations, removeAnnotation, removeChild, removeReferenceValue, removeReferenceValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.lionweb.model.ClassifierInstance
addAnnotation, getAnnotations, getAnnotations, removeAnnotationMethods inherited from interface io.lionweb.model.HasFeatureValues
removeChild, removeReferenceValue, removeReferenceValueMethods inherited from interface io.lionweb.language.NamespacedEntity
qualifiedNameMethods inherited from interface io.lionweb.model.Node
getClassifier, getContainmentFeature, getRoot, 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:
getNamein interfaceINamed- Specified by:
getNamein interfaceNamespacedEntity
-
setName
-
getContainer
- Specified by:
getContainerin interfaceNamespacedEntity
-
getKey
-
setKey
-
toString
-