Interface ReferenceDataId<T>

    • Method Detail

      • getReferenceDataType

        java.lang.Class<T> getReferenceDataType()
        Gets the type of data this identifier refers to.
        the type of the reference data this identifier refers to
      • queryValueOrNull

        default T queryValueOrNull​(ReferenceData refData)
        Low-level method to query the reference data value associated with this identifier, returning null if not found.

        This is a low-level method that obtains the reference data value, returning null instead of an error. Applications should use ReferenceData.getValue(ReferenceDataId) in preference to this method.

        refData - the reference data to lookup the value in
        the reference data value, null if not found