Class ResourceRef

java.lang.Object
com.flowable.action.engine.impl.persistence.entity.ResourceRef
All Implemented Interfaces:
java.io.Serializable

public class ResourceRef
extends java.lang.Object
implements java.io.Serializable

Encapsulates the logic for transparently working with ActionResourceEntity .

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

    Fields 
    Modifier and Type Field Description
    protected boolean deleted  
  • Constructor Summary

    Constructors 
    Constructor Description
    ResourceRef()  
    ResourceRef​(java.lang.String id)  
  • Method Summary

    Modifier and Type Method Description
    void delete()  
    byte[] getBytes()  
    ActionResourceEntity getEntity()  
    java.lang.String getId()  
    java.lang.String getName()  
    boolean isDeleted()  
    void setValue​(java.lang.String name, byte[] bytes)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • deleted

      protected boolean deleted
  • Constructor Details

  • Method Details

    • getId

      public java.lang.String getId()
    • getName

      public java.lang.String getName()
    • getBytes

      public byte[] getBytes()
    • setValue

      public void setValue​(java.lang.String name, byte[] bytes)
    • getEntity

      public ActionResourceEntity getEntity()
    • delete

      public void delete()
    • isDeleted

      public boolean isDeleted()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object