KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > cmp2 > simple > Simple


1 /*
2   * JBoss, Home of Professional Open Source
3   * Copyright 2005, JBoss Inc., and individual contributors as indicated
4   * by the @authors tag. See the copyright.txt in the distribution for a
5   * full listing of individual contributors.
6   *
7   * This is free software; you can redistribute it and/or modify it
8   * under the terms of the GNU Lesser General Public License as
9   * published by the Free Software Foundation; either version 2.1 of
10   * the License, or (at your option) any later version.
11   *
12   * This software is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15   * Lesser General Public License for more details.
16   *
17   * You should have received a copy of the GNU Lesser General Public
18   * License along with this software; if not, write to the Free
19   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21   */

22 package org.jboss.test.cmp2.simple;
23
24 import java.math.BigDecimal JavaDoc;
25 import java.sql.Time JavaDoc;
26 import java.sql.Timestamp JavaDoc;
27 import java.util.Hashtable JavaDoc;
28 import javax.ejb.EJBLocalObject JavaDoc;
29
30 public interface Simple extends EJBLocalObject JavaDoc {
31    public String JavaDoc getId();
32
33    public ValueClass getValueClass();
34    public void setValueClass(ValueClass vc);
35
36    public boolean getBooleanPrimitive();
37    public void setBooleanPrimitive(boolean b);
38
39    public Boolean JavaDoc getBooleanObject();
40    public void setBooleanObject(Boolean JavaDoc b);
41
42    public byte getBytePrimitive();
43    public void setBytePrimitive(byte b);
44
45    public Byte JavaDoc getByteObject();
46    public void setByteObject(Byte JavaDoc b);
47
48    public short getShortPrimitive();
49    public void setShortPrimitive(short s);
50
51    public Short JavaDoc getShortObject();
52    public void setShortObject(Short JavaDoc s);
53
54    public int getIntegerPrimitive();
55    public void setIntegerPrimitive(int i);
56
57    public Integer JavaDoc getIntegerObject();
58    public void setIntegerObject(Integer JavaDoc i);
59
60    public long getLongPrimitive();
61    public void setLongPrimitive(long l);
62
63    public Long JavaDoc getLongObject();
64    public void setLongObject(Long JavaDoc l);
65
66    public float getFloatPrimitive();
67    public void setFloatPrimitive(float f);
68
69    public Float JavaDoc getFloatObject();
70    public void setFloatObject(Float JavaDoc f);
71
72    public double getDoublePrimitive();
73    public void setDoublePrimitive(double d);
74
75    public Double JavaDoc getDoubleObject();
76    public void setDoubleObject(Double JavaDoc d);
77
78    public String JavaDoc getStringValue();
79    public void setStringValue(String JavaDoc s);
80
81    public java.util.Date JavaDoc getUtilDateValue();
82    public void setUtilDateValue(java.util.Date JavaDoc d);
83    public void updateUtilDateValue(java.util.Date JavaDoc d);
84
85    public java.sql.Date JavaDoc getSqlDateValue();
86    public void setSqlDateValue(java.sql.Date JavaDoc d);
87
88    public Time JavaDoc getTimeValue();
89    public void setTimeValue(Time JavaDoc t);
90
91    public Timestamp JavaDoc getTimestampValue();
92    public void setTimestampValue(Timestamp JavaDoc t);
93
94    public java.math.BigDecimal JavaDoc getBigDecimalValue();
95    public void setBigDecimalValue(java.math.BigDecimal JavaDoc d);
96
97    public byte[] getByteArrayValue();
98    public void setByteArrayValue(byte[] bytes);
99
100    public Object JavaDoc getObjectValue();
101    public void setObjectValue(Object JavaDoc t);
102
103    public void addToHashtable(String JavaDoc key, String JavaDoc value);
104    public Hashtable JavaDoc getHashtable();
105    public void setHashtable(Hashtable JavaDoc t);
106 }
107
Popular Tags