📄 dtproperties.java
字号:
/*
* This source file was generated by FireStorm/DAO 3.0 (build 99)
* on 26-十月-2005 at 09:50:56
*
* If you purchase a full license for FireStorm/DAO you can customize this file header.
*
* For more information please visit http://www.codefutures.com/products/firestorm
*/
package cn.wanfeng.myblog.dto;
import cn.wanfeng.myblog.dao.*;
import cn.wanfeng.myblog.factory.*;
import cn.wanfeng.myblog.exceptions.*;
import java.io.Serializable;
import java.util.*;
public class Dtproperties implements Serializable
{
/**
* This attribute maps to the column id in the dtproperties table.
*/
private int id;
/**
* This attribute represents whether the attribute id has been modified since being read from the database.
*/
private boolean idModified = false;
/**
* This attribute maps to the column objectid in the dtproperties table.
*/
private int objectid;
/**
* This attribute represents whether the primitive attribute objectid is null.
*/
private boolean objectidNull = true;
/**
* This attribute represents whether the attribute objectid has been modified since being read from the database.
*/
private boolean objectidModified = false;
/**
* This attribute maps to the column property in the dtproperties table.
*/
private String property;
/**
* This attribute represents whether the attribute property has been modified since being read from the database.
*/
private boolean propertyModified = false;
/**
* This attribute maps to the column value in the dtproperties table.
*/
private String value;
/**
* This attribute represents whether the attribute value has been modified since being read from the database.
*/
private boolean valueModified = false;
/**
* This attribute maps to the column uvalue in the dtproperties table.
*/
private String uvalue;
/**
* This attribute represents whether the attribute uvalue has been modified since being read from the database.
*/
private boolean uvalueModified = false;
/**
* This attribute maps to the column lvalue in the dtproperties table.
*/
private byte[] lvalue;
/**
* This attribute represents whether the attribute lvalue has been modified since being read from the database.
*/
private boolean lvalueModified = false;
/**
* This attribute maps to the column version in the dtproperties table.
*/
private int version;
/**
* This attribute represents whether the attribute version has been modified since being read from the database.
*/
private boolean versionModified = false;
/**
* Method 'Dtproperties'
*
*/
public Dtproperties()
{
}
/**
* Method 'getId'
*
* @return int
*/
public int getId()
{
return id;
}
/**
* Method 'setId'
*
* @param id
*/
public void setId(int id)
{
this.id = id;
setIdModified( true );
}
/**
* Sets the value of idModified
*/
public void setIdModified(boolean idModified)
{
this.idModified = idModified;
}
/**
* Gets the value of idModified
*/
public boolean isIdModified()
{
return idModified;
}
/**
* Method 'getObjectid'
*
* @return int
*/
public int getObjectid()
{
return objectid;
}
/**
* Method 'setObjectid'
*
* @param objectid
*/
public void setObjectid(int objectid)
{
this.objectid = objectid;
setObjectidNull( false );
setObjectidModified( true );
}
/**
* Sets the value of objectidNull
*/
public void setObjectidNull(boolean objectidNull)
{
this.objectidNull = objectidNull;
}
/**
* Gets the value of objectidNull
*/
public boolean isObjectidNull()
{
return objectidNull;
}
/**
* Sets the value of objectidModified
*/
public void setObjectidModified(boolean objectidModified)
{
this.objectidModified = objectidModified;
}
/**
* Gets the value of objectidModified
*/
public boolean isObjectidModified()
{
return objectidModified;
}
/**
* Method 'getProperty'
*
* @return String
*/
public String getProperty()
{
return property;
}
/**
* Method 'setProperty'
*
* @param property
*/
public void setProperty(String property)
{
this.property = property;
setPropertyModified( true );
}
/**
* Sets the value of propertyModified
*/
public void setPropertyModified(boolean propertyModified)
{
this.propertyModified = propertyModified;
}
/**
* Gets the value of propertyModified
*/
public boolean isPropertyModified()
{
return propertyModified;
}
/**
* Method 'getValue'
*
* @return String
*/
public String getValue()
{
return value;
}
/**
* Method 'setValue'
*
* @param value
*/
public void setValue(String value)
{
this.value = value;
setValueModified( true );
}
/**
* Sets the value of valueModified
*/
public void setValueModified(boolean valueModified)
{
this.valueModified = valueModified;
}
/**
* Gets the value of valueModified
*/
public boolean isValueModified()
{
return valueModified;
}
/**
* Method 'getUvalue'
*
* @return String
*/
public String getUvalue()
{
return uvalue;
}
/**
* Method 'setUvalue'
*
* @param uvalue
*/
public void setUvalue(String uvalue)
{
this.uvalue = uvalue;
setUvalueModified( true );
}
/**
* Sets the value of uvalueModified
*/
public void setUvalueModified(boolean uvalueModified)
{
this.uvalueModified = uvalueModified;
}
/**
* Gets the value of uvalueModified
*/
public boolean isUvalueModified()
{
return uvalueModified;
}
/**
* Method 'getLvalue'
*
* @return byte[]
*/
public byte[] getLvalue()
{
return lvalue;
}
/**
* Method 'setLvalue'
*
* @param lvalue
*/
public void setLvalue(byte[] lvalue)
{
this.lvalue = lvalue;
setLvalueModified( true );
}
/**
* Sets the value of lvalueModified
*/
public void setLvalueModified(boolean lvalueModified)
{
this.lvalueModified = lvalueModified;
}
/**
* Gets the value of lvalueModified
*/
public boolean isLvalueModified()
{
return lvalueModified;
}
/**
* Method 'getVersion'
*
* @return int
*/
public int getVersion()
{
return version;
}
/**
* Method 'setVersion'
*
* @param version
*/
public void setVersion(int version)
{
this.version = version;
setVersionModified( true );
}
/**
* Sets the value of versionModified
*/
public void setVersionModified(boolean versionModified)
{
this.versionModified = versionModified;
}
/**
* Gets the value of versionModified
*/
public boolean isVersionModified()
{
return versionModified;
}
/**
* Method 'equals'
*
* @param _other
* @return boolean
*/
public boolean equals(Object _other)
{
if (_other == null) {
return false;
}
if (_other == this) {
return true;
}
if (!(_other instanceof Dtproperties)) {
return false;
}
final Dtproperties _cast = (Dtproperties) _other;
if (id != _cast.id) {
return false;
}
if (idModified != _cast.idModified) {
return false;
}
if (objectid != _cast.objectid) {
return false;
}
if (objectidNull != _cast.objectidNull) {
return false;
}
if (objectidModified != _cast.objectidModified) {
return false;
}
if (property == null ? _cast.property != property : !property.equals( _cast.property )) {
return false;
}
if (propertyModified != _cast.propertyModified) {
return false;
}
if (value == null ? _cast.value != value : !value.equals( _cast.value )) {
return false;
}
if (valueModified != _cast.valueModified) {
return false;
}
if (uvalue == null ? _cast.uvalue != uvalue : !uvalue.equals( _cast.uvalue )) {
return false;
}
if (uvalueModified != _cast.uvalueModified) {
return false;
}
if (lvalue == null ? _cast.lvalue != lvalue : !lvalue.equals( _cast.lvalue )) {
return false;
}
if (lvalueModified != _cast.lvalueModified) {
return false;
}
if (version != _cast.version) {
return false;
}
if (versionModified != _cast.versionModified) {
return false;
}
return true;
}
/**
* Method 'hashCode'
*
* @return int
*/
public int hashCode()
{
int _hashCode = 0;
_hashCode = 29 * _hashCode + id;
_hashCode = 29 * _hashCode + (idModified ? 1 : 0);
_hashCode = 29 * _hashCode + objectid;
_hashCode = 29 * _hashCode + (objectidNull ? 1 : 0);
_hashCode = 29 * _hashCode + (objectidModified ? 1 : 0);
if (property != null) {
_hashCode = 29 * _hashCode + property.hashCode();
}
_hashCode = 29 * _hashCode + (propertyModified ? 1 : 0);
if (value != null) {
_hashCode = 29 * _hashCode + value.hashCode();
}
_hashCode = 29 * _hashCode + (valueModified ? 1 : 0);
if (uvalue != null) {
_hashCode = 29 * _hashCode + uvalue.hashCode();
}
_hashCode = 29 * _hashCode + (uvalueModified ? 1 : 0);
if (lvalue != null) {
_hashCode = 29 * _hashCode + lvalue.hashCode();
}
_hashCode = 29 * _hashCode + (lvalueModified ? 1 : 0);
_hashCode = 29 * _hashCode + version;
_hashCode = 29 * _hashCode + (versionModified ? 1 : 0);
return _hashCode;
}
/**
* Method 'createPk'
*
* @return DtpropertiesPk
*/
public DtpropertiesPk createPk()
{
return new DtpropertiesPk(id, property);
}
/**
* Method 'toString'
*
* @return String
*/
public String toString()
{
StringBuffer ret = new StringBuffer();
ret.append( "cn.wanfeng.myblog.dto.Dtproperties: " );
ret.append( "id='" + id + "'" );
ret.append( ", objectid='" + objectid + "'" );
ret.append( ", property='" + property + "'" );
ret.append( ", value='" + value + "'" );
ret.append( ", uvalue='" + uvalue + "'" );
ret.append( ", lvalue='" + lvalue + "'" );
ret.append( ", version='" + version + "'" );
return ret.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -