Class PropertyRepresentation

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class PropertyRepresentation
    extends Code
    • Field Detail

      • XML_ATTR

        public static final PropertyRepresentation XML_ATTR
        XML Attribute

        In XML, this property is represented as an attribute not an element.

      • XML_TEXT

        public static final PropertyRepresentation XML_TEXT
        XML Text

        This element is represented using the XML text attribute (primitives only).

      • TYPE_ATTR

        public static final PropertyRepresentation TYPE_ATTR
        Type Attribute

        The type of this element is indicated using xsi:type.

      • CDA_TEXT

        public static final PropertyRepresentation CDA_TEXT
        CDA Text Format

        Use CDA narrative instead of XHTML.

    • Method Detail

      • of

        public static PropertyRepresentation of​(String value)
        Factory method for creating PropertyRepresentation objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating PropertyRepresentation objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating PropertyRepresentation objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code