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 SModel
All 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, toString
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, setReferenceValues
Methods inherited from class io.lionweb.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.model.ClassifierInstance
addAnnotation, getAnnotations, getAnnotations, removeAnnotation
Methods inherited from interface io.lionweb.model.HasFeatureValues
removeChild, removeReferenceValue, removeReferenceValue
Methods inherited from interface io.lionweb.language.NamespacedEntity
qualifiedName
Methods 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:Node
The concept of which this Node is an instance. The Concept should not be abstract.
-