Class FreeTextDefDTO

java.lang.Object
org.emau.icmvc.ganimed.ttp.cm2.dto.FhirIdDTO
org.emau.icmvc.ganimed.ttp.cm2.dto.FreeTextDefDTO
All Implemented Interfaces:
Serializable

public class FreeTextDefDTO extends FhirIdDTO implements Serializable
definition fuer freitext-felder eines consents
Author:
geidell
See Also:
  • Constructor Details

    • FreeTextDefDTO

      public FreeTextDefDTO()
    • FreeTextDefDTO

      public FreeTextDefDTO(String name, boolean required, FreeTextType type, String converterString, int pos, String comment, boolean finalised, Date creationDate, Date updateDate, String fhirID, String externProperties, String label)
    • FreeTextDefDTO

      public FreeTextDefDTO(FreeTextDefDTO dto)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getRequired

      public boolean getRequired()
    • setRequired

      public void setRequired(boolean required)
    • getType

      public FreeTextType getType()
    • setType

      public void setType(FreeTextType type)
    • getConverterString

      public String getConverterString()
    • setConverterString

      public void setConverterString(String converterString)
    • getPos

      public int getPos()
    • setPos

      public void setPos(int pos)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String comment)
    • getFinalised

      public boolean getFinalised()
    • setFinalised

      public void setFinalised(boolean finalised)
    • getCreationDate

      public Date getCreationDate()
    • setCreationDate

      public void setCreationDate(Date creationDate)
    • getUpdateDate

      public Date getUpdateDate()
    • setUpdateDate

      public void setUpdateDate(Date updateDate)
    • getExternProperties

      public String getExternProperties()
    • setExternProperties

      public void setExternProperties(String externProperties)
    • getLabel

      public String getLabel()
    • getLabelOrName

      public String getLabelOrName()
      Returns the label if not empty or the name otherwise
      Returns:
      "Label" or "Name" if Label is empty
    • setLabel

      public void setLabel(String label)
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class FhirIdDTO