Class AttributeReferenceCollection<T extends ModelElementInstance>
java.lang.Object
org.camunda.bpm.model.xml.impl.type.reference.ReferenceImpl<T>
org.camunda.bpm.model.xml.impl.type.reference.AttributeReferenceImpl<T>
org.camunda.bpm.model.xml.type.reference.AttributeReferenceCollection<T>
- All Implemented Interfaces:
AttributeReference<T>
,Reference<T>
- Direct Known Subclasses:
CmmnAttributeElementReferenceCollection
public abstract class AttributeReferenceCollection<T extends ModelElementInstance>
extends AttributeReferenceImpl<T>
implements AttributeReference<T>
- Author:
- Roman Smirnov, Sebastian Menski
-
Field Summary
Fields inherited from class org.camunda.bpm.model.xml.impl.type.reference.AttributeReferenceImpl
referenceSourceAttribute
Fields inherited from class org.camunda.bpm.model.xml.impl.type.reference.ReferenceImpl
referenceTargetAttribute
-
Constructor Summary
ConstructorDescriptionAttributeReferenceCollection
(AttributeImpl<String> referenceSourceAttribute) -
Method Summary
Modifier and TypeMethodDescriptiongetReferenceTargetElements
(ModelElementInstance referenceSourceElement) protected abstract String
getTargetElementIdentifier
(T referenceTargetElement) protected void
performAddOperation
(ModelElementInstance referenceSourceElement, T referenceTargetElement) protected void
performClearOperation
(ModelElementInstance referenceSourceElement) protected void
performRemoveOperation
(ModelElementInstance referenceSourceElement, Object o) protected void
removeReference
(ModelElementInstance referenceSourceElement, ModelElementInstance referenceTargetElement) Remove the reference in the reference source model element instanceprotected void
setReferenceIdentifier
(ModelElementInstance referenceSourceElement, String referenceIdentifier) Set the reference identifier in the reference sourceprotected void
updateReference
(ModelElementInstance referenceSourceElement, String oldIdentifier, String newIdentifier) Update the reference identifier of the reference source model element instanceMethods inherited from class org.camunda.bpm.model.xml.impl.type.reference.AttributeReferenceImpl
getReferenceIdentifier, getReferenceSourceAttribute, getReferenceSourceElementType
Methods inherited from class org.camunda.bpm.model.xml.impl.type.reference.ReferenceImpl
findReferenceSourceElements, getReferenceTargetAttribute, getReferenceTargetElement, referencedElementRemoved, referencedElementUpdated, setReferenceTargetAttribute, setReferenceTargetElement, setReferenceTargetElementType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.camunda.bpm.model.xml.type.reference.AttributeReference
getReferenceSourceAttribute
Methods inherited from interface org.camunda.bpm.model.xml.type.reference.Reference
findReferenceSourceElements, getReferenceIdentifier, getReferenceSourceElementType, getReferenceTargetAttribute, getReferenceTargetElement, setReferenceTargetElement
-
Field Details
-
separator
-
-
Constructor Details
-
AttributeReferenceCollection
-
-
Method Details
-
updateReference
protected void updateReference(ModelElementInstance referenceSourceElement, String oldIdentifier, String newIdentifier) Description copied from class:ReferenceImpl
Update the reference identifier of the reference source model element instance- Overrides:
updateReference
in classAttributeReferenceImpl<T extends ModelElementInstance>
- Parameters:
referenceSourceElement
- the reference source model element instanceoldIdentifier
- the old reference identifiernewIdentifier
- the new reference identifier
-
removeReference
protected void removeReference(ModelElementInstance referenceSourceElement, ModelElementInstance referenceTargetElement) Description copied from class:ReferenceImpl
Remove the reference in the reference source model element instance- Overrides:
removeReference
in classAttributeReferenceImpl<T extends ModelElementInstance>
- Parameters:
referenceSourceElement
- the reference source model element instance
-
getTargetElementIdentifier
-
getReferenceTargetElements
-
performClearOperation
-
setReferenceIdentifier
protected void setReferenceIdentifier(ModelElementInstance referenceSourceElement, String referenceIdentifier) Description copied from class:ReferenceImpl
Set the reference identifier in the reference source- Overrides:
setReferenceIdentifier
in classAttributeReferenceImpl<T extends ModelElementInstance>
- Parameters:
referenceSourceElement
- the reference source model element instancereferenceIdentifier
- the new reference identifier
-
performRemoveOperation
- Parameters:
referenceSourceElement
-o
-
-
performAddOperation
protected void performAddOperation(ModelElementInstance referenceSourceElement, T referenceTargetElement)
-