All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yaoqiang.bpmn.model.elements.choreographyactivities.CallChoreography Maven / Gradle / Ivy

package org.yaoqiang.bpmn.model.elements.choreographyactivities;

import org.yaoqiang.bpmn.model.elements.XMLAttribute;
import org.yaoqiang.bpmn.model.elements.collaboration.ParticipantAssociations;
import org.yaoqiang.bpmn.model.elements.core.common.CorrelationKeys;
import org.yaoqiang.bpmn.model.elements.core.common.FlowElements;

/**
 * CallChoreography
 * 
 * @author Shi Yaoqiang([email protected])
 */
public class CallChoreography extends ChoreographyActivity {

	private static final long serialVersionUID = -7713963001353824411L;

	public CallChoreography(FlowElements parent) {
		super(parent, "callChoreography");
	}

	protected void fillStructure() {
		XMLAttribute attrCalledChoreographyRef = new XMLAttribute(this, "calledChoreographyRef");
		CorrelationKeys refCorrelationKeys = new CorrelationKeys(this);
		ParticipantAssociations refParticipantAssociations = new ParticipantAssociations(this);
		
		super.fillStructure();
		add(attrCalledChoreographyRef);
		add(refCorrelationKeys);
		add(refParticipantAssociations);
	}

	public final String getCalledChoreographyRef() {
		return get("calledChoreographyRef").toValue();
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy