summaryrefslogtreecommitdiff
path: root/source/com/c2kernel/utils/CastorArrayList.java
blob: 10ff94844e9ad638382c5fa125d2ac6899b59209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 = new ArrayList();
    
    public CastorArrayList() {
        super();
		list = new ArrayList();       
    }
    
    public CastorArrayList(ArrayList list) {
        this();
        this.list = list;
    }
}