Class ResourceRef

  • All Implemented Interfaces:
    Serializable

    public class ResourceRef
    extends Object
    implements Serializable

    Encapsulates the logic for transparently working with ByteArrayEntity.

    Author:
    Marcus Klimstra (CGI), Tijs Rademakers
    See Also:
    Serialized Form
    • Field Detail

      • deleted

        protected boolean deleted
    • Constructor Detail

      • ResourceRef

        public ResourceRef()
      • ResourceRef

        public ResourceRef​(String id)
    • Method Detail

      • getId

        public String getId()
      • getName

        public String getName()
      • getBytes

        public byte[] getBytes()
      • setValue

        public void setValue​(String name,
                             byte[] bytes)
      • delete

        public void delete()
      • isDeleted

        public boolean isDeleted()