01: /*
02: * Copyright 2004 (C) TJDO.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the TJDO License version 1.0.
06: * See the terms of the TJDO License in the documentation provided with this software.
07: *
08: * $Id: SCOCollection.java,v 1.1 2004/01/18 03:01:06 jackknifebarber Exp $
09: */
10:
11: package com.triactive.jdo.sco;
12:
13: import com.triactive.jdo.SCO;
14:
15: /**
16: * A mutable second-class Collection object.
17: *
18: * @author <a href="mailto:mmartin5@austin.rr.com">Mike Martin</a>
19: * @version $Revision: 1.1 $
20: */
21:
22: public interface SCOCollection extends SCO {
23: /**
24: * Returns the type of elements in this collection.
25: *
26: * @return The type of elements in this collection.
27: */
28: Class getElementType();
29:
30: /**
31: * Indicates whether or not this collection allows null elements.
32: *
33: * @return <code>true</code> if null elements are allowed,
34: * <code>false</code> otherwise.
35: */
36: boolean allowsNulls();
37: }
|