欢迎您:游客
登录
注册
搜索
帮助
<<上一主题
下一主题>>
首页
>>
非技术研讨区域
>>
灌水和测试版面
>> hibernate-mapping
主题:
hibernate-mapping
admin
精华:0
积分:0
金钱:966
金币:0
威望:0
权限:1
用户资料
用户帖子
大
小
楼主
hibernate-mapping
Post by : 2008-04-04 10:57:41.0
幼儿园
UID:1
主题:30
帖子:70
加为好友
发送短信
014545 sdsd1asd
JavaWind.Net
admin
精华:0
积分:0
金钱:966
金币:0
威望:0
权限:1
用户资料
用户帖子
大
小
2
F
Post by : 2008-04-04 11:16:07.0
幼儿园
UID:1
主题:30
帖子:70
加为好友
发送短信
java
代码
package
org.javawind.System;
import
java.sql.Timestamp;
import
org.apache.struts.action.ActionForm;
import
org.javawind.beans.UbbCode;
public
class
Post
extends
ActionForm {
private
static
final
long
serialVersionUID = 1L;
private
int
pid;
private
int
fid;
private
String tid;
private
int
parentId;
private
String title;
private
String content;
private
String formatContent=
""
;
private
int
userId;
private
Timestamp postTime;
private
UserInfo userInfo;
private
int
floor;
/****************************************************/
public
int
getPid() {
return
pid;
}
public
void
setPid(
int
pid) {
this
.pid = pid;
}
public
int
getFid() {
return
fid;
}
public
void
setFid(
int
fid) {
this
.fid = fid;
}
public
String getTid() {
return
tid;
}
public
void
setTid(String tid) {
this
.tid = tid;
}
public
int
getParentId() {
return
parentId;
}
public
void
setParentId(
int
parentId) {
this
.parentId = parentId;
}
public
String getTitle() {
return
title;
}
public
void
setTitle(String title) {
this
.title = title;
}
public
String getContent() {
return
content;
}
public
void
setContent(String content) {
this
.content = content;
}
public
String getFormatContent() {
if
(formatContent.equals(
""
)){
formatContent=getContent();
return
UbbCode.Print(formatContent,
0
,getParentId());
}
else
return
formatContent;
}
public
void
setFormatContent(String formatContent) {
this
.formatContent = formatContent;
}
public
int
getUserId() {
return
userId;
}
public
void
setUserId(
int
userId) {
this
.userId = userId;
}
public
Timestamp getPostTime() {
return
postTime;
}
public
void
setPostTime(Timestamp postTime) {
this
.postTime = postTime;
}
public
UserInfo getUserInfo() {
return
userInfo;
}
public
void
setUserInfo(UserInfo userInfo) {
this
.userInfo = userInfo;
}
public
int
getFloor() {
return
floor;
}
public
void
setFloor(
int
floor) {
this
.floor = floor;
}
/****************************************************/
}
JavaWind.Net
jastby
精华:0
积分:0
金钱:842
金币:0
威望:0
权限:3
用户资料
用户帖子
大
小
3
F
top
Post by : 2008-04-09 22:47:50.0
幼儿园
UID:2
主题:126
帖子:219
加为好友
发送短信
我顶
= 跳转到所选版块 =
›› Java EE Web Develop
› Tencent SDK 讨论交流中心
› Java 基础开发
› J2EE/Java Web 讨论交流中心
› javascript/html/css 讨论交流中心
› ajax 讨论交流中心
› Java 资源共享交流中心
›› 非技术研讨区域
› 灌水和测试版面
› 爪哇(Java)风景岛
› 业余事务信息平台
›› Web Application Server
› Apache Tomcat
› Caucho Resin
›› SSH Framework
› Struts 讨论专区
› Spring 讨论专区
› Hibernate 讨论专区
›› Database Server
› Microsoft SQL Server
› Sun MySQL
› Oracle DataBase
›› JavaWind 论坛公告和管理区
› 论坛公告和信息发布区
› 版主会议室
主题已经被锁定,不允许回复!
CopyRight © 2008-2009
JavaWind.Net Studio
All Rights Reserved
Powered By
JWind.BBS
Vesion 1.0.0
Beta1
Processed in 17 ms,0 (Queries) Gzip enabled
WAP - 清除Cookies - 联系我们 -
JavaWind.Net Studio
-
Archiver
-
TOP
粤ICP备07511478号