KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > examples > MyPOJO


1 /* ****************************************************************************
2  * MyPOJO.java
3  * ****************************************************************************/

4
5 /* J_LZ_COPYRIGHT_BEGIN *******************************************************
6 * Copyright 2001-2004 Laszlo Systems, Inc. All Rights Reserved. *
7 * Use is subject to license terms. *
8 * J_LZ_COPYRIGHT_END *********************************************************/

9 package examples;
10
11 /**
12  * Class used in ReturnPOJOExample.java.
13  */

14 public class MyPOJO {
15     public String JavaDoc name = "public name";
16     public int number = 1000;
17     public Object JavaDoc nullValue = null;
18     private String JavaDoc privateName = "private name";
19     private int privateNumber = -1;
20 }
21
Popular Tags