org.activiti.bpmn.model.DataSpec Maven / Gradle / Ivy
The newest version!
package org.activiti.bpmn.model;
public class DataSpec extends BaseElement {
protected String name;
protected String itemSubjectRef;
protected boolean isCollection;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getItemSubjectRef() {
return itemSubjectRef;
}
public void setItemSubjectRef(String itemSubjectRef) {
this.itemSubjectRef = itemSubjectRef;
}
public boolean isCollection() {
return isCollection;
}
public void setCollection(boolean isCollection) {
this.isCollection = isCollection;
}
public DataSpec clone() {
DataSpec clone = new DataSpec();
clone.setValues(this);
return clone;
}
public void setValues(DataSpec otherDataSpec) {
setName(otherDataSpec.getName());
setItemSubjectRef(otherDataSpec.getItemSubjectRef());
setCollection(otherDataSpec.isCollection());
}
}