Class Concept
java.lang.Object
- All Implemented Interfaces:
IKeyed<Concept>
,INamed
,NamespacedEntity
,NamespaceProvider
,ClassifierInstance<Concept>
,HasFeatureValues
,Node
A Concept represents a category of entities sharing the same structure.
For example, Invoice would be a Concept. Single entities could be Concept instances, such as Invoice #1/2022.
- See Also:
-
Ecore equivalent EClass (with the
isInterface
flag set tofalse
)- MPS equivalent Concept in documentation
- MPS equivalent ConceptDeclaration in local MPS
MPS equivalent SConcept in SModel
-
Field Summary
Fields inherited from class io.lionweb.lioncore.java.model.impl.AbstractClassifierInstance
annotations
-
Constructor Summary
ConstructorsConstructorDescriptionConcept()
Concept
(LionWebVersion lionWebVersion) Concept
(LionWebVersion lionWebVersion, Language language, String name) Concept
(LionWebVersion lionWebVersion, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addImplementedInterface
(Interface iface) List<Classifier<?>>
The concept of which this Node is an instance.boolean
boolean
void
setAbstract
(boolean value) void
setExtendedConcept
(Concept extended) void
setPartition
(boolean value) Methods inherited from class io.lionweb.lioncore.java.language.Classifier
addFeature, allAncestors, allContainments, allFeatures, allLinks, allProperties, allReferences, combineFeatures, getContainmentByID, getContainmentByMetaPointer, getContainmentByName, getFeatureByName, getFeatures, getLinkByName, getPropertyByID, getPropertyByMetaPointer, getPropertyByName, getReferenceByID, getReferenceByMetaPointer, getReferenceByName, namespaceQualifier, requireContainmentByName, requireReferenceByName
Methods inherited from class io.lionweb.lioncore.java.language.LanguageEntity
getContainer, getKey, getLanguage, getName, setKey, setName, toString
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
isRoot, thisAndAllDescendants
-
Constructor Details
-
Concept
public Concept() -
Concept
-
Concept
-
Concept
-
Concept
public Concept(@Nonnull LionWebVersion lionWebVersion, @Nullable Language language, @Nullable String name) -
Concept
-
Concept
-
Concept
-
-
Method Details
-
directAncestors
- Specified by:
directAncestors
in classClassifier<Concept>
-
isAbstract
public boolean isAbstract() -
setAbstract
public void setAbstract(boolean value) -
isPartition
public boolean isPartition() -
setPartition
public void setPartition(boolean value) -
getExtendedConcept
-
getImplemented
-
addImplementedInterface
-
setExtendedConcept
-
inheritedFeatures
- Specified by:
inheritedFeatures
in classClassifier<Concept>
-
getClassifier
Description copied from interface:Node
The concept of which this Node is an instance. The Concept should not be abstract.
-