1 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 value); 49 50 public String fetchStringField(int fieldNumber); 51 52 public void storeObjectField(int fieldNumber, Object value); 53 54 public Object fetchObjectField(int fieldNumber); 55 } 56 | Popular Tags |