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
FieldsFields inherited from class org.camunda.bpm.model.xml.impl.type.reference.ReferenceImpl
referenceTargetAttribute -
Constructor Summary
ConstructorsConstructorDescriptionIdsElementReferenceCollectionImpl(ChildElementCollection<Source> referenceSourceCollection) -
Method Summary
Modifier and TypeMethodDescriptiongetReferenceIdentifiers(ModelElementInstance referenceSourceElement) protected Collection<DomElement>getView(ModelElementInstanceImpl referenceSourceParentElement) voidreferencedElementRemoved(ModelElementInstance referenceTargetElement, Object referenceIdentifier) Remove the reference if the target element is removedprotected voidsetReferenceIdentifiers(ModelElementInstance referenceSourceElement, List<String> referenceIdentifiers) protected voidupdateReference(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, setReferenceSourceElementTypeMethods inherited from class org.camunda.bpm.model.xml.impl.type.reference.ReferenceImpl
findReferenceSourceElements, getReferenceTargetAttribute, getReferenceTargetElement, referencedElementUpdated, setReferenceTargetAttribute, setReferenceTargetElement, setReferenceTargetElementTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getViewin classElementReferenceCollectionImpl<Target extends ModelElementInstance,Source extends ModelElementInstance>
-
updateReference
protected void updateReference(ModelElementInstance referenceSourceElement, String oldIdentifier, String newIdentifier) Description copied from class:ReferenceImplUpdate the reference identifier of the reference source model element instance- Overrides:
updateReferencein 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:ReferenceImplRemove the reference if the target element is removed- Overrides:
referencedElementRemovedin 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
-