Class Link<T extends M3Node>
java.lang.Object
io.lionweb.lioncore.java.model.impl.AbstractClassifierInstance<Concept>
io.lionweb.lioncore.java.model.impl.M3Node<T>
io.lionweb.lioncore.java.language.Feature<T>
io.lionweb.lioncore.java.language.Link<T>
- All Implemented Interfaces:
IKeyed<T>
,INamed
,NamespacedEntity
,ClassifierInstance<Concept>
,HasFeatureValues
,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.lioncore.java.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()
boolean
boolean
isSingle()
setMultiple
(boolean multiple) setType
(Classifier type) toString()
Methods inherited from class io.lionweb.lioncore.java.language.Feature
getContainer, getDeclaringLanguage, getKey, getName, isOptional, isRequired, setKey, setName, setOptional
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
getClassifier, 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