Class TestScript.Contact

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.TestScript.Contact
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
Enclosing class:
TestScript

public static class TestScript.Contact
extends ca.uhn.fhir.model.api.BaseIdentifiableElement
implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: TestScript.contact ()

Definition: Contacts to assist a user in finding and communicating with the publisher

See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    Contact()  
  • Method Summary

    Modifier and Type Method Description
    ContactPointDt addTelecom()
    Adds and returns a new value for telecom ()
    TestScript.Contact addTelecom​(ContactPointDt theValue)
    Adds a given new value for telecom ()
    <T extends ca.uhn.fhir.model.api.IElement>
    List<T>
    getAllPopulatedChildElementsOfType​(Class<T> theType)  
    String getName()
    Gets the value(s) for name ().
    ca.uhn.fhir.model.primitive.StringDt getNameElement()
    Gets the value(s) for name ().
    List<ContactPointDt> getTelecom()
    Gets the value(s) for telecom ().
    ContactPointDt getTelecomFirstRep()
    Gets the first repetition for telecom (), creating it if it does not already exist.
    boolean isEmpty()  
    TestScript.Contact setName​(ca.uhn.fhir.model.primitive.StringDt theValue)
    Sets the value(s) for name ()
    TestScript.Contact setName​(String theString)
    Sets the value for name ()
    TestScript.Contact setTelecom​(List<ContactPointDt> theValue)
    Sets the value(s) for telecom ()

    Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement

    getElementSpecificId, getId, setElementSpecificId, setId, setId

    Methods inherited from class ca.uhn.fhir.model.api.BaseElement

    addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBase

    fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData

    Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement

    getElementSpecificId, getId, setElementSpecificId, setId, setId
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType​(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getNameElement

      public ca.uhn.fhir.model.primitive.StringDt getNameElement()
      Gets the value(s) for name (). creating it if it does not exist. Will not return null.

      Definition: The name of an individual to contact regarding the Test Script

    • getName

      public String getName()
      Gets the value(s) for name (). creating it if it does not exist. This method may return null.

      Definition: The name of an individual to contact regarding the Test Script

    • setName

      public TestScript.Contact setName​(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for name ()

      Definition: The name of an individual to contact regarding the Test Script

    • setName

      public TestScript.Contact setName​(String theString)
      Sets the value for name ()

      Definition: The name of an individual to contact regarding the Test Script

    • getTelecom

      Gets the value(s) for telecom (). creating it if it does not exist. Will not return null.

      Definition: Contact details for individual (if a name was provided) or the publisher

    • setTelecom

      Sets the value(s) for telecom ()

      Definition: Contact details for individual (if a name was provided) or the publisher

    • addTelecom

      Adds and returns a new value for telecom ()

      Definition: Contact details for individual (if a name was provided) or the publisher

    • addTelecom

      Adds a given new value for telecom ()

      Definition: Contact details for individual (if a name was provided) or the publisher

      Parameters:
      theValue - The telecom to add (must not be null)
    • getTelecomFirstRep

      Gets the first repetition for telecom (), creating it if it does not already exist.

      Definition: Contact details for individual (if a name was provided) or the publisher