KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > triactive > jdo > FieldManager


1 /*
2  * Copyright 2002 (C) TJDO.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the TJDO License version 1.0.
6  * See the terms of the TJDO License in the documentation provided with this software.
7  *
8  * $Id: FieldManager.java,v 1.2 2002/10/17 21:00:51 pierreg0 Exp $
9  */

10
11 package com.triactive.jdo;
12
13
14 public interface FieldManager
15 {
16     public void storeBooleanField(int fieldNumber, boolean value);
17
18     public boolean fetchBooleanField(int fieldNumber);
19
20     public void storeCharField(int fieldNumber, char value);
21
22     public char fetchCharField(int fieldNumber);
23
24     public void storeByteField(int fieldNumber, byte value);
25
26     public byte fetchByteField(int fieldNumber);
27
28     public void storeShortField(int fieldNumber, short value);
29
30     public short fetchShortField(int fieldNumber);
31
32     public void storeIntField(int fieldNumber, int value);
33
34     public int fetchIntField(int fieldNumber);
35
36     public void storeLongField(int fieldNumber, long value);
37
38     public long fetchLongField(int fieldNumber);
39
40     public void storeFloatField(int fieldNumber, float value);
41
42     public float fetchFloatField(int fieldNumber);
43
44     public void storeDoubleField(int fieldNumber, double value);
45
46     public double fetchDoubleField(int fieldNumber);
47
48     public void storeStringField(int fieldNumber, String JavaDoc value);
49
50     public String JavaDoc fetchStringField(int fieldNumber);
51
52     public void storeObjectField(int fieldNumber, Object JavaDoc value);
53
54     public Object JavaDoc fetchObjectField(int fieldNumber);
55 }
56
Popular Tags