modulevo.java
来自「OBPM是一个开源」· Java 代码 · 共 235 行
JAVA
235 行
//Source file: C:\\Java\\workspace\\MyApps\\src\\cn\\myapps\\core\\deploy\\module\\ejb\\ModuleVO.java
package cn.myapps.core.deploy.module.ejb;
import java.io.Serializable;
import java.util.Collection;
import java.util.Set;
import cn.myapps.base.dao.ValueObject;
import cn.myapps.core.deploy.application.ejb.ApplicationVO;
/**
* 注册的功能模块
*
* @hibernate.class table="T_MODULE" lazy = "false"
*/
public class ModuleVO extends ValueObject implements Serializable {
private String id;
private String name;
private String pathname;
private boolean ispublished;
private String description;
private int orderno;
public ApplicationVO application;
public ModuleVO superior;
public Collection owners;
public Set views;
public Set forms;
public Set macrolibs;
public Set imglibs;
public Set stylelibs;
public Set flowdefis;
/**
* @return cn.myapps.core.deploy.application.ejb.ApplicationVO
* @hibernate.many-to-one class="cn.myapps.core.deploy.application.ejb.ApplicationVO"
* column="APPLICATION"
*/
public ApplicationVO getApplication() {
return application;
}
public void setApplication(ApplicationVO application) {
this.application = application;
}
/**
* @hibernate.property column="DESCRIPTION"
*/
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
/**
* @hibernate.id column="ID" generator-class="assigned"
*/
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
/**
* @hibernate.property column="ISPUBLISHED"
*/
public boolean isIspublished() {
return ispublished;
}
public void setIspublished(boolean ispublished) {
this.ispublished = ispublished;
}
/**
* @hibernate.property column="NAME"
*/
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
/**
* @hibernate.property column="ORDERNO"
*/
public int getOrderno() {
return orderno;
}
public void setOrderno(int orderno) {
this.orderno = orderno;
}
/**
* @return java.util.Collection
* @hibernate.set name="owners" table="T_MODULE_ROLE_SET"
* @hibernate.collection-key column="MODULEID"
* @hibernate.collection-many-to-many class="cn.myapps.core.role.ejb.RoleVO"
* column="ROLEID"
*/
public Collection getOwners() {
return owners;
}
public void setOwners(Collection owners) {
this.owners = owners;
}
/**
* @hibernate.property column="PATHNAME"
*/
public String getPathname() {
return pathname;
}
public void setPathname(String pathname) {
this.pathname = pathname;
}
/**
* @hibernate.many-to-one class="cn.myapps.core.deploy.module.ejb.ModuleVO" not-null = "false"
* column="SUPERIOR"
*/
public ModuleVO getSuperior() {
return superior;
}
public void setSuperior(ModuleVO superior) {
this.superior = superior;
}
/**
* @hibernate.set name="views" cascade="delete" inverse="true" lazy="true"
* @hibernate.collection-key column="MODULE"
* @hibernate.collection-one-to-many class="cn.myapps.core.dynaform.view.ejb.View"
*
*/
public Set getViews() {
return views;
}
public void setViews(Set views) {
this.views = views;
}
/**
* @hibernate.set name="forms" cascade="delete" inverse="true" lazy="true"
* @hibernate.collection-key column="MODULE"
* @hibernate.collection-one-to-many class="cn.myapps.core.dynaform.form.ejb.Form"
*
*/
public Set getForms() {
return forms;
}
public void setForms(Set forms) {
this.forms = forms;
}
/**
* @hibernate.set name="macrolibs" cascade="delete" lazy="true" inverse="true"
* @hibernate.collection-key column="MODULE"
* @hibernate.collection-one-to-many class="cn.myapps.core.macro.repository.ejb.RepositoryVO"
*/
public Set getMacrolibs() {
return macrolibs;
}
public void setMacrolibs(Set macrolibs) {
this.macrolibs = macrolibs;
}
/**
* @hibernate.set name="imglibs" cascade="delete" lazy="true" inverse="true"
* @hibernate.collection-key column="MODULE"
* @hibernate.collection-one-to-many class="cn.myapps.core.image.repository.ejb.ImageRepositoryVO"
*/
public Set getImglibs() {
return imglibs;
}
public void setImglibs(Set imglibs) {
this.imglibs = imglibs;
}
/**
* @hibernate.set name="stylelibs" cascade="delete" lazy="true" inverse="true"
* @hibernate.collection-key column="MODULE"
* @hibernate.collection-one-to-many class="cn.myapps.core.style.repository.ejb.StyleRepositoryVO"
*/
public Set getStylelibs() {
return stylelibs;
}
public void setStylelibs(Set stylelibs) {
this.stylelibs = stylelibs;
}
/**
* @hibernate.set name="flowdefis" cascade="delete" lazy="true" inverse="true"
* @hibernate.collection-key column="MODULE"
* @hibernate.collection-one-to-many class="cn.myapps.core.workflow.storage.definition.ejb.BillDefiVO"
*/
public Set getFlowdefis() {
return flowdefis;
}
public void setFlowdefis(Set flowdefis) {
this.flowdefis = flowdefis;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?