01: ///////////////////////////////////////////////////////////////////////////////
02: //
03: // Copyright (C) 2003-@year@ by Thomas M. Hazel, MyOODB (www.myoodb.org)
04: //
05: // All Rights Reserved
06: //
07: // This program is free software; you can redistribute it and/or modify
08: // it under the terms of the GNU General Public License and GNU Library
09: // General Public License as published by the Free Software Foundation;
10: // either version 2, or (at your option) any later version.
11: //
12: // This program 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
15: // GNU General Public License and GNU Library General Public License
16: // for more details.
17: //
18: // You should have received a copy of the GNU General Public License
19: // and GNU Library General Public License along with this program; if
20: // not, write to the Free Software Foundation, 675 Mass Ave, Cambridge,
21: // MA 02139, USA.
22: //
23: ///////////////////////////////////////////////////////////////////////////////
24: package org.myoodb.collectable;
25:
26: public class AbcStoreDbImpl extends StoreCollectionDbImpl implements
27: AbcStore {
28: public AbcStoreDbImpl() {
29: }
30:
31: protected Object getContainerIndex(Object start) {
32: Object retval = super .getContainerIndex(start);
33: return (retval != null) ? retval : (String) "";
34: }
35:
36: public AbcObject addAbcObject(AbcObject abcObject) {
37: return (AbcObject) super .addStoreObject(abcObject);
38: }
39:
40: public AbcObject removeAbcObject(AbcObject abcObject) {
41: return (AbcObject) super .removeStoreObject(abcObject);
42: }
43:
44: public AbcObject removeAbcObject(String string) {
45: return (AbcObject) super .removeStoreObject(string);
46: }
47:
48: public AbcObject getFirstAbcObject() {
49: return (AbcObject) super .getFirstStoreObject();
50: }
51:
52: public AbcObject getLastAbcObject() {
53: return (AbcObject) super .getLastStoreObject();
54: }
55:
56: public AbcObject getAbcObject(String string) {
57: return (AbcObject) super .getStoreObject(string);
58: }
59:
60: public java.util.ArrayList getAbcKeys() {
61: return super .getStoreObjectKeys();
62: }
63:
64: public java.util.ArrayList getAbcKeys(String start, String end) {
65: return super .getStoreObjectKeys(start, end);
66: }
67:
68: public java.util.ArrayList getAbcObjects() {
69: return super .getStoreObjects();
70: }
71:
72: public java.util.ArrayList getAbcObjects(String start, String end) {
73: return super .getStoreObjects(start, end);
74: }
75:
76: public java.util.ArrayList getAbcObjects(String start, String end,
77: Class type) {
78: return super .getStoreObjects(start, end, type);
79: }
80:
81: public java.util.ArrayList getAbcObjects(String start, int number,
82: Direction direction) {
83: return super .getStoreObjects(start, number, direction);
84: }
85:
86: public java.util.ArrayList getAbcObjects(String start, int number,
87: Direction direction, Class type) {
88: return super .getStoreObjects(start, number, direction, type);
89: }
90:
91: public String toString() {
92: return "AbcStore: " + getStoreSize();
93: }
94: }
|