public class ElementDefinitionConstraint 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.Constraint complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ElementDefinition.Constraint">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="key" type="{http://hl7.org/fhir}id"/>
<element name="requirements" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="severity" type="{http://hl7.org/fhir}ConstraintSeverity"/>
<element name="human" type="{http://hl7.org/fhir}string"/>
<element name="expression" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="xpath" type="{http://hl7.org/fhir}string"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
expression |
protected String |
human |
protected Id |
key |
protected String |
requirements |
protected ConstraintSeverity |
severity |
protected String |
xpath |
| Constructor and Description |
|---|
ElementDefinitionConstraint() |
| 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 |
getExpression()
Gets the value of the expression property.
|
String |
getHuman()
Gets the value of the human property.
|
Id |
getKey()
Gets the value of the key property.
|
String |
getRequirements()
Gets the value of the requirements property.
|
ConstraintSeverity |
getSeverity()
Gets the value of the severity property.
|
String |
getXpath()
Gets the value of the xpath property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setExpression(String value)
Sets the value of the expression property.
|
void |
setHuman(String value)
Sets the value of the human property.
|
void |
setKey(Id value)
Sets the value of the key property.
|
void |
setRequirements(String value)
Sets the value of the requirements property.
|
void |
setSeverity(ConstraintSeverity value)
Sets the value of the severity property.
|
void |
setXpath(String value)
Sets the value of the xpath property.
|
java.lang.String |
toString() |
ElementDefinitionConstraint |
withExpression(String value) |
ElementDefinitionConstraint |
withExtension(java.util.Collection<Extension> values) |
ElementDefinitionConstraint |
withExtension(Extension... values) |
ElementDefinitionConstraint |
withHuman(String value) |
ElementDefinitionConstraint |
withId(java.lang.String value) |
ElementDefinitionConstraint |
withKey(Id value) |
ElementDefinitionConstraint |
withRequirements(String value) |
ElementDefinitionConstraint |
withSeverity(ConstraintSeverity value) |
ElementDefinitionConstraint |
withXpath(String value) |
getExtension, getId, setIdprotected Id key
protected String requirements
protected ConstraintSeverity severity
protected String human
protected String expression
protected String xpath
public void setKey(Id value)
value - allowed object is
Idpublic String getRequirements()
Stringpublic void setRequirements(String value)
value - allowed object is
Stringpublic ConstraintSeverity getSeverity()
ConstraintSeveritypublic void setSeverity(ConstraintSeverity value)
value - allowed object is
ConstraintSeveritypublic String getHuman()
Stringpublic void setHuman(String value)
value - allowed object is
Stringpublic String getExpression()
Stringpublic void setExpression(String value)
value - allowed object is
Stringpublic String getXpath()
Stringpublic void setXpath(String value)
value - allowed object is
Stringpublic ElementDefinitionConstraint withKey(Id value)
public ElementDefinitionConstraint withRequirements(String value)
public ElementDefinitionConstraint withSeverity(ConstraintSeverity value)
public ElementDefinitionConstraint withHuman(String value)
public ElementDefinitionConstraint withExpression(String value)
public ElementDefinitionConstraint withXpath(String value)
public ElementDefinitionConstraint withExtension(Extension... values)
withExtension in class Elementpublic ElementDefinitionConstraint withExtension(java.util.Collection<Extension> values)
withExtension in class Elementpublic ElementDefinitionConstraint 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