📄 fileimpl.java
字号:
package org.jbpm.model.definition.impl;
import org.apache.commons.logging.*;
import org.jbpm.persistence.*;
public class FileImpl {
private static FileMgr fileMgr = null;
private Long id = null;
private String name = null;
private Long definitionId = null;
private byte[] bytes = null;
public FileImpl() {}
public FileImpl(Long definitionId, String name, byte[] bytes) {
this.definitionId = definitionId;
this.name = name;
this.bytes = bytes;
}
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 Long getDefinitionId() { return this.definitionId; }
public void setDefinitionId(Long definitionId) { this.definitionId = definitionId; }
// this is the property bytes that is used if the file contents is stored in the database
// note that getBytes will return null if the file-system is used to store the contents of the files.
public byte[] getBytes() { return this.bytes; }
public void setBytes(byte[] bytes) { this.bytes = bytes; }
private static Log log = LogFactory.getLog(FileImpl.class);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -