📄 variableimpl.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -