Class IdsElementReferenceCollectionImpl<Target extends ModelElementInstance,Source extends ModelElementInstance>
java.lang.Object
org.camunda.bpm.model.xml.impl.type.reference.ReferenceImpl<Target>
org.camunda.bpm.model.xml.impl.type.reference.ElementReferenceCollectionImpl<Target,Source>
org.camunda.bpm.model.xml.impl.type.reference.IdsElementReferenceCollectionImpl<Target,Source>
- All Implemented Interfaces:
ElementReferenceCollection<Target,
,Source> Reference<Target>
public class IdsElementReferenceCollectionImpl<Target extends ModelElementInstance,Source extends ModelElementInstance>
extends ElementReferenceCollectionImpl<Target,Source>
-
Field Summary
Fields inherited from class org.camunda.bpm.model.xml.impl.type.reference.ReferenceImpl
referenceTargetAttribute
-
Constructor Summary
ConstructorDescriptionIdsElementReferenceCollectionImpl
(ChildElementCollection<Source> referenceSourceCollection) -
Method Summary
Modifier and TypeMethodDescriptiongetReferenceIdentifiers
(ModelElementInstance referenceSourceElement) protected Collection<DomElement>
getView
(ModelElementInstanceImpl referenceSourceParentElement) void
referencedElementRemoved
(ModelElementInstance referenceTargetElement, Object referenceIdentifier) Remove the reference if the target element is removedprotected void
setReferenceIdentifiers
(ModelElementInstance referenceSourceElement, List<String> referenceIdentifiers) protected 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.ElementReferenceCollectionImpl
getReferenceIdentifier, getReferenceSourceCollection, getReferenceSourceElementType, getReferenceTargetElements, performAddOperation, performClearOperation, performRemoveOperation, removeReference, setReferenceIdentifier, setReferenceSourceElementType
Methods inherited from class org.camunda.bpm.model.xml.impl.type.reference.ReferenceImpl
findReferenceSourceElements, getReferenceTargetAttribute, getReferenceTargetElement, 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.Reference
findReferenceSourceElements, getReferenceTargetAttribute, getReferenceTargetElement, setReferenceTargetElement
-
Field Details
-
separator
-
-
Constructor Details
-
IdsElementReferenceCollectionImpl
-
-
Method Details
-
getReferenceIdentifiers
-
setReferenceIdentifiers
protected void setReferenceIdentifiers(ModelElementInstance referenceSourceElement, List<String> referenceIdentifiers) -
getView
- Overrides:
getView
in classElementReferenceCollectionImpl<Target extends ModelElementInstance,
Source extends ModelElementInstance>
-
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 classElementReferenceCollectionImpl<Target extends ModelElementInstance,
Source extends ModelElementInstance> - Parameters:
referenceSourceElement
- the reference source model element instanceoldIdentifier
- the old reference identifiernewIdentifier
- the new reference identifier
-
referencedElementRemoved
public void referencedElementRemoved(ModelElementInstance referenceTargetElement, Object referenceIdentifier) Description copied from class:ReferenceImpl
Remove the reference if the target element is removed- Overrides:
referencedElementRemoved
in classReferenceImpl<Target extends ModelElementInstance>
- Parameters:
referenceTargetElement
- the reference target model element instance, which is removedreferenceIdentifier
- the identifier of the reference to filter reference source elements
-