Class Bundle.Link

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

public static class Bundle.Link
extends ca.uhn.fhir.model.api.BaseIdentifiableElement
implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Bundle.link ()

Definition: A series of links that provide context to this bundle

See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    Link()  
  • Method Summary

    Modifier and Type Method Description
    <T extends ca.uhn.fhir.model.api.IElement>
    List<T>
    getAllPopulatedChildElementsOfType​(Class<T> theType)  
    String getRelation()
    Gets the value(s) for relation ().
    ca.uhn.fhir.model.primitive.StringDt getRelationElement()
    Gets the value(s) for relation ().
    String getUrl()
    Gets the value(s) for url ().
    ca.uhn.fhir.model.primitive.UriDt getUrlElement()
    Gets the value(s) for url ().
    boolean isEmpty()  
    Bundle.Link setRelation​(ca.uhn.fhir.model.primitive.StringDt theValue)
    Sets the value(s) for relation ()
    Bundle.Link setRelation​(String theString)
    Sets the value for relation ()
    Bundle.Link setUrl​(ca.uhn.fhir.model.primitive.UriDt theValue)
    Sets the value(s) for url ()
    Bundle.Link setUrl​(String theUri)
    Sets the value for url ()

    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

    • Link

      public Link()
  • 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
    • getRelationElement

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

      Definition: A name which details the functional use for this link - see [[http://www.iana.org/assignments/link-relations/link-relations.xhtml]]

    • getRelation

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

      Definition: A name which details the functional use for this link - see [[http://www.iana.org/assignments/link-relations/link-relations.xhtml]]

    • setRelation

      public Bundle.Link setRelation​(ca.uhn.fhir.model.primitive.StringDt theValue)
      Sets the value(s) for relation ()

      Definition: A name which details the functional use for this link - see [[http://www.iana.org/assignments/link-relations/link-relations.xhtml]]

    • setRelation

      public Bundle.Link setRelation​(String theString)
      Sets the value for relation ()

      Definition: A name which details the functional use for this link - see [[http://www.iana.org/assignments/link-relations/link-relations.xhtml]]

    • getUrlElement

      public ca.uhn.fhir.model.primitive.UriDt getUrlElement()
      Gets the value(s) for url (). creating it if it does not exist. Will not return null.

      Definition: The reference details for the link

    • getUrl

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

      Definition: The reference details for the link

    • setUrl

      public Bundle.Link setUrl​(ca.uhn.fhir.model.primitive.UriDt theValue)
      Sets the value(s) for url ()

      Definition: The reference details for the link

    • setUrl

      public Bundle.Link setUrl​(String theUri)
      Sets the value for url ()

      Definition: The reference details for the link