📄 logtypeentity.java
字号:
/*
*
* on 06-十月-2005 at 04:15:42
*
* Mail:relationinfo@hotmail.com
*
* visit:www.relaioninfo.com or www.helpsoft.org
*/
package org.helpsoft.helplog.jdo;
import java.io.Serializable;
import java.math.*;
import java.util.Date;
import java.util.Collection;
public class LogtypeEntity implements Serializable
{
/**
* This attribute maps to the column logtypecode in the Logtype table.
*/
private String logtypecode;
/**
* This attribute maps to the column typename in the Logtype table.
*/
private String typename;
/**
* This collection represents a one-to-many relationship with the Log table.
*/
private Collection logCollection;
/**
* Sets the value of logtypecode
*/
public void setLogtypecode(String logtypecode)
{
this.logtypecode = logtypecode;
}
/**
* Gets the value of logtypecode
*/
public String getLogtypecode()
{
return logtypecode;
}
/**
* Sets the value of typename
*/
public void setTypename(String typename)
{
this.typename = typename;
}
/**
* Gets the value of typename
*/
public String getTypename()
{
return typename;
}
/**
* Method 'addLog'
*
* @param log
*/
public void addLog(LogEntity log)
{
logCollection.add(log);
}
/**
* Method 'removeLog'
*
* @param log
*/
public void removeLog(LogEntity log)
{
logCollection.remove(log);
}
/**
* Method 'getLog'
*
* @return Collection
*/
public Collection getLog()
{
return logCollection;
}
/**
* Method 'LogtypeEntity'
*
*/
public LogtypeEntity()
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -