KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > javabb > vo > VOObject


1 package org.javabb.vo;
2
3
4
5 import org.apache.commons.logging.Log;
6 import org.apache.commons.logging.LogFactory;
7
8 /*
9  * Copyright 2004 JavaFree.org
10  *
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  * http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  */

23
24 /**
25  * $Id: VOObject.java,v 1.4.8.2 2006/04/17 17:46:53 daltoncamargo Exp $
26  * @author Dalton Camargo - <a HREF="mailto:dalton@javabb.org">dalton@javabb.org </a> <br>
27  * @author Ronald Tetsuo Miura
28  */

29 public abstract class VOObject {
30     /**
31      * Log to this classe. TODO Hum, did should not be static?!
32      */

33     public Log log = LogFactory.getLog(VOObject.class);
34
35     private Long JavaDoc id;
36
37     /**
38      * @return Returns the id.
39      */

40     public Long JavaDoc getId() {
41         return id;
42     }
43
44     /**
45      * @param id The id to set.
46      */

47     public void setId(Long JavaDoc id) {
48         this.id = id;
49     }
50 }
51
Popular Tags