Package io.lionweb.language
Class Concept
java.lang.Object
- All Implemented Interfaces:
IKeyed<Concept>,INamed,NamespacedEntity,NamespaceProvider,ClassifierInstance<Concept>,HasFeatureValues,HasSettableParent,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 theisInterfaceflag 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.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 TypeMethodDescriptionvoidaddImplementedInterface(Interface iface) List<Classifier<?>>The concept of which this Node is an instance.booleanbooleanvoidsetAbstract(boolean value) voidsetExtendedConcept(Concept extended) voidsetPartition(boolean value) Methods inherited from class io.lionweb.language.Classifier
addFeature, allAncestors, allContainments, allFeatures, allLinks, allProperties, allReferences, combineFeatures, getContainmentByID, getContainmentByMetaPointer, getContainmentByName, getFeatureByName, getFeatures, getLinkByName, getPropertyByID, getPropertyByMetaPointer, getPropertyByName, getReferenceByID, getReferenceByMetaPointer, getReferenceByName, namespaceQualifier, removeFeature, requireContainmentByName, requireReferenceByNameMethods 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
-
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:
directAncestorsin 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:
inheritedFeaturesin classClassifier<Concept>
-
getClassifier
Description copied from interface:NodeThe concept of which this Node is an instance. The Concept should not be abstract.
-