Class Artifact


  • public class Artifact
    extends Object
    Every process activity has at least one artifact. An artifact is the result of executing an activity. Most of the times, an artifact is simply a form filled in by a user
    Author:
    Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
    • Constructor Detail

      • Artifact

        public Artifact​(String id,
                        String name,
                        String contentType,
                        byte[] content,
                        List<StringPair> sharedInformation,
                        long creationDate,
                        long commitDate)
    • Method Detail

      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getContentType

        public String getContentType()
      • setContentType

        public void setContentType​(String contentType)
      • getContent

        public byte[] getContent()
      • setContent

        public void setContent​(byte[] content)
      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getSharedInformation

        public List<StringPair> getSharedInformation()
      • setSharedInformation

        public void setSharedInformation​(List<StringPair> sharedInformation)
      • getCreationDate

        public long getCreationDate()
      • setCreationDate

        public void setCreationDate​(long creationDate)
      • getCommitDate

        public long getCommitDate()
      • setCommitDate

        public void setCommitDate​(long commitDate)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object