4 Replies Latest reply on Jul 21, 2008 2:00 PM by starksm64

    ManagedObjectAttachmentsImpl::transientManagedObjects not tr

    alesj

      Looking at this

      public class ManagedObjectAttachmentsImpl extends PredeterminedManagedObjectAttachmentsImpl implements ManagedObjectAttachments
      {
       /** The serialVersionUID */
       private static final long serialVersionUID = -195530143173768763L;
      
       /** The transient managed objects */
       private MutableAttachments transientManagedObjects = AttachmentsFactory.createMutableAttachments();
      
       public MutableAttachments getTransientManagedObjects()
       {
       return transientManagedObjects;
       }
      
       public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
       {
       super.readExternal(in);
       transientManagedObjects = (MutableAttachments) in.readObject();
       }
      
       /**
       * @serialData attachments
       * @param out the output
       * @throws IOException for any error
       */
       public void writeExternal(ObjectOutput out) throws IOException
       {
       super.writeExternal(out);
       out.writeObject(transientManagedObjects);
       }
      }
      

      what's transient about it, except for the name? :-)