Class Attachment

java.lang.Object
com.mayam.wf.attributes.shared.type.Attachment
All Implemented Interfaces:
Copyable

@Complex public class Attachment extends Object implements Copyable
Describes a file attached to a task. Actual file contents are meant to be requested from the server using the BLOB identifier.
Author:
Markus MÃ¥rtensson
  • Constructor Details

    • Attachment

      public Attachment()
    • Attachment

      public Attachment(Attachment src)
  • Method Details

    • copy

      public Copyable copy()
      Description copied from interface: Copyable
      Performs a deep copy of the object.
      Specified by:
      copy in interface Copyable
      Returns:
      new copy.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getUploaded

      public Date getUploaded()
    • setUploaded

      public void setUploaded(Date uploaded)
    • getFilename

      public String getFilename()
    • setFilename

      public void setFilename(String filename)
    • getSize

      public long getSize()
    • setSize

      public void setSize(long size)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String comment)
    • getBlobId

      public long getBlobId()
    • setBlobId

      public void setBlobId(long blobId)