class Bitstream extends DSpaceObject implements DSpaceObjectLegacySupport {

     @Override
     public boolean equals(Object other)
     {
         if (other == null)
         {
             return false;
         }
         Class<?> objClass = HibernateProxyHelper.getClassWithoutInitializingProxy(other);
         if (this.getClass() != objClass)
         {
             return false;
         }
         final Bitstream otherBitstream = (Bitstream) other;
         if (!this.getID().equals(otherBitstream.getID()))
         {
             return false;
         }

         return true;
     }

     protected  Bitstream();

}