⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fileimpl.java

📁 一个java工作流引擎
💻 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 + -