public class ElementDefinitionSlicing 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.Slicing complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ElementDefinition.Slicing">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="discriminator" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="ordered" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="rules" type="{http://hl7.org/fhir}SlicingRules"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected java.util.List<String> |
discriminator |
protected Boolean |
ordered |
protected SlicingRules |
rules |
| Constructor and Description |
|---|
ElementDefinitionSlicing() |
| 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) |
String |
getDescription()
Gets the value of the description property.
|
java.util.List<String> |
getDiscriminator()
Gets the value of the discriminator property.
|
Boolean |
getOrdered()
Gets the value of the ordered property.
|
SlicingRules |
getRules()
Gets the value of the rules property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setOrdered(Boolean value)
Sets the value of the ordered property.
|
void |
setRules(SlicingRules value)
Sets the value of the rules property.
|
java.lang.String |
toString() |
ElementDefinitionSlicing |
withDescription(String value) |
ElementDefinitionSlicing |
withDiscriminator(java.util.Collection<String> values) |
ElementDefinitionSlicing |
withDiscriminator(String... values) |
ElementDefinitionSlicing |
withExtension(java.util.Collection<Extension> values) |
ElementDefinitionSlicing |
withExtension(Extension... values) |
ElementDefinitionSlicing |
withId(java.lang.String value) |
ElementDefinitionSlicing |
withOrdered(Boolean value) |
ElementDefinitionSlicing |
withRules(SlicingRules value) |
getExtension, getId, setIdprotected java.util.List<String> discriminator
protected String description
protected Boolean ordered
protected SlicingRules rules
public java.util.List<String> getDiscriminator()
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 discriminator property.
For example, to add a new item, do as follows:
getDiscriminator().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic Boolean getOrdered()
Booleanpublic void setOrdered(Boolean value)
value - allowed object is
Booleanpublic SlicingRules getRules()
SlicingRulespublic void setRules(SlicingRules value)
value - allowed object is
SlicingRulespublic ElementDefinitionSlicing withDiscriminator(String... values)
public ElementDefinitionSlicing withDiscriminator(java.util.Collection<String> values)
public ElementDefinitionSlicing withDescription(String value)
public ElementDefinitionSlicing withOrdered(Boolean value)
public ElementDefinitionSlicing withRules(SlicingRules value)
public ElementDefinitionSlicing withExtension(Extension... values)
withExtension in class Elementpublic ElementDefinitionSlicing withExtension(java.util.Collection<Extension> values)
withExtension in class Elementpublic ElementDefinitionSlicing 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