📄 abstractcode.java
字号:
/*
* WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
* by MyEclipse Hibernate tool integration.
*
* Created Mon Nov 12 15:22:32 CST 2007 by MyEclipse Hibernate Tool.
*/
package com.pegasus.framework.sys.pojo.vo;
import java.io.Serializable;
/**
* A class that represents a row in the code table.
* You can customize the behavior of this class by editing the class, {@link Code()}.
* WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
* by MyEclipse Hibernate tool integration.
*/
public abstract class AbstractCode
extends com.pegasus.framework.pojo.AbstractBusinessObject
implements Serializable
{
/** The cached hash code value for this instance. Settting to 0 triggers re-calculation. */
private int hashValue = 0;
/** The composite primary key value. */
private java.lang.Long id;
/** The value of the codeIndex association. */
private String codeId;
/** The value of the simple indexId property. */
private java.lang.String indexId;
/** The value of the simple name property. */
private java.lang.String name;
/** The value of the simple description property. */
private java.lang.String description;
/** The value of the simple parentId property. */
private java.lang.Long parentId;
/** The value of the simple isLeaf property. */
private java.lang.String isLeaf;
/** The value of the simple orderNo property. */
private java.lang.Long orderNo;
/** The value of the simple code property. */
private java.lang.String code;
/** The value of the simple isSystem property. */
private java.lang.String isSystem;
/** The value of the simple isForbid property. */
private java.lang.String isForbid;
/** The value of the simple createdId property. */
private java.lang.Long createdId;
/** The value of the simple createdName property. */
private java.lang.String createdName;
/** The value of the simple createdDate property. */
private java.util.Date createdDate;
/** The value of the simple effectedDate property. */
private java.util.Date effectedDate;
/** The value of the simple invalidDate property. */
private java.util.Date invalidDate;
/** The value of the simple modifiedId property. */
private java.lang.Long modifiedId;
/** The value of the simple modifiedName property. */
private java.lang.String modifiedName;
/** The value of the simple modifiedDate property. */
private java.util.Date modifiedDate;
/**
* Simple constructor of AbstractCode instances.
*/
public AbstractCode()
{
}
/**
* Constructor of AbstractCode instances given a simple primary key.
* @param id
*/
public AbstractCode(java.lang.Long id)
{
this.setId(id);
}
/**
* Return the simple primary key value that identifies this object.
* @return java.lang.Long
*/
public java.lang.Long getId()
{
return id;
}
/**
* Set the simple primary key value that identifies this object.
* @param id
*/
public void setId(java.lang.Long id)
{
this.hashValue = 0;
this.id = id;
}
/**
* @return Returns the codeId.
*/
public String getCodeId() {
return codeId;
}
/**
* @param codeId The codeId to set.
*/
public void setCodeId(String codeId) {
this.codeId = codeId;
}
/**
* Return the value of the INDEX_ID column.
* @return java.lang.String
*/
public java.lang.String getIndexId()
{
return this.indexId;
}
/**
* Set the value of the INDEX_ID column.
* @param indexId
*/
public void setIndexId(java.lang.String indexId)
{
this.indexId = indexId;
}
/**
* Return the value of the NAME column.
* @return java.lang.String
*/
public java.lang.String getName()
{
return this.name;
}
/**
* Set the value of the NAME column.
* @param name
*/
public void setName(java.lang.String name)
{
this.name = name;
}
/**
* Return the value of the DESCRIPTION column.
* @return java.lang.String
*/
public java.lang.String getDescription()
{
return this.description;
}
/**
* Set the value of the DESCRIPTION column.
* @param description
*/
public void setDescription(java.lang.String description)
{
this.description = description;
}
/**
* Return the value of the PARENT_ID column.
* @return java.lang.Long
*/
public java.lang.Long getParentId()
{
return this.parentId;
}
/**
* Set the value of the PARENT_ID column.
* @param parentId
*/
public void setParentId(java.lang.Long parentId)
{
this.parentId = parentId;
}
/**
* Return the value of the IS_LEAF column.
* @return java.lang.String
*/
public java.lang.String getIsLeaf()
{
return this.isLeaf;
}
/**
* Set the value of the IS_LEAF column.
* @param isLeaf
*/
public void setIsLeaf(java.lang.String isLeaf)
{
this.isLeaf = isLeaf;
}
/**
* Return the value of the ORDER_NO column.
* @return java.lang.Long
*/
public java.lang.Long getOrderNo()
{
return this.orderNo;
}
/**
* Set the value of the ORDER_NO column.
* @param orderNo
*/
public void setOrderNo(java.lang.Long orderNo)
{
this.orderNo = orderNo;
}
/**
* Return the value of the CODE column.
* @return java.lang.String
*/
public java.lang.String getCode()
{
return this.code;
}
/**
* Set the value of the CODE column.
* @param code
*/
public void setCode(java.lang.String code)
{
this.code = code;
}
/**
* Return the value of the IS_SYSTEM column.
* @return java.lang.String
*/
public java.lang.String getIsSystem()
{
return this.isSystem;
}
/**
* Set the value of the IS_SYSTEM column.
* @param isSystem
*/
public void setIsSystem(java.lang.String isSystem)
{
this.isSystem = isSystem;
}
/**
* Return the value of the IS_FORBID column.
* @return java.lang.String
*/
public java.lang.String getIsForbid()
{
return this.isForbid;
}
/**
* Set the value of the IS_FORBID column.
* @param isForbid
*/
public void setIsForbid(java.lang.String isForbid)
{
this.isForbid = isForbid;
}
/**
* Return the value of the CREATED_ID column.
* @return java.lang.Long
*/
public java.lang.Long getCreatedId()
{
return this.createdId;
}
/**
* Set the value of the CREATED_ID column.
* @param createdId
*/
public void setCreatedId(java.lang.Long createdId)
{
this.createdId = createdId;
}
/**
* Return the value of the CREATED_NAME column.
* @return java.lang.String
*/
public java.lang.String getCreatedName()
{
return this.createdName;
}
/**
* Set the value of the CREATED_NAME column.
* @param createdName
*/
public void setCreatedName(java.lang.String createdName)
{
this.createdName = createdName;
}
/**
* Return the value of the CREATED_DATE column.
* @return java.util.Date
*/
public java.util.Date getCreatedDate()
{
return this.createdDate;
}
/**
* Set the value of the CREATED_DATE column.
* @param createdDate
*/
public void setCreatedDate(java.util.Date createdDate)
{
this.createdDate = createdDate;
}
/**
* Return the value of the EFFECTED_DATE column.
* @return java.util.Date
*/
public java.util.Date getEffectedDate()
{
return this.effectedDate;
}
/**
* Set the value of the EFFECTED_DATE column.
* @param effectedDate
*/
public void setEffectedDate(java.util.Date effectedDate)
{
this.effectedDate = effectedDate;
}
/**
* Return the value of the INVALID_DATE column.
* @return java.util.Date
*/
public java.util.Date getInvalidDate()
{
return this.invalidDate;
}
/**
* Set the value of the INVALID_DATE column.
* @param invalidDate
*/
public void setInvalidDate(java.util.Date invalidDate)
{
this.invalidDate = invalidDate;
}
/**
* Return the value of the MODIFIED_ID column.
* @return java.lang.Long
*/
public java.lang.Long getModifiedId()
{
return this.modifiedId;
}
/**
* Set the value of the MODIFIED_ID column.
* @param modifiedId
*/
public void setModifiedId(java.lang.Long modifiedId)
{
this.modifiedId = modifiedId;
}
/**
* Return the value of the MODIFIED_NAME column.
* @return java.lang.String
*/
public java.lang.String getModifiedName()
{
return this.modifiedName;
}
/**
* Set the value of the MODIFIED_NAME column.
* @param modifiedName
*/
public void setModifiedName(java.lang.String modifiedName)
{
this.modifiedName = modifiedName;
}
/**
* Return the value of the MODIFIED_DATE column.
* @return java.util.Date
*/
public java.util.Date getModifiedDate()
{
return this.modifiedDate;
}
/**
* Set the value of the MODIFIED_DATE column.
* @param modifiedDate
*/
public void setModifiedDate(java.util.Date modifiedDate)
{
this.modifiedDate = modifiedDate;
}
/**
* Implementation of the equals comparison on the basis of equality of the primary key values.
* @param rhs
* @return boolean
*/
public boolean equals(Object rhs)
{
if (rhs == null)
return false;
if (! (rhs instanceof Code))
return false;
Code that = (Code) rhs;
if (this.getId() == null || that.getId() == null)
return false;
return (this.getId().equals(that.getId()));
}
/**
* Implementation of the hashCode method conforming to the Bloch pattern with
* the exception of array properties (these are very unlikely primary key types).
* @return int
*/
public int hashCode()
{
if (this.hashValue == 0)
{
int result = 17;
int idValue = this.getId() == null ? 0 : this.getId().hashCode();
result = result * 37 + idValue;
this.hashValue = result;
}
return this.hashValue;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -