Enum AddressTypeEnum

java.lang.Object
java.lang.Enum<AddressTypeEnum>
ca.uhn.fhir.model.dstu2.valueset.AddressTypeEnum
All Implemented Interfaces:
Serializable, Comparable<AddressTypeEnum>, java.lang.constant.Constable

public enum AddressTypeEnum extends Enum<AddressTypeEnum>
  • Enum Constant Details

    • POSTAL

      public static final AddressTypeEnum POSTAL
      Display: Postal
      Code Value: postal Mailing addresses - PO Boxes and care-of addresses.
    • PHYSICAL

      public static final AddressTypeEnum PHYSICAL
      Display: Physical
      Code Value: physical A physical address that can be visited.
    • POSTAL___PHYSICAL

      public static final AddressTypeEnum POSTAL___PHYSICAL
      Display: Postal & Physical
      Code Value: both An address that is both physical and postal.
  • Field Details

  • Method Details

    • values

      public static AddressTypeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AddressTypeEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
      Returns the code associated with this enumerated value
    • getSystem

      public String getSystem()
      Returns the code system associated with this enumerated value
    • forCode

      public static AddressTypeEnum forCode(String theCode)
      Returns the enumerated value associated with this code