public class DataRequirement extends Element implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for DataRequirement complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DataRequirement">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="type" type="{http://hl7.org/fhir}code"/>
<element name="profile" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="mustSupport" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="codeFilter" type="{http://hl7.org/fhir}DataRequirement.CodeFilter" maxOccurs="unbounded" minOccurs="0"/>
<element name="dateFilter" type="{http://hl7.org/fhir}DataRequirement.DateFilter" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<DataRequirementCodeFilter> |
codeFilter |
protected java.util.List<DataRequirementDateFilter> |
dateFilter |
protected java.util.List<String> |
mustSupport |
protected Reference |
profile |
protected Code |
type |
| Constructor and Description |
|---|
DataRequirement() |
| 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<DataRequirementCodeFilter> |
getCodeFilter()
Gets the value of the codeFilter property.
|
java.util.List<DataRequirementDateFilter> |
getDateFilter()
Gets the value of the dateFilter property.
|
java.util.List<String> |
getMustSupport()
Gets the value of the mustSupport property.
|
Reference |
getProfile()
Gets the value of the profile property.
|
Code |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setProfile(Reference value)
Sets the value of the profile property.
|
void |
setType(Code value)
Sets the value of the type property.
|
java.lang.String |
toString() |
DataRequirement |
withCodeFilter(java.util.Collection<DataRequirementCodeFilter> values) |
DataRequirement |
withCodeFilter(DataRequirementCodeFilter... values) |
DataRequirement |
withDateFilter(java.util.Collection<DataRequirementDateFilter> values) |
DataRequirement |
withDateFilter(DataRequirementDateFilter... values) |
DataRequirement |
withExtension(java.util.Collection<Extension> values) |
DataRequirement |
withExtension(Extension... values) |
DataRequirement |
withId(java.lang.String value) |
DataRequirement |
withMustSupport(java.util.Collection<String> values) |
DataRequirement |
withMustSupport(String... values) |
DataRequirement |
withProfile(Reference value) |
DataRequirement |
withType(Code value) |
getExtension, getId, setIdprotected Code type
protected Reference profile
protected java.util.List<String> mustSupport
protected java.util.List<DataRequirementCodeFilter> codeFilter
protected java.util.List<DataRequirementDateFilter> dateFilter
public void setType(Code value)
value - allowed object is
Codepublic Reference getProfile()
Referencepublic void setProfile(Reference value)
value - allowed object is
Referencepublic java.util.List<String> getMustSupport()
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 mustSupport property.
For example, to add a new item, do as follows:
getMustSupport().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.util.List<DataRequirementCodeFilter> getCodeFilter()
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 codeFilter property.
For example, to add a new item, do as follows:
getCodeFilter().add(newItem);
Objects of the following type(s) are allowed in the list
DataRequirementCodeFilter
public java.util.List<DataRequirementDateFilter> getDateFilter()
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 dateFilter property.
For example, to add a new item, do as follows:
getDateFilter().add(newItem);
Objects of the following type(s) are allowed in the list
DataRequirementDateFilter
public DataRequirement withType(Code value)
public DataRequirement withProfile(Reference value)
public DataRequirement withMustSupport(String... values)
public DataRequirement withMustSupport(java.util.Collection<String> values)
public DataRequirement withCodeFilter(DataRequirementCodeFilter... values)
public DataRequirement withCodeFilter(java.util.Collection<DataRequirementCodeFilter> values)
public DataRequirement withDateFilter(DataRequirementDateFilter... values)
public DataRequirement withDateFilter(java.util.Collection<DataRequirementDateFilter> values)
public DataRequirement withExtension(Extension... values)
withExtension in class Elementpublic DataRequirement withExtension(java.util.Collection<Extension> values)
withExtension in class Elementpublic DataRequirement 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