org.camunda.bpm.model.xml.impl.type.reference
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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
separator
protected String separator
IdsElementReferenceCollectionImpl
public IdsElementReferenceCollectionImpl(ChildElementCollection<Source> referenceSourceCollection)
getReferenceIdentifiers
protected List<String> getReferenceIdentifiers(ModelElementInstance referenceSourceElement)
setReferenceIdentifiers
protected void setReferenceIdentifiers(ModelElementInstance referenceSourceElement,
List<String> referenceIdentifiers)
getView
protected Collection<DomElement> getView(ModelElementInstanceImpl referenceSourceParentElement)
- Overrides:
getView in class ElementReferenceCollectionImpl<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 class ElementReferenceCollectionImpl<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 class ReferenceImpl<Target extends ModelElementInstance>
- Parameters:
referenceTargetElement - the reference target model element instance, which is removedreferenceIdentifier - the identifier of the reference to filter reference source elements
Copyright © 2015 camunda services GmbH. All rights reserved.