T
- the type of the referenced elementpublic interface Reference<T extends ModelElementInstance>
Modifier and Type | Method and Description |
---|---|
Collection<ModelElementInstance> |
findReferenceSourceElements(ModelElementInstance referenceTargetElement)
Find all reference source element instances of the reference target model element instance
|
String |
getReferenceIdentifier(ModelElementInstance referenceSourceElement)
Get the reference identifier which is set in the reference source
|
ModelElementType |
getReferenceSourceElementType() |
Attribute<String> |
getReferenceTargetAttribute() |
T |
getReferenceTargetElement(ModelElementInstance modelElement) |
void |
setReferenceTargetElement(ModelElementInstance referenceSourceElement,
T referenceTargetElement) |
String getReferenceIdentifier(ModelElementInstance referenceSourceElement)
referenceSourceElement
- the reference source model element instanceT getReferenceTargetElement(ModelElementInstance modelElement)
void setReferenceTargetElement(ModelElementInstance referenceSourceElement, T referenceTargetElement)
Collection<ModelElementInstance> findReferenceSourceElements(ModelElementInstance referenceTargetElement)
referenceTargetElement
- the reference target model element instanceModelElementType getReferenceSourceElementType()
ModelElementType
of the source element.Copyright © 2019. All rights reserved.