Class AttributeReferenceImpl<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>
- All Implemented Interfaces:
AttributeReference<T>,Reference<T>
- Direct Known Subclasses:
AttributeReferenceCollection,QNameAttributeReferenceImpl
public class AttributeReferenceImpl<T extends ModelElementInstance>
extends ReferenceImpl<T>
implements AttributeReference<T>
- Author:
- Sebastian Menski
-
Field Summary
FieldsFields inherited from class org.camunda.bpm.model.xml.impl.type.reference.ReferenceImpl
referenceTargetAttribute -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetReferenceIdentifier(ModelElementInstance referenceSourceElement) Get the reference identifier which is set in the reference sourceGet the reference source attributeprotected voidremoveReference(ModelElementInstance referenceSourceElement, ModelElementInstance referenceTargetElement) Remove the reference in the reference source model element instanceprotected voidsetReferenceIdentifier(ModelElementInstance referenceSourceElement, String referenceIdentifier) Set the reference identifier in the reference sourceprotected 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.ReferenceImpl
findReferenceSourceElements, getReferenceTargetAttribute, getReferenceTargetElement, referencedElementRemoved, 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
-
referenceSourceAttribute
-
-
Constructor Details
-
AttributeReferenceImpl
-
-
Method Details
-
getReferenceIdentifier
Description copied from interface:ReferenceGet the reference identifier which is set in the reference source- Specified by:
getReferenceIdentifierin interfaceReference<T extends ModelElementInstance>- Parameters:
referenceSourceElement- the reference source model element instance- Returns:
- the reference identifier
-
setReferenceIdentifier
protected void setReferenceIdentifier(ModelElementInstance referenceSourceElement, String referenceIdentifier) Description copied from class:ReferenceImplSet the reference identifier in the reference source- Specified by:
setReferenceIdentifierin classReferenceImpl<T extends ModelElementInstance>- Parameters:
referenceSourceElement- the reference source model element instancereferenceIdentifier- the new reference identifier
-
getReferenceSourceAttribute
Get the reference source attribute- Specified by:
getReferenceSourceAttributein interfaceAttributeReference<T extends ModelElementInstance>- Returns:
- the reference source attribute
-
getReferenceSourceElementType
- Specified by:
getReferenceSourceElementTypein interfaceReference<T extends ModelElementInstance>- Returns:
- the
ModelElementTypeof the source element.
-
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- Specified by:
updateReferencein classReferenceImpl<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:ReferenceImplRemove the reference in the reference source model element instance- Specified by:
removeReferencein classReferenceImpl<T extends ModelElementInstance>- Parameters:
referenceSourceElement- the reference source model element instance
-