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

org.activiti.bpmn.model.DataObject Maven / Gradle / Ivy

There is a newer version: 7.1.0.M6
Show newest version
package org.activiti.bpmn.model;

/**
 * @author Lori Small
 */
public class DataObject extends FlowElement {

  protected ItemDefinition itemSubjectRef;
  
  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public ItemDefinition getItemSubjectRef() {
    return itemSubjectRef;
  }

  public void setItemSubjectRef(ItemDefinition itemSubjectRef) {
    this.itemSubjectRef = itemSubjectRef;
  }

  public DataObject clone() {
    DataObject clone = new DataObject();
    clone.setValues(this);
    return clone;
  }

  public void setValues(DataObject otherElement) {
    super.setValues(otherElement);
    
    setId(otherElement.getId());
    setName(otherElement.getName());
    setItemSubjectRef(otherElement.getItemSubjectRef());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy