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 Modifier and Type Field Description protected java.lang.String
separator
-
Fields inherited from class org.camunda.bpm.model.xml.impl.type.reference.ReferenceImpl
referenceTargetAttribute
-
-
Constructor Summary
Constructors Constructor Description IdsElementReferenceCollectionImpl(ChildElementCollection<Source> referenceSourceCollection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.String>
getReferenceIdentifiers(ModelElementInstance referenceSourceElement)
protected java.util.Collection<DomElement>
getView(ModelElementInstanceImpl referenceSourceParentElement)
void
referencedElementRemoved(ModelElementInstance referenceTargetElement, java.lang.Object referenceIdentifier)
Remove the reference if the target element is removedprotected void
setReferenceIdentifiers(ModelElementInstance referenceSourceElement, java.util.List<java.lang.String> referenceIdentifiers)
protected void
updateReference(ModelElementInstance referenceSourceElement, java.lang.String oldIdentifier, java.lang.String newIdentifier)
Update the reference identifier of the reference source model element instance-
Methods 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
-
-
-
-
Constructor Detail
-
IdsElementReferenceCollectionImpl
public IdsElementReferenceCollectionImpl(ChildElementCollection<Source> referenceSourceCollection)
-
-
Method Detail
-
getReferenceIdentifiers
protected java.util.List<java.lang.String> getReferenceIdentifiers(ModelElementInstance referenceSourceElement)
-
setReferenceIdentifiers
protected void setReferenceIdentifiers(ModelElementInstance referenceSourceElement, java.util.List<java.lang.String> referenceIdentifiers)
-
getView
protected java.util.Collection<DomElement> getView(ModelElementInstanceImpl referenceSourceParentElement)
- Overrides:
getView
in classElementReferenceCollectionImpl<Target extends ModelElementInstance,Source extends ModelElementInstance>
-
updateReference
protected void updateReference(ModelElementInstance referenceSourceElement, java.lang.String oldIdentifier, java.lang.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, java.lang.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
-
-