Class TestScriptCapability
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.TestScriptCapability
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class TestScriptCapability extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
TestScript is a resource that specifies a suite of tests against a FHIR server implementation to determine compliance against the FHIR specification.Java class for TestScript.Capability complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TestScript.Capability"> <complexContent> <extension base="{http://hl7.org/fhir}BackboneElement"> <sequence> <element name="required" type="{http://hl7.org/fhir}boolean" minOccurs="0"/> <element name="validated" type="{http://hl7.org/fhir}boolean" minOccurs="0"/> <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="origin" type="{http://hl7.org/fhir}integer" maxOccurs="unbounded" minOccurs="0"/> <element name="destination" type="{http://hl7.org/fhir}integer" minOccurs="0"/> <element name="link" type="{http://hl7.org/fhir}uri" maxOccurs="unbounded" minOccurs="0"/> <element name="conformance" type="{http://hl7.org/fhir}Reference"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Referenceconformanceprotected Stringdescriptionprotected Integerdestinationprotected java.util.List<Uri>linkprotected java.util.List<Integer>originprotected Booleanrequiredprotected Booleanvalidated-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description TestScriptCapability()
-
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)ReferencegetConformance()Gets the value of the conformance property.StringgetDescription()Gets the value of the description property.IntegergetDestination()Gets the value of the destination property.java.util.List<Uri>getLink()Gets the value of the link property.java.util.List<Integer>getOrigin()Gets the value of the origin property.BooleangetRequired()Gets the value of the required property.BooleangetValidated()Gets the value of the validated property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetConformance(Reference value)Sets the value of the conformance property.voidsetDescription(String value)Sets the value of the description property.voidsetDestination(Integer value)Sets the value of the destination property.voidsetRequired(Boolean value)Sets the value of the required property.voidsetValidated(Boolean value)Sets the value of the validated property.java.lang.StringtoString()TestScriptCapabilitywithConformance(Reference value)TestScriptCapabilitywithDescription(String value)TestScriptCapabilitywithDestination(Integer value)TestScriptCapabilitywithExtension(java.util.Collection<Extension> values)TestScriptCapabilitywithExtension(Extension... values)TestScriptCapabilitywithId(java.lang.String value)TestScriptCapabilitywithLink(java.util.Collection<Uri> values)TestScriptCapabilitywithLink(Uri... values)TestScriptCapabilitywithModifierExtension(java.util.Collection<Extension> values)TestScriptCapabilitywithModifierExtension(Extension... values)TestScriptCapabilitywithOrigin(java.util.Collection<Integer> values)TestScriptCapabilitywithOrigin(Integer... values)TestScriptCapabilitywithRequired(Boolean value)TestScriptCapabilitywithValidated(Boolean value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
required
protected Boolean required
-
validated
protected Boolean validated
-
description
protected String description
-
origin
protected java.util.List<Integer> origin
-
destination
protected Integer destination
-
link
protected java.util.List<Uri> link
-
conformance
protected Reference conformance
-
-
Method Detail
-
getRequired
public Boolean getRequired()
Gets the value of the required property.- Returns:
- possible object is
Boolean
-
setRequired
public void setRequired(Boolean value)
Sets the value of the required property.- Parameters:
value- allowed object isBoolean
-
getValidated
public Boolean getValidated()
Gets the value of the validated property.- Returns:
- possible object is
Boolean
-
setValidated
public void setValidated(Boolean value)
Sets the value of the validated property.- Parameters:
value- allowed object isBoolean
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getOrigin
public java.util.List<Integer> getOrigin()
Gets the value of the origin 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 origin property.For example, to add a new item, do as follows:
getOrigin().add(newItem);Objects of the following type(s) are allowed in the list
Integer
-
getDestination
public Integer getDestination()
Gets the value of the destination property.- Returns:
- possible object is
Integer
-
setDestination
public void setDestination(Integer value)
Sets the value of the destination property.- Parameters:
value- allowed object isInteger
-
getLink
public java.util.List<Uri> getLink()
Gets the value of the link 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 link property.For example, to add a new item, do as follows:
getLink().add(newItem);Objects of the following type(s) are allowed in the list
Uri
-
getConformance
public Reference getConformance()
Gets the value of the conformance property.- Returns:
- possible object is
Reference
-
setConformance
public void setConformance(Reference value)
Sets the value of the conformance property.- Parameters:
value- allowed object isReference
-
withRequired
public TestScriptCapability withRequired(Boolean value)
-
withValidated
public TestScriptCapability withValidated(Boolean value)
-
withDescription
public TestScriptCapability withDescription(String value)
-
withOrigin
public TestScriptCapability withOrigin(Integer... values)
-
withOrigin
public TestScriptCapability withOrigin(java.util.Collection<Integer> values)
-
withDestination
public TestScriptCapability withDestination(Integer value)
-
withLink
public TestScriptCapability withLink(Uri... values)
-
withLink
public TestScriptCapability withLink(java.util.Collection<Uri> values)
-
withConformance
public TestScriptCapability withConformance(Reference value)
-
withModifierExtension
public TestScriptCapability withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public TestScriptCapability withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public TestScriptCapability withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public TestScriptCapability withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public TestScriptCapability withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
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)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
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 classBackboneElement
-
-