KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > odmg > OzoneODMGDArray


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Library License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7
// $Id: OzoneODMGDArray.java,v 1.1 2001/12/18 10:31:31 per_nyfelt Exp $
8

9 package org.ozoneDB.odmg;
10
11 import org.odmg.*;
12 //import org.ozoneDB.*;
13
import java.util.*;
14
15
16 /**
17  * @author <a HREF="http://www.softwarebuero.de/">SMB</a>
18  * @version $Revision: 1.1 $Date: 2001/12/18 10:31:31 $
19  */

20 public class OzoneODMGDArray extends ArrayList implements DArray {
21     
22     
23     public OzoneODMGDArray() {
24         super();
25     }
26     
27     
28     public OzoneODMGDArray( Collection _collection ) {
29         super( _collection );
30     }
31     
32     
33     /**
34      * Resize the array to have <code>newSize</code> elements.
35      * @param newSize The new size of the array.
36      */

37     public void resize( int newSize ) {
38         ensureCapacity( newSize );
39     }
40     
41     
42     /**
43      * NOT SUPPORTED!
44      */

45     public Object JavaDoc selectElement( String JavaDoc predicate ) throws QueryInvalidException {
46         throw new NotImplementedException( "OQL not supported" );
47     }
48     
49     
50     /**
51      * NOT SUPPORTED!
52      */

53     public java.util.Iterator JavaDoc select( String JavaDoc predicate ) throws QueryInvalidException {
54         throw new NotImplementedException( "OQL not supported" );
55     }
56     
57     
58     /**
59      * NOT SUPPORTED!
60      */

61     public DCollection query( String JavaDoc predicate ) throws QueryInvalidException {
62         throw new NotImplementedException( "OQL not supported" );
63     }
64     
65     
66     /**
67      * NOT SUPPORTED!
68      */

69     public boolean existsElement( String JavaDoc predicate ) throws QueryInvalidException {
70         throw new NotImplementedException( "OQL not supported" );
71     }
72     
73 }
74
Popular Tags