public class ConsentModule
extends org.hl7.fhir.dstu3.model.Type
implements org.hl7.fhir.instance.model.api.ICompositeType
mosaic-greifswald.de
Constructor and Description |
---|
ConsentModule()
create new instance of ConsentModule, using default version "1.0"
|
ConsentModule(java.lang.String moduleName,
java.lang.String moduleComment,
java.lang.String domainName,
java.lang.String moduleText,
java.lang.String moduleTitle)
Create new instance of ConsentModule using default version "1.0"
|
ConsentModule(java.lang.String moduleName,
java.lang.String moduleComment,
java.lang.String moduleVersion,
java.lang.String domainName,
java.lang.String moduleText,
java.lang.String moduleTitle)
create new instance of ConsentModule
|
ConsentModule(java.lang.String moduleName,
java.lang.String moduleComment,
java.lang.String moduleVersion,
java.lang.String domainName,
java.lang.String moduleText,
java.lang.String moduleTitle,
java.util.List<java.lang.String> policyKeys)
create new instance of ConsentModule assigning the specified policies
|
ConsentModule(java.lang.String moduleName,
java.lang.String moduleComment,
java.lang.String moduleVersion,
java.lang.String domainName,
java.lang.String moduleText,
java.lang.String moduleTitle,
java.util.List<java.lang.String> policyKeys,
java.lang.String externProperties)
create new instance of ConsentModule assigning the specified policies
|
ConsentModule(java.lang.String moduleName,
java.lang.String moduleComment,
java.lang.String moduleVersion,
java.lang.String domainName,
java.lang.String moduleText,
java.lang.String moduleTitle,
java.util.List<java.lang.String> policyKeys,
java.lang.String externProperties,
java.lang.String label)
create new instance of ConsentModule assigning the specified policies
|
ConsentModule(java.lang.String moduleName,
java.lang.String moduleLabel,
java.lang.String moduleShortText,
java.lang.String moduleComment,
java.lang.String moduleVersion,
java.lang.String domainName,
java.lang.String moduleText,
java.lang.String moduleTitle,
java.util.List<java.lang.String> policyKeys,
java.lang.String externProperties)
create new instance of ConsentModule with label and shorttext
|
Modifier and Type | Method and Description |
---|---|
ConsentModule |
addPolicy(ConsentPolicy policy)
assign given consent policy to module
|
ConsentModule |
addPolicyKey(java.lang.String policyKey)
assign given consent policy key to module
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDomainName()
get Name of assigned consent domain
|
java.lang.String |
getExternProperties()
get externProperties of consent module
|
java.lang.String |
getModuleComment()
get comment to describe purpose of consent module
|
java.lang.Boolean |
getModuleFinalized()
get consent module finalized status
|
java.lang.String |
getModuleLabel()
get label of consent module
|
java.lang.String |
getModuleName()
get Name of consent module
|
java.lang.String |
getModuleShortText()
get shorttext of consent module
|
java.lang.String |
getModuleText()
get text of consent module to be used as label etc.
|
java.lang.String |
getModuleTitle()
get title of consent module to be used as label etc.
|
java.lang.String |
getModuleVersion()
get version of consent module
|
java.util.List<java.lang.String> |
getPolicyKeys()
get list of consent policies assigned to consent module
|
int |
hashCode() |
boolean |
isEmpty() |
ConsentModule |
removePolicy(ConsentPolicy policy)
remove assigned policy from module
|
ConsentModule |
removePolicyKey(java.lang.String policyKey)
remove assigned policy key from module
|
ConsentModule |
setDomainName(java.lang.String domainName)
set name of assigned consent domain
|
ConsentModule |
setExternProperties(java.lang.String externProperties)
set externProperties of consent module with 0-n properties separated by semicolon
|
ConsentModule |
setModuleComment(java.lang.String comment)
set comment to describe purpose of consent module
|
ConsentModule |
setModuleFinalized(java.lang.Boolean finalstate)
set consent module finalized status
|
ConsentModule |
setModuleLabel(java.lang.String label)
set label of consent module
|
ConsentModule |
setModuleName(java.lang.String name)
set Name of consent module
|
ConsentModule |
setModuleShortText(java.lang.String shorttext)
set shorttext of consent module to be used as displayed content
|
ConsentModule |
setModuleText(java.lang.String text)
set text of consent module to be used as displayed content
|
ConsentModule |
setModuleTitle(java.lang.String title)
set title of consent module to be used as label etc.
|
ConsentModule |
setModuleVersion(java.lang.String version)
set version of consent module
|
ConsentModule |
setPolicyKeys(java.util.List<java.lang.String> policykeys)
set list of consent policy keys to consent module
|
java.lang.String |
toKeyString()
get module Key as String separated with semicolon e.g.
|
java.lang.String |
toString() |
addChild, addExtension, addExtension, addExtension, copyValues, equalsDeep, equalsShallow, fhirType, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, getProperty, getTypesForProperty, hasExtension, hasExtension, hasId, hasIdElement, makeProperty, setExtension, setId, setIdBase, setIdElement, setProperty, setProperty
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
public ConsentModule(java.lang.String moduleName, java.lang.String moduleComment, java.lang.String moduleVersion, java.lang.String domainName, java.lang.String moduleText, java.lang.String moduleTitle)
moduleName
- name of Consent modulemoduleComment
- Comment for consent modulemoduleVersion
- version for the consent moduledomainName
- name of the consent domain this module will be applied tomoduleText
- text of the consent modulemoduleTitle
- title of the consent modulepublic ConsentModule(java.lang.String moduleName, java.lang.String moduleComment, java.lang.String moduleVersion, java.lang.String domainName, java.lang.String moduleText, java.lang.String moduleTitle, java.util.List<java.lang.String> policyKeys)
moduleName
- name of Consent modulemoduleComment
- Comment for consent modulemoduleVersion
- version for the consent moduledomainName
- name of the consent domain this module will be applied tomoduleText
- text of the consent modulemoduleTitle
- policyKeys
- list of assigned policies in policykey formatpublic ConsentModule(java.lang.String moduleName, java.lang.String moduleComment, java.lang.String moduleVersion, java.lang.String domainName, java.lang.String moduleText, java.lang.String moduleTitle, java.util.List<java.lang.String> policyKeys, java.lang.String externProperties, java.lang.String label)
moduleName
- name of Consent modulemoduleComment
- Comment for consent modulemoduleVersion
- version for the consent moduledomainName
- name of the consent domain this module will be applied tomoduleText
- text of the consent modulemoduleTitle
- policyKeys
- list of assigned policies in policykey formatexternProperties
- externPropertieslabel
- labelpublic ConsentModule(java.lang.String moduleName, java.lang.String moduleComment, java.lang.String moduleVersion, java.lang.String domainName, java.lang.String moduleText, java.lang.String moduleTitle, java.util.List<java.lang.String> policyKeys, java.lang.String externProperties)
moduleName
- name of Consent modulemoduleComment
- Comment for consent modulemoduleVersion
- version for the consent moduledomainName
- name of the consent domain this module will be applied tomoduleText
- text of the consent modulemoduleTitle
- policyKeys
- list of assigned policies in policykey formatexternProperties
- externPropertiespublic ConsentModule(java.lang.String moduleName, java.lang.String moduleLabel, java.lang.String moduleShortText, java.lang.String moduleComment, java.lang.String moduleVersion, java.lang.String domainName, java.lang.String moduleText, java.lang.String moduleTitle, java.util.List<java.lang.String> policyKeys, java.lang.String externProperties)
moduleName
- moduleLabel
- moduleShortText
- moduleComment
- moduleVersion
- domainName
- moduleText
- moduleTitle
- policyKeys
- externProperties
- public ConsentModule(java.lang.String moduleName, java.lang.String moduleComment, java.lang.String domainName, java.lang.String moduleText, java.lang.String moduleTitle)
moduleName
- name of Consent modulemoduleComment
- Comment for consent moduledomainName
- name of the consent domain this module will be applied tomoduleText
- text of the consent modulemoduleTitle
- public ConsentModule()
public java.lang.String getModuleVersion()
public ConsentModule setModuleVersion(java.lang.String version)
version
- version of consent modulepublic java.lang.Boolean getModuleFinalized()
public ConsentModule setModuleFinalized(java.lang.Boolean finalstate)
finalstate
- finalized status
module finalized statuspublic java.lang.String getModuleLabel()
public ConsentModule setModuleLabel(java.lang.String label)
label
- label of consent modulepublic java.lang.String getModuleName()
public ConsentModule setModuleName(java.lang.String name)
name
- Name of consent modulepublic java.lang.String getDomainName()
public ConsentModule setDomainName(java.lang.String domainName)
domainName
- name of assigned consent domainpublic java.lang.String getModuleComment()
public ConsentModule setModuleComment(java.lang.String comment)
comment
- comment to describe purpose of consent modulepublic java.lang.String getModuleTitle()
public ConsentModule setModuleTitle(java.lang.String title)
title
- title of consent module to be used as label etc.public java.lang.String getModuleShortText()
public ConsentModule setModuleShortText(java.lang.String shorttext)
shorttext
- shorttext of consent module to be used as displayed contentpublic java.lang.String getModuleText()
public ConsentModule setModuleText(java.lang.String text)
text
- text of consent module to be used as displayed contentpublic java.lang.String getExternProperties()
public ConsentModule setExternProperties(java.lang.String externProperties)
externProperties
- externProperties of consent modulepublic java.util.List<java.lang.String> getPolicyKeys()
public ConsentModule setPolicyKeys(java.util.List<java.lang.String> policykeys)
policykeys
- list of consent policies keys to be assigned to consent modulepublic ConsentModule addPolicy(ConsentPolicy policy)
policy
- consent policy to be assigned to consent modulepublic ConsentModule addPolicyKey(java.lang.String policyKey)
policyKey
- consent policy key to be assigned to consent modulepublic ConsentModule removePolicy(ConsentPolicy policy)
policy
- consent policy to be removed from modulepublic ConsentModule removePolicyKey(java.lang.String policyKey)
policyKey
- consent policy key to be removed from modulepublic java.lang.String toKeyString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isEmpty()
isEmpty
in interface org.hl7.fhir.instance.model.api.IBase
isEmpty
in class org.hl7.fhir.dstu3.model.Element