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