Class RemoteArtifact

  • All Implemented Interfaces:
    Serializable

    public class RemoteArtifact
    extends Object
    implements Serializable
    Wrapper of org.neotropic.kuwaiba.core.apis.persistence.application.process.Artifact. 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>
    See Also:
    Serialized Form
    • Constructor Detail

      • RemoteArtifact

        public RemoteArtifact()
      • RemoteArtifact

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

      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • 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)
      • 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