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

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

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

/**
 * The Resource class is used to specify resources that can be referenced by
 * Activities. These Resources can be Human Resources as well as any other
 * resource assigned to Activities during Process execution time.
 *
 */
public class Resource extends BaseElement {

  protected String name;

  public Resource(String resourceId, String resourceName) {
    super();
    setId(resourceId);
    setName(resourceName);
  }

  public String getName() {
    return name;
  }

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

  @Override
  public BaseElement clone() {
    return new Resource(getId(), getName());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy