Package org.hl7.fhir
Class ModuleMetadataContributor
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.ModuleMetadataContributor
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ModuleMetadataContributor 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.Contributor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ModuleMetadata.Contributor"> <complexContent> <extension base="{http://hl7.org/fhir}Element"> <sequence> <element name="type" type="{http://hl7.org/fhir}ModuleMetadataContributorType"/> <element name="name" type="{http://hl7.org/fhir}string"/> <element name="contact" type="{http://hl7.org/fhir}ModuleMetadata.Contact1" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ModuleMetadataContact1>contactprotected Stringnameprotected ModuleMetadataContributorTypetype
-
Constructor Summary
Constructors Constructor Description ModuleMetadataContributor()
-
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<ModuleMetadataContact1>getContact()Gets the value of the contact property.StringgetName()Gets the value of the name property.ModuleMetadataContributorTypegetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetName(String value)Sets the value of the name property.voidsetType(ModuleMetadataContributorType value)Sets the value of the type property.java.lang.StringtoString()ModuleMetadataContributorwithContact(java.util.Collection<ModuleMetadataContact1> values)ModuleMetadataContributorwithContact(ModuleMetadataContact1... values)ModuleMetadataContributorwithExtension(java.util.Collection<Extension> values)ModuleMetadataContributorwithExtension(Extension... values)ModuleMetadataContributorwithId(java.lang.String value)ModuleMetadataContributorwithName(String value)ModuleMetadataContributorwithType(ModuleMetadataContributorType value)-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
type
protected ModuleMetadataContributorType type
-
name
protected String name
-
contact
protected java.util.List<ModuleMetadataContact1> contact
-
-
Method Detail
-
getType
public ModuleMetadataContributorType getType()
Gets the value of the type property.- Returns:
- possible object is
ModuleMetadataContributorType
-
setType
public void setType(ModuleMetadataContributorType value)
Sets the value of the type property.- Parameters:
value- allowed object isModuleMetadataContributorType
-
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
-
getContact
public java.util.List<ModuleMetadataContact1> 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
ModuleMetadataContact1
-
withType
public ModuleMetadataContributor withType(ModuleMetadataContributorType value)
-
withName
public ModuleMetadataContributor withName(String value)
-
withContact
public ModuleMetadataContributor withContact(ModuleMetadataContact1... values)
-
withContact
public ModuleMetadataContributor withContact(java.util.Collection<ModuleMetadataContact1> values)
-
withExtension
public ModuleMetadataContributor withExtension(Extension... values)
- Overrides:
withExtensionin classElement
-
withExtension
public ModuleMetadataContributor withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classElement
-
withId
public ModuleMetadataContributor 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
-
-