Class ConsentTemplateDTO
java.lang.Object
org.emau.icmvc.ganimed.ttp.cm2.dto.FhirIdDTO
org.emau.icmvc.ganimed.ttp.cm2.dto.ConsentTemplateDTO
- All Implemented Interfaces:
Serializable
,DomainRelated
ein consent template kann mehrere module (mit jeweils mehreren policies) enthalten, es entspricht
dem elektronischen aequivalent eines nicht ausgefuellten konsentdokumentes
- Author:
- geidell
- See Also:
-
Constructor Summary
ConstructorDescriptionConsentTemplateDTO
(ConsentTemplateKeyDTO key, String title, ExpirationPropertiesDTO expirationProperties, String comment, String externProperties, ConsentTemplateType type, String header, String footer, String scanBase64, String scanFileType, Set<AssignedModuleDTO> assignedModules, Set<FreeTextDefDTO> freeTextDefs, String label, String versionLabel, boolean finalised, Date creationDate, Date updateDate, String fhirID, ConsentTemplateStructureDTO structure, Set<ConsentTemplateKeyDTO> mappedConsentTemplates, Set<ConsentTemplateKeyDTO> mappedRevocationTemplates, Set<ConsentTemplateKeyDTO> mappedRefusalTemplates) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
getKey()
getLabel()
getTitle()
getType()
Returns the version supplemented by the version label (if not null)Returns the version label if not null or the version otherwiseint
hashCode()
void
setAssignedModules
(Set<AssignedModuleDTO> assignedModules) void
setComment
(String comment) void
setCreationDate
(Date creationDate) void
setExpirationProperties
(ExpirationPropertiesDTO expirationProperties) void
setExternProperties
(String externProperties) void
setFinalised
(boolean finalised) void
void
setFreeTextDefs
(Set<FreeTextDefDTO> freeTextDefs) void
void
void
void
setMappedConsentTemplates
(Set<ConsentTemplateKeyDTO> mappedConsentTemplates) void
setMappedRefusalTemplates
(Set<ConsentTemplateKeyDTO> mappedRefusalTemplates) void
setMappedRevocationTemplates
(Set<ConsentTemplateKeyDTO> mappedRevocationTemplates) void
setMappedTemplates
(ConsentTemplateType type, Set<ConsentTemplateKeyDTO> mappedTemplates) void
setScanBase64
(String scanBase64) void
setScanFileType
(String scanFileType) void
setStructure
(ConsentTemplateStructureDTO structure) void
void
setType
(ConsentTemplateType type) void
setUpdateDate
(Date updateDate) void
setVersionLabel
(String versionLabel) toString()
-
Constructor Details
-
ConsentTemplateDTO
public ConsentTemplateDTO() -
ConsentTemplateDTO
-
ConsentTemplateDTO
-
ConsentTemplateDTO
public ConsentTemplateDTO(ConsentTemplateKeyDTO key, String title, ExpirationPropertiesDTO expirationProperties, String comment, String externProperties, ConsentTemplateType type, String header, String footer, String scanBase64, String scanFileType, Set<AssignedModuleDTO> assignedModules, Set<FreeTextDefDTO> freeTextDefs, String label, String versionLabel, boolean finalised, Date creationDate, Date updateDate, String fhirID, ConsentTemplateStructureDTO structure, Set<ConsentTemplateKeyDTO> mappedConsentTemplates, Set<ConsentTemplateKeyDTO> mappedRevocationTemplates, Set<ConsentTemplateKeyDTO> mappedRefusalTemplates)
-
-
Method Details
-
getKey
-
setKey
-
getTitle
-
setTitle
-
getExpirationProperties
-
setExpirationProperties
-
getComment
-
setComment
-
getExternProperties
-
setExternProperties
-
getType
-
setType
-
getHeader
-
setHeader
-
getScanBase64
-
setScanBase64
-
getScanFileType
-
setScanFileType
-
getAssignedModules
-
setAssignedModules
-
getFreeTextDefs
-
setFreeTextDefs
-
getStructure
-
setStructure
-
getCreationDate
-
setCreationDate
-
getUpdateDate
-
setUpdateDate
-
getLabel
-
setLabel
-
getLabelOrName
-
getVersionLabel
-
getVersionLabelAndVersion
Returns the version supplemented by the version label (if not null)- Returns:
- "VERSION (VERSION_LABEL)" or "VERSION" if there is no VERSION_LABEL
-
getVersionLabelOrVersion
Returns the version label if not null or the version otherwise- Returns:
- "VERSION_LABEL" or "VERSION" if there is no VERSION_LABEL
-
setVersionLabel
-
getFinalised
public boolean getFinalised() -
setFinalised
public void setFinalised(boolean finalised) -
getDomainName
- Specified by:
getDomainName
in interfaceDomainRelated
-
getMappedConsentTemplates
-
setMappedConsentTemplates
-
getMappedRevocationTemplates
-
setMappedRevocationTemplates
-
getMappedRefusalTemplates
-
setMappedRefusalTemplates
-
getMappedTemplates
-
setMappedTemplates
public void setMappedTemplates(ConsentTemplateType type, Set<ConsentTemplateKeyDTO> mappedTemplates) -
getAllMappedTemplates
-
hashCode
public int hashCode() -
equals
-
equalsForFhirSerice
-
toString
-