Package io.lionweb.language
Class Link<T extends M3Node>
java.lang.Object
io.lionweb.model.impl.AbstractClassifierInstance<Concept>
io.lionweb.model.impl.M3Node<T>
io.lionweb.language.Feature<T>
io.lionweb.language.Link<T>
- All Implemented Interfaces:
IKeyed<T>,INamed,NamespacedEntity,ClassifierInstance<Concept>,HasFeatureValues,HasSettableParent,Node
- Direct Known Subclasses:
Containment,Reference
Represent a connection to an
Classifier.
An Invoice can be connected to its InvoiceLines and to a Customer.
- See Also:
-
Ecore equivalent EReference- MPS equivalent LinkDeclaration in local MPS
MPS equivalent SAbstractLink in SModel
-
Field Summary
Fields inherited from class io.lionweb.model.impl.AbstractClassifierInstance
annotations -
Constructor Summary
ConstructorsConstructorDescriptionLink()Link(LionWebVersion lionWebVersion) Link(LionWebVersion lionWebVersion, String name, Classifier container) Link(LionWebVersion lionWebVersion, String name, String id) Link(String name, Classifier container) -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleanbooleanisSingle()setMultiple(boolean multiple) setType(Classifier type) toString()Methods inherited from class io.lionweb.language.Feature
getContainer, getDeclaringLanguage, getKey, getName, isOptional, isRequired, setKey, setName, setOptionalMethods 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
getClassifier, getContainmentFeature, getRoot, isRoot, thisAndAllDescendants
-
Constructor Details
-
Link
public Link() -
Link
-
Link
-
Link
-
Link
public Link(@Nonnull LionWebVersion lionWebVersion, @Nullable String name, @Nullable Classifier container) -
Link
-
-
Method Details