Class Interface
java.lang.Object
- All Implemented Interfaces:
IKeyed<Interface>
,INamed
,NamespacedEntity
,NamespaceProvider
,ClassifierInstance<Concept>
,HasFeatureValues
,Node
An Interface represents a category of entities sharing some similar characteristics.
For example, Named would be an Interface.
- See Also:
-
Ecore equivalent EClass (with the
isInterface
flag set totrue
)- MPS equivalent Concept Interface in documentation
- MPS equivalent InterfaceConceptDeclaration in local MPS
MPS equivalent SInterfaceConcept in SModel
-
Field Summary
Fields inherited from class io.lionweb.lioncore.java.model.impl.AbstractClassifierInstance
annotations
-
Constructor Summary
ConstructorsConstructorDescriptionInterface
(LionWebVersion lionWebVersion) Interface
(LionWebVersion lionWebVersion, Language language, String name) Interface
(LionWebVersion lionWebVersion, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addExtendedInterface
(Interface extendedInterface) List<Classifier<?>>
The concept of which this Node is an instance.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
-
Interface
public Interface() -
Interface
-
Interface
-
Interface
-
Interface
-
Interface
public Interface(@Nonnull LionWebVersion lionWebVersion, @Nullable Language language, @Nullable String name) -
Interface
-
Interface
-
Interface
-
-
Method Details
-
getExtendedInterfaces
-
addExtendedInterface
-
inheritedFeatures
- Specified by:
inheritedFeatures
in classClassifier<Interface>
-
getClassifier
Description copied from interface:Node
The concept of which this Node is an instance. The Concept should not be abstract. -
directAncestors
- Specified by:
directAncestors
in classClassifier<Interface>
-
allExtendedInterfaces
-