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

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());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy