KickJava   Java API By Example, From Geeks To Geeks.

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


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: OzoneODMGDList.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 OzoneODMGDList extends ArrayList implements DList {
21     
22     
23     public OzoneODMGDList() {
24         super();
25     }
26     
27     
28     public OzoneODMGDList( Collection _collection ) {
29         super( _collection );
30     }
31     
32     
33     public DList concat( DList otherList ) {
34         DList result = new OzoneODMGDList( this );
35         result.addAll( otherList );
36         return result;
37     }
38     
39     
40     /**
41      * NOT SUPPORTED!
42      */

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

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

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

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