@CompileStatic@groovy.transform.CompileStatic abstract class BaseElement extends Object
BaseElement is the abstract super class for most BPMN elements. It provides the attributes id and documentation, which other elements will inherit.
| Type | Name and description |
|---|---|
String |
i18nCodePrefix用于显示国际化时key的前缀 |
String |
idID |
String |
sid流程图元素的 id |
| Type | Name and description |
|---|---|
BaseElement |
clone(BaseElement obj = null, Boolean isDeep = false, String processId = null)克隆一个对象 |
String |
getI18nCodePrefix() |
String |
getId() |
String |
getSid() |
void |
setI18nCodePrefix(String val) |
void |
setId(String val) |
String |
toString() |
| Methods inherited from class | Name |
|---|---|
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |
用于显示国际化时key的前缀
完整的key为 i18nCodePrefix + '.' + sid。
ID
流程图元素的 id
克隆一个对象
obj - 克隆到这个对象中isDeep - 是否是深度克隆,默认否processId - 流程定义(Process)对象的id