Class NamingSystem.Contact

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.NamingSystem.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:
NamingSystem

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

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

See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Adds and returns a new value for telecom ()
    Adds a given new value for telecom ()
    <T extends ca.uhn.fhir.model.api.IElement>
    List<T>
     
    Gets the value(s) for name ().
    ca.uhn.fhir.model.primitive.StringDt
    Gets the value(s) for name ().
    Gets the value(s) for telecom ().
    Gets the first repetition for telecom (), creating it if it does not already exist.
    boolean
     
    setName​(ca.uhn.fhir.model.primitive.StringDt theValue)
    Sets the value(s) for name ()
    setName​(String theString)
    Sets the value for name ()
    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 naming system

    • 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 naming system

    • setName

      public NamingSystem.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 naming system

    • setName

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

      Definition: The name of an individual to contact regarding the naming system

    • 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