01: // You can redistribute this software and/or modify it under the terms of
02: // the Ozone Library License version 1 published by ozone-db.org.
03: //
04: // The original code and portions created by SMB are
05: // Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
06: //
07: // $Id: OzoneODMGDArray.java,v 1.1 2002/05/08 15:03:21 per_nyfelt Exp $
08:
09: package org.ozoneDB.odmg;
10:
11: import org.odmg.*; //import org.ozoneDB.*;
12: import java.util.*;
13:
14: /**
15: * @author <a href="http://www.softwarebuero.de/">SMB</a>
16: * @version $Revision: 1.1 $Date: 2002/05/08 15:03:21 $
17: */
18: public class OzoneODMGDArray extends ArrayList implements DArray {
19:
20: public OzoneODMGDArray() {
21: super ();
22: }
23:
24: public OzoneODMGDArray(Collection _collection) {
25: super (_collection);
26: }
27:
28: /**
29: * Resize the array to have <code>newSize</code> elements.
30: * @param newSize The new size of the array.
31: */
32: public void resize(int newSize) {
33: ensureCapacity(newSize);
34: }
35:
36: /**
37: * NOT SUPPORTED!
38: */
39: public Object selectElement(String predicate)
40: throws QueryInvalidException {
41: throw new NotImplementedException("OQL not supported");
42: }
43:
44: /**
45: * NOT SUPPORTED!
46: */
47: public java.util.Iterator select(String predicate)
48: throws QueryInvalidException {
49: throw new NotImplementedException("OQL not supported");
50: }
51:
52: /**
53: * NOT SUPPORTED!
54: */
55: public DCollection query(String predicate)
56: throws QueryInvalidException {
57: throw new NotImplementedException("OQL not supported");
58: }
59:
60: /**
61: * NOT SUPPORTED!
62: */
63: public boolean existsElement(String predicate)
64: throws QueryInvalidException {
65: throw new NotImplementedException("OQL not supported");
66: }
67:
68: }
|