My CLPBRRoute  class is serializable and all his components are also 
serializable with serialVersionUID as you can see in the following class 
definitions.


public class CLPBRRoute implements Serializable
{
  private static long ID_COUNTER=0;
  private CLPBRNode m_start;
  private ArrayList m_cableRouteArcs=new ArrayList();
  private CLPBRRouteElement[] m_fiberRoute = null;
  private CLPBRCost m_cost=null;
  private float m_attenuationWavelength = 0;
  private long m_id=++ID_COUNTER;
  private String m_extremityDescription=null;

  private static final long serialVersionUID = 7487495895819393L;

 }

public class CLPBRNode
   implements CLPIBRElement, Serializable
 {
   private long m_id = -1;
   private Object m_data;
   private static final long serialVersionUID = 3487485891816293L;
 }

 public class CLPBRArc
   implements CLPIBRElement, Serializable
 {
   private long m_id = -1;
   private int m_number = -1;
   private CLPBRNode m_start = null;
   private CLPBRNode m_end = null;
   private CLPBRCost m_cost = new CLPBRCost();
   private Object m_data;
   private boolean m_used = false;
   private static final long serialVersionUID = 3487485891817293L;
 }

 static class CLPBRRouteElement
   implements Comparable, Serializable
 {
   protected long m_resourceId = -1;
   protected int m_resourceNumber = -1;
   protected long m_typeId = -1;
   protected boolean m_new = false;
   protected CLPBRCost m_cost = new CLPBRCost();

   private static final long serialVersionUID = 3487495895819391L;
 }

 public class CLPBRCost extends HashMap implements Serializable
 {
   private static final long serialVersionUID = 2487495895819393L;
 }


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932125#3932125

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932125


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to