def new(klass, *args)
      unless klass.is_a?(BasicObject)
        PEROBS.log.fatal "#{klass} is not a BasicObject derivative"
      end

      obj = _construct_po(klass, _new_id, *args)
      # Mark the new object as modified so it gets pushed into the database.
      @cache.cache_write(obj)
      # Return a POXReference proxy for the newly created object.
      obj.myself
    end
def new(klass, *args)
      unless klass.is_a?(BasicObject)
        PEROBS.log.fatal "#{klass} is not a BasicObject derivative"
      end

      obj = _construct_po(klass, _new_id, *args)
      # Mark the new object as modified so it gets pushed into the database.
      @cache.cache_write(obj)
      # Return a POXReference proxy for the newly created object.
      obj.myself
    end
You need to call this method to create new PEROBS objects that belong to
 this Store.
 @param klass [Class] The class of the object you want to create. This
        must be a derivative of ObjectBase.
 @param args Optional list of other arguments that are passed to the
        constructor of the specified class.
 @return [POXReference] A reference to the newly created object.