Class ModuleMetadata
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.ModuleMetadata
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ModuleMetadata extends Element implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensionsJava class for ModuleMetadata complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ModuleMetadata"> <complexContent> <extension base="{http://hl7.org/fhir}Element"> <sequence> <element name="url" type="{http://hl7.org/fhir}uri" minOccurs="0"/> <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/> <element name="version" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="name" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="title" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="type" type="{http://hl7.org/fhir}ModuleMetadataType"/> <element name="status" type="{http://hl7.org/fhir}ModuleMetadataStatus"/> <element name="experimental" type="{http://hl7.org/fhir}boolean" minOccurs="0"/> <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="purpose" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="usage" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="publicationDate" type="{http://hl7.org/fhir}date" minOccurs="0"/> <element name="lastReviewDate" type="{http://hl7.org/fhir}date" minOccurs="0"/> <element name="effectivePeriod" type="{http://hl7.org/fhir}Period" minOccurs="0"/> <element name="coverage" type="{http://hl7.org/fhir}ModuleMetadata.Coverage" maxOccurs="unbounded" minOccurs="0"/> <element name="topic" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/> <element name="contributor" type="{http://hl7.org/fhir}ModuleMetadata.Contributor" maxOccurs="unbounded" minOccurs="0"/> <element name="publisher" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="contact" type="{http://hl7.org/fhir}ModuleMetadata.Contact" maxOccurs="unbounded" minOccurs="0"/> <element name="copyright" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="relatedResource" type="{http://hl7.org/fhir}ModuleMetadata.RelatedResource" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ModuleMetadataContact>contactprotected java.util.List<ModuleMetadataContributor>contributorprotected Stringcopyrightprotected java.util.List<ModuleMetadataCoverage>coverageprotected Stringdescriptionprotected PeriodeffectivePeriodprotected Booleanexperimentalprotected java.util.List<Identifier>identifierprotected DatelastReviewDateprotected Stringnameprotected DatepublicationDateprotected Stringpublisherprotected Stringpurposeprotected java.util.List<ModuleMetadataRelatedResource>relatedResourceprotected ModuleMetadataStatusstatusprotected Stringtitleprotected java.util.List<CodeableConcept>topicprotected ModuleMetadataTypetypeprotected Uriurlprotected Stringusageprotected Stringversion
-
Constructor Summary
Constructors Constructor Description ModuleMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)java.util.List<ModuleMetadataContact>getContact()Gets the value of the contact property.java.util.List<ModuleMetadataContributor>getContributor()Gets the value of the contributor property.StringgetCopyright()Gets the value of the copyright property.java.util.List<ModuleMetadataCoverage>getCoverage()Gets the value of the coverage property.StringgetDescription()Gets the value of the description property.PeriodgetEffectivePeriod()Gets the value of the effectivePeriod property.BooleangetExperimental()Gets the value of the experimental property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.DategetLastReviewDate()Gets the value of the lastReviewDate property.StringgetName()Gets the value of the name property.DategetPublicationDate()Gets the value of the publicationDate property.StringgetPublisher()Gets the value of the publisher property.StringgetPurpose()Gets the value of the purpose property.java.util.List<ModuleMetadataRelatedResource>getRelatedResource()Gets the value of the relatedResource property.ModuleMetadataStatusgetStatus()Gets the value of the status property.StringgetTitle()Gets the value of the title property.java.util.List<CodeableConcept>getTopic()Gets the value of the topic property.ModuleMetadataTypegetType()Gets the value of the type property.UrigetUrl()Gets the value of the url property.StringgetUsage()Gets the value of the usage property.StringgetVersion()Gets the value of the version property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetCopyright(String value)Sets the value of the copyright property.voidsetDescription(String value)Sets the value of the description property.voidsetEffectivePeriod(Period value)Sets the value of the effectivePeriod property.voidsetExperimental(Boolean value)Sets the value of the experimental property.voidsetLastReviewDate(Date value)Sets the value of the lastReviewDate property.voidsetName(String value)Sets the value of the name property.voidsetPublicationDate(Date value)Sets the value of the publicationDate property.voidsetPublisher(String value)Sets the value of the publisher property.voidsetPurpose(String value)Sets the value of the purpose property.voidsetStatus(ModuleMetadataStatus value)Sets the value of the status property.voidsetTitle(String value)Sets the value of the title property.voidsetType(ModuleMetadataType value)Sets the value of the type property.voidsetUrl(Uri value)Sets the value of the url property.voidsetUsage(String value)Sets the value of the usage property.voidsetVersion(String value)Sets the value of the version property.java.lang.StringtoString()ModuleMetadatawithContact(java.util.Collection<ModuleMetadataContact> values)ModuleMetadatawithContact(ModuleMetadataContact... values)ModuleMetadatawithContributor(java.util.Collection<ModuleMetadataContributor> values)ModuleMetadatawithContributor(ModuleMetadataContributor... values)ModuleMetadatawithCopyright(String value)ModuleMetadatawithCoverage(java.util.Collection<ModuleMetadataCoverage> values)ModuleMetadatawithCoverage(ModuleMetadataCoverage... values)ModuleMetadatawithDescription(String value)ModuleMetadatawithEffectivePeriod(Period value)ModuleMetadatawithExperimental(Boolean value)ModuleMetadatawithExtension(java.util.Collection<Extension> values)ModuleMetadatawithExtension(Extension... values)ModuleMetadatawithId(java.lang.String value)ModuleMetadatawithIdentifier(java.util.Collection<Identifier> values)ModuleMetadatawithIdentifier(Identifier... values)ModuleMetadatawithLastReviewDate(Date value)ModuleMetadatawithName(String value)ModuleMetadatawithPublicationDate(Date value)ModuleMetadatawithPublisher(String value)ModuleMetadatawithPurpose(String value)ModuleMetadatawithRelatedResource(java.util.Collection<ModuleMetadataRelatedResource> values)ModuleMetadatawithRelatedResource(ModuleMetadataRelatedResource... values)ModuleMetadatawithStatus(ModuleMetadataStatus value)ModuleMetadatawithTitle(String value)ModuleMetadatawithTopic(java.util.Collection<CodeableConcept> values)ModuleMetadatawithTopic(CodeableConcept... values)ModuleMetadatawithType(ModuleMetadataType value)ModuleMetadatawithUrl(Uri value)ModuleMetadatawithUsage(String value)ModuleMetadatawithVersion(String value)-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
url
protected Uri url
-
identifier
protected java.util.List<Identifier> identifier
-
version
protected String version
-
name
protected String name
-
title
protected String title
-
type
protected ModuleMetadataType type
-
status
protected ModuleMetadataStatus status
-
experimental
protected Boolean experimental
-
description
protected String description
-
purpose
protected String purpose
-
usage
protected String usage
-
publicationDate
protected Date publicationDate
-
lastReviewDate
protected Date lastReviewDate
-
effectivePeriod
protected Period effectivePeriod
-
coverage
protected java.util.List<ModuleMetadataCoverage> coverage
-
topic
protected java.util.List<CodeableConcept> topic
-
contributor
protected java.util.List<ModuleMetadataContributor> contributor
-
publisher
protected String publisher
-
contact
protected java.util.List<ModuleMetadataContact> contact
-
copyright
protected String copyright
-
relatedResource
protected java.util.List<ModuleMetadataRelatedResource> relatedResource
-
-
Method Detail
-
setUrl
public void setUrl(Uri value)
Sets the value of the url property.- Parameters:
value- allowed object isUri
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Gets the value of the identifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the identifier property.For example, to add a new item, do as follows:
getIdentifier().add(newItem);Objects of the following type(s) are allowed in the list
Identifier
-
getVersion
public String getVersion()
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
public void setVersion(String value)
Sets the value of the version property.- Parameters:
value- allowed object isString
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getTitle
public String getTitle()
Gets the value of the title property.- Returns:
- possible object is
String
-
setTitle
public void setTitle(String value)
Sets the value of the title property.- Parameters:
value- allowed object isString
-
getType
public ModuleMetadataType getType()
Gets the value of the type property.- Returns:
- possible object is
ModuleMetadataType
-
setType
public void setType(ModuleMetadataType value)
Sets the value of the type property.- Parameters:
value- allowed object isModuleMetadataType
-
getStatus
public ModuleMetadataStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
ModuleMetadataStatus
-
setStatus
public void setStatus(ModuleMetadataStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isModuleMetadataStatus
-
getExperimental
public Boolean getExperimental()
Gets the value of the experimental property.- Returns:
- possible object is
Boolean
-
setExperimental
public void setExperimental(Boolean value)
Sets the value of the experimental property.- Parameters:
value- allowed object isBoolean
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getPurpose
public String getPurpose()
Gets the value of the purpose property.- Returns:
- possible object is
String
-
setPurpose
public void setPurpose(String value)
Sets the value of the purpose property.- Parameters:
value- allowed object isString
-
getUsage
public String getUsage()
Gets the value of the usage property.- Returns:
- possible object is
String
-
setUsage
public void setUsage(String value)
Sets the value of the usage property.- Parameters:
value- allowed object isString
-
getPublicationDate
public Date getPublicationDate()
Gets the value of the publicationDate property.- Returns:
- possible object is
Date
-
setPublicationDate
public void setPublicationDate(Date value)
Sets the value of the publicationDate property.- Parameters:
value- allowed object isDate
-
getLastReviewDate
public Date getLastReviewDate()
Gets the value of the lastReviewDate property.- Returns:
- possible object is
Date
-
setLastReviewDate
public void setLastReviewDate(Date value)
Sets the value of the lastReviewDate property.- Parameters:
value- allowed object isDate
-
getEffectivePeriod
public Period getEffectivePeriod()
Gets the value of the effectivePeriod property.- Returns:
- possible object is
Period
-
setEffectivePeriod
public void setEffectivePeriod(Period value)
Sets the value of the effectivePeriod property.- Parameters:
value- allowed object isPeriod
-
getCoverage
public java.util.List<ModuleMetadataCoverage> getCoverage()
Gets the value of the coverage property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the coverage property.For example, to add a new item, do as follows:
getCoverage().add(newItem);Objects of the following type(s) are allowed in the list
ModuleMetadataCoverage
-
getTopic
public java.util.List<CodeableConcept> getTopic()
Gets the value of the topic property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the topic property.For example, to add a new item, do as follows:
getTopic().add(newItem);Objects of the following type(s) are allowed in the list
CodeableConcept
-
getContributor
public java.util.List<ModuleMetadataContributor> getContributor()
Gets the value of the contributor property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the contributor property.For example, to add a new item, do as follows:
getContributor().add(newItem);Objects of the following type(s) are allowed in the list
ModuleMetadataContributor
-
getPublisher
public String getPublisher()
Gets the value of the publisher property.- Returns:
- possible object is
String
-
setPublisher
public void setPublisher(String value)
Sets the value of the publisher property.- Parameters:
value- allowed object isString
-
getContact
public java.util.List<ModuleMetadataContact> getContact()
Gets the value of the contact property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the contact property.For example, to add a new item, do as follows:
getContact().add(newItem);Objects of the following type(s) are allowed in the list
ModuleMetadataContact
-
getCopyright
public String getCopyright()
Gets the value of the copyright property.- Returns:
- possible object is
String
-
setCopyright
public void setCopyright(String value)
Sets the value of the copyright property.- Parameters:
value- allowed object isString
-
getRelatedResource
public java.util.List<ModuleMetadataRelatedResource> getRelatedResource()
Gets the value of the relatedResource property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the relatedResource property.For example, to add a new item, do as follows:
getRelatedResource().add(newItem);Objects of the following type(s) are allowed in the list
ModuleMetadataRelatedResource
-
withUrl
public ModuleMetadata withUrl(Uri value)
-
withIdentifier
public ModuleMetadata withIdentifier(Identifier... values)
-
withIdentifier
public ModuleMetadata withIdentifier(java.util.Collection<Identifier> values)
-
withVersion
public ModuleMetadata withVersion(String value)
-
withName
public ModuleMetadata withName(String value)
-
withTitle
public ModuleMetadata withTitle(String value)
-
withType
public ModuleMetadata withType(ModuleMetadataType value)
-
withStatus
public ModuleMetadata withStatus(ModuleMetadataStatus value)
-
withExperimental
public ModuleMetadata withExperimental(Boolean value)
-
withDescription
public ModuleMetadata withDescription(String value)
-
withPurpose
public ModuleMetadata withPurpose(String value)
-
withUsage
public ModuleMetadata withUsage(String value)
-
withPublicationDate
public ModuleMetadata withPublicationDate(Date value)
-
withLastReviewDate
public ModuleMetadata withLastReviewDate(Date value)
-
withEffectivePeriod
public ModuleMetadata withEffectivePeriod(Period value)
-
withCoverage
public ModuleMetadata withCoverage(ModuleMetadataCoverage... values)
-
withCoverage
public ModuleMetadata withCoverage(java.util.Collection<ModuleMetadataCoverage> values)
-
withTopic
public ModuleMetadata withTopic(CodeableConcept... values)
-
withTopic
public ModuleMetadata withTopic(java.util.Collection<CodeableConcept> values)
-
withContributor
public ModuleMetadata withContributor(ModuleMetadataContributor... values)
-
withContributor
public ModuleMetadata withContributor(java.util.Collection<ModuleMetadataContributor> values)
-
withPublisher
public ModuleMetadata withPublisher(String value)
-
withContact
public ModuleMetadata withContact(ModuleMetadataContact... values)
-
withContact
public ModuleMetadata withContact(java.util.Collection<ModuleMetadataContact> values)
-
withCopyright
public ModuleMetadata withCopyright(String value)
-
withRelatedResource
public ModuleMetadata withRelatedResource(ModuleMetadataRelatedResource... values)
-
withRelatedResource
public ModuleMetadata withRelatedResource(java.util.Collection<ModuleMetadataRelatedResource> values)
-
withExtension
public ModuleMetadata withExtension(Extension... values)
- Overrides:
withExtensionin classElement
-
withExtension
public ModuleMetadata withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classElement
-
withId
public ModuleMetadata withId(java.lang.String value)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classElement
-
-