📄 definitionobjectimpl.java
字号:
package org.jgpd.io.jbpm.definition.impl;
import java.util.Collection;
import javax.swing.JTable;
import org.jgpd.UI.PropPanelConfig;
import org.jgpd.UI.tableModels.JGpdTableModel;
import org.jgpd.io.JGpdModelNode;
import org.jgpd.io.jbpm.definition.*;
public class DefinitionObjectImpl extends JGpdModelNode
implements DefinitionObject
{
public DefinitionObjectImpl() {}
public PropPanelConfig propPanelModel(JTable[] table, JGpdTableModel[] tableModel)
{
return null;
}
public String getExportModelPrefix()
{
return modelType;
}
public void setDisplayName(String name)
{
setName(name);
}
public String getName() { return this.name; }
public void setName(String name) { this.name = name; }
public boolean hasName() { return (this.name != null ); }
public String getDescription() { return description; }
public void setDescription ( String description ) { this.description = description; }
public ProcessDefinition getProcessDefinition() { return this.processDefinition; }
public void setProcessDefinition(ProcessDefinition processDefinition) { this.processDefinition = processDefinition; }
public Collection getActions() { return this.actions; }
public void setActions(Collection actions) { this.actions = actions; }
protected Collection actions = null;
public String toString() {
return getTypeName() + "[" + id + "|" + name + "]";
}
public Long getId()
{
return id;
}
public void validate()
{
}
public String getTypeName()
{
String className = this.getClass().getName();
int to = className.length();
if ( className.endsWith( "Impl" ) )
{
to = to - 4;
}
int from = className.lastIndexOf( '.' ) + 1;
return className.substring( from, to );
}
protected Long id = null;
protected String name = new String("Name");
protected String description = new String("Description");
protected ProcessDefinition processDefinition = null;
public static String modelType = new String("x-jbpm-");
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -