01: /*
02: * Copyright 2002 (C) TJDO.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the TJDO License version 1.0.
06: * See the terms of the TJDO License in the documentation provided with this software.
07: *
08: * $Id: FieldManager.java,v 1.2 2002/10/17 21:00:51 pierreg0 Exp $
09: */
10:
11: package com.triactive.jdo;
12:
13: public interface FieldManager {
14: public void storeBooleanField(int fieldNumber, boolean value);
15:
16: public boolean fetchBooleanField(int fieldNumber);
17:
18: public void storeCharField(int fieldNumber, char value);
19:
20: public char fetchCharField(int fieldNumber);
21:
22: public void storeByteField(int fieldNumber, byte value);
23:
24: public byte fetchByteField(int fieldNumber);
25:
26: public void storeShortField(int fieldNumber, short value);
27:
28: public short fetchShortField(int fieldNumber);
29:
30: public void storeIntField(int fieldNumber, int value);
31:
32: public int fetchIntField(int fieldNumber);
33:
34: public void storeLongField(int fieldNumber, long value);
35:
36: public long fetchLongField(int fieldNumber);
37:
38: public void storeFloatField(int fieldNumber, float value);
39:
40: public float fetchFloatField(int fieldNumber);
41:
42: public void storeDoubleField(int fieldNumber, double value);
43:
44: public double fetchDoubleField(int fieldNumber);
45:
46: public void storeStringField(int fieldNumber, String value);
47:
48: public String fetchStringField(int fieldNumber);
49:
50: public void storeObjectField(int fieldNumber, Object value);
51:
52: public Object fetchObjectField(int fieldNumber);
53: }
|