Package io.lionweb.language
Class PrimitiveType
java.lang.Object
- All Implemented Interfaces:
IKeyed<PrimitiveType>,INamed,NamespacedEntity,ClassifierInstance<Concept>,HasFeatureValues,HasSettableParent,Node
This represents an arbitrary primitive value, which is not an enumeration.
BooleanType, NumberType, and StringType are common PrimitiveTypes.
- See Also:
-
Ecore equivalent EDataType- MPS equivalent PrimitiveDataTypeDeclaration in local MPS
MPS equivalent SPrimitiveDataType in SModelAll PrimitiveTypes in LionCore are builtin.
-
Field Summary
Fields inherited from class io.lionweb.model.impl.AbstractClassifierInstance
annotations -
Constructor Summary
ConstructorsConstructorDescriptionPrimitiveType(Language language, String name) PrimitiveType(Language language, String name, String id) PrimitiveType(LionWebVersion lionWebVersion, Language language, String name) PrimitiveType(LionWebVersion lionWebVersion, String id) PrimitiveType(String id) -
Method Summary
Modifier and TypeMethodDescriptionThe concept of which this Node is an instance.Methods inherited from class io.lionweb.language.LanguageEntity
getContainer, getKey, getLanguage, getName, setKey, setName, toStringMethods 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
getContainmentFeature, getRoot, isRoot, thisAndAllDescendants
-
Constructor Details
-
PrimitiveType
public PrimitiveType() -
PrimitiveType
-
PrimitiveType
-
PrimitiveType
public PrimitiveType(@Nonnull LionWebVersion lionWebVersion, @Nullable Language language, @Nullable String name) -
PrimitiveType
-
PrimitiveType
-
-
Method Details
-
getClassifier
Description copied from interface:NodeThe concept of which this Node is an instance. The Concept should not be abstract.
-