package com.c2kernel.utils; import java.io.Serializable; import java.util.ArrayList; /************************************************************************** * Wrapper for a root element to an ArrayList. Castor Marshalls arraylists * as multiple elements, so this class is needed to provide a root element * to stop it crashing. * * $Revision: 1.4 $ * $Date: 2004/01/22 11:17:42 $ * * Copyright (C) 2003 CERN - European Organization for Nuclear Research * All rights reserved. **************************************************************************/ // abstract public class CastorArrayList implements Serializable { public ArrayList list; public CastorArrayList() { super(); list = new ArrayList(); } public CastorArrayList(ArrayList list) { this(); this.list = list; } }