Package io.lionweb.language
Class Interface
java.lang.Object
- All Implemented Interfaces:
IKeyed<Interface>,INamed,NamespacedEntity,NamespaceProvider,ClassifierInstance<Concept>,HasFeatureValues,HasSettableParent,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 theisInterfaceflag 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.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 TypeMethodDescriptionvoidaddExtendedInterface(Interface extendedInterface) List<Classifier<?>>The concept of which this Node is an instance.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
-
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:
inheritedFeaturesin classClassifier<Interface>
-
getClassifier
Description copied from interface:NodeThe concept of which this Node is an instance. The Concept should not be abstract. -
directAncestors
- Specified by:
directAncestorsin classClassifier<Interface>
-
allExtendedInterfaces
-