Chinaunix首页 | 论坛 | 博客
  • 博客访问: 543498
  • 博文数量: 625
  • 博客积分: 40000
  • 博客等级: 大将
  • 技术积分: 4745
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-17 15:46
文章分类

全部博文(625)

文章存档

2011年(1)

2008年(624)

我的朋友

分类:

2008-10-17 15:47:10

  1.  
  2. primarykey="true" /> jdbc-type="VARCHAR" /> class-ref="org.pie.vls.Catalog.CatalogEventBridge" auto-retrieve="true" auto-
  3. update="true" auto-delete="true">  
  4.   class="org.pie.vls.Catalog.CatalogEventBridge" table="catalogEventBridge"> 
  5. primarykey="true" /> jdbc-type="INTEGER" primarykey="true" />  class="org.pie.vls.EventType.EventType" table="eventType" > name="eventTypeID" column="eventTypeID" jdbc-type="INTEGER" primarykey="true" 
  6. autoincrement="true" />
  7.                name="eventTypeTitle"
  8.          column="eventTypeTitle"
  9.          jdbc-type="VARCHAR"
  10.       />
  11. ... ...

--------------------next---------------------
  1. public class Catalog implements Comparable {
  2.     private int catalogID;
  3.     private String catalogName = "";
  4.     private List catalogEventList = new Vector();
  5.    /**
  6.      * @return Returns the catalogID.
  7.      */
  8.     public int getCatalogID() {
  9.         return catalogID;
  10.     }
  11.     /**
  12.      * @param catalogID The catalogID to set.
  13.      */
  14.     public void setCatalogID(int catalogID) {
  15.         this.catalogID = catalogID;
  16.     }
  17.     /**
  18.      * @return Returns the catalogName.
  19.      */
  20.     public String getCatalogName() {
  21.         return catalogName;
  22.     }
  23.     /**
  24.      * @param catalogName The catalogName to set.
  25.      */
  26.     public void setCatalogName(String catalogName) {
  27.         this.catalogName = catalogName;
  28.     }
  29.     /**
  30.      * @return Returns the catalogEventList.
  31.      */
  32.     public List getCatalogEventList() {
  33.         return catalogEventList;
  34.     }
  35.     /**
  36.      * @param catalogEventList The catalogEventList to set.
  37.      */
  38.     public void setCatalogEventList(List catalogEventList) {
  39.         this.catalogEventList = catalogEventList;
  40.     }
  41. }

--------------------next---------------------

阅读(181) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~