/*
 * JBoss, the OpenSource J2EE webOS
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package org.jboss.aspects.versioned;
import org.jboss.util.id.GUID;

import java.util.ArrayList;

public class DistributedListUpdate implements java.io.Serializable, DistributedUpdate
{
   private static final long serialVersionUID = -1313127751220246092L;

   public GUID guid;
   public long versionId;
   /**
    * This is a list of VersionReference's or serializable objects
    */
   public ArrayList listUpdates;

   public DistributedListUpdate() {}

   public DistributedListUpdate(GUID guid, ArrayList updates, long versionId)
   {
      this.guid = guid;
      this.listUpdates = updates;
      this.versionId = versionId;
   }
   
   public GUID getGUID() { return guid; }

}
