Class CommonTokenValue

  • All Implemented Interfaces:
    Comparable<CommonTokenValue>

    public class CommonTokenValue
    extends Object
    implements Comparable<CommonTokenValue>
    DTO representing a record in COMMON_TOKEN_VALUES. These values are generated when processing data from TransactionDataImpl to collect a unique set of records we need to insert into COMMON_TOKEN_VALUES table (if the row doesn't already exist). The select/inserts must always be done in a deterministic order to minimize the chance of a deadlock, hence the object is Comparable to give it a natural sort order.
    • Constructor Detail

      • CommonTokenValue

        public CommonTokenValue​(String codeSystem,
                                int codeSystemId,
                                String tokenValue)
        Construct a common token value from a codeSystemId and tokenValue
        Parameters:
        codeSystemId -
        tokenValue -