public class ElementDefinitionType extends Element implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for ElementDefinition.Type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ElementDefinition.Type">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="code" type="{http://hl7.org/fhir}code"/>
<element name="profile" type="{http://hl7.org/fhir}uri" maxOccurs="unbounded" minOccurs="0"/>
<element name="aggregation" type="{http://hl7.org/fhir}AggregationMode" maxOccurs="unbounded" minOccurs="0"/>
<element name="versioning" type="{http://hl7.org/fhir}ReferenceVersionRules" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<AggregationMode> |
aggregation |
protected Code |
code |
protected java.util.List<Uri> |
profile |
protected ReferenceVersionRules |
versioning |
| Constructor and Description |
|---|
ElementDefinitionType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
java.util.List<AggregationMode> |
getAggregation()
Gets the value of the aggregation property.
|
Code |
getCode()
Gets the value of the code property.
|
java.util.List<Uri> |
getProfile()
Gets the value of the profile property.
|
ReferenceVersionRules |
getVersioning()
Gets the value of the versioning property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCode(Code value)
Sets the value of the code property.
|
void |
setVersioning(ReferenceVersionRules value)
Sets the value of the versioning property.
|
java.lang.String |
toString() |
ElementDefinitionType |
withAggregation(AggregationMode... values) |
ElementDefinitionType |
withAggregation(java.util.Collection<AggregationMode> values) |
ElementDefinitionType |
withCode(Code value) |
ElementDefinitionType |
withExtension(java.util.Collection<Extension> values) |
ElementDefinitionType |
withExtension(Extension... values) |
ElementDefinitionType |
withId(java.lang.String value) |
ElementDefinitionType |
withProfile(java.util.Collection<Uri> values) |
ElementDefinitionType |
withProfile(Uri... values) |
ElementDefinitionType |
withVersioning(ReferenceVersionRules value) |
getExtension, getId, setIdprotected Code code
protected java.util.List<Uri> profile
protected java.util.List<AggregationMode> aggregation
protected ReferenceVersionRules versioning
public void setCode(Code value)
value - allowed object is
Codepublic java.util.List<Uri> getProfile()
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 set method for the profile property.
For example, to add a new item, do as follows:
getProfile().add(newItem);
Objects of the following type(s) are allowed in the list
Uri
public java.util.List<AggregationMode> getAggregation()
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 set method for the aggregation property.
For example, to add a new item, do as follows:
getAggregation().add(newItem);
Objects of the following type(s) are allowed in the list
AggregationMode
public ReferenceVersionRules getVersioning()
ReferenceVersionRulespublic void setVersioning(ReferenceVersionRules value)
value - allowed object is
ReferenceVersionRulespublic ElementDefinitionType withCode(Code value)
public ElementDefinitionType withProfile(Uri... values)
public ElementDefinitionType withProfile(java.util.Collection<Uri> values)
public ElementDefinitionType withAggregation(AggregationMode... values)
public ElementDefinitionType withAggregation(java.util.Collection<AggregationMode> values)
public ElementDefinitionType withVersioning(ReferenceVersionRules value)
public ElementDefinitionType withExtension(Extension... values)
withExtension in class Elementpublic ElementDefinitionType withExtension(java.util.Collection<Extension> values)
withExtension in class Elementpublic ElementDefinitionType withId(java.lang.String value)
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.EqualsStrategy strategy)
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class Element