variableimpl.java
来自「一个java工作流引擎」· Java 代码 · 共 36 行
JAVA
36 行
package org.jbpm.model.definition.impl;
import org.jbpm.model.definition.*;
public class VariableImpl implements Variable {
private Long id = null;
private String name = null;
private DefinitionImpl definition = null;
private TypeImpl type = null;
public VariableImpl() {}
public VariableImpl( TypeImpl type, String name ) {
this.name = name;
this.type = type;
type.add( this );
}
public Long getId() { return this.id; }
public void setId(Long id) { this.id = id; }
public String getName() { return this.name; }
public void setName(String name) { this.name = name; }
public DefinitionImpl getDefinition() { return this.definition; }
public void setDefinition(DefinitionImpl definition) { this.definition = definition; }
public TypeImpl getType() { return this.type; }
public void setType(TypeImpl type) { this.type = type; }
public void toXml(org.dom4j.Element element) {
element.addAttribute( "name", name );
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?