Class FolderMetadata

java.lang.Object
org.projecthusky.communication.FolderMetadata

public class FolderMetadata extends Object
Class FolderMetadata. Provides metadata attributes as specified in [IHE ITI TF-3, Sep 9, 2016], Table 4.1.3.4-1: Folder Metadata Attribute Definition
  • Constructor Details

    • FolderMetadata

      public FolderMetadata()
      Default constructor to instanciate the object
    • FolderMetadata

      public FolderMetadata(org.openehealth.ipf.commons.ihe.xds.core.metadata.Folder ipfFolder)
      Default constructor to instanciate the object
      Parameters:
      ipfFolder - IPF folder
  • Method Details

    • addCode

      public void addCode(Code aCode)
      Method to add a code to codelist
      Parameters:
      aCode - the code to be added
    • getAvailabilityStatus

      public org.openehealth.ipf.commons.ihe.xds.core.metadata.AvailabilityStatus getAvailabilityStatus()
      Gets the Availability Status of the Document
      Returns:
      status the AvailabilityStatus
    • setAvailabilityStatus

      public void setAvailabilityStatus(org.openehealth.ipf.commons.ihe.xds.core.metadata.AvailabilityStatus status)
      Sets the Availability Status of the Document
      Parameters:
      status - the AvailabilityStatus
    • getCodeList

      public List<Code> getCodeList()
      Gets a list of Codes
      Returns:
      a list of Codes
    • setCodeList

      public void setCodeList(List<Code> codeList)
      Sets a list of codes
      Parameters:
      codeList - the list of codes to be set
    • getComments

      public String getComments()
      Gets comments for this submission
      Returns:
      comments the comments
    • setComments

      public void setComments(String comments)
      Sets comments for this submission
      Parameters:
      comments - the comments
    • getEntryUUID

      public String getEntryUUID()
      Gets the EntryUUID
      Returns:
      the EntryUUID
    • setEntryUUID

      public void setEntryUUID(String entryUuid)
      Sets the entry uuid.
      Parameters:
      entryUuid - the uuid to be set
    • getLastUpdateTime

      public ZonedDateTime getLastUpdateTime()
      Gets the last update time of the folder.

      The DTM formatted string is converted to date

      Returns:
      the update time
    • setLastUpdateTime

      public void setLastUpdateTime(ZonedDateTime lastUpdateTime)
      Parameters:
      lastUpdateTime -
    • getPatientId

      public Identificator getPatientId()
      Gets the ID of the patient
      Returns:
      id the patientId
    • setPatientId

      public void setPatientId(Identificator id)
      Sets the ID of the patient
      Parameters:
      id - the patientId
    • getTitle

      public String getTitle()
      Gets the title of the submission set
      Returns:
      the title
    • setTitle

      public void setTitle(String title)
      Sets the title of the submission set
      Parameters:
      title - the title
    • getUniqueId

      public String getUniqueId()
      Gets the uniqueid of the submission set
      Returns:
      hte unique id
    • setUniqueId

      public void setUniqueId(String uniqueyId)
      Sets the unique id.
      Parameters:
      uniqueyId - the unique id to be set