Class CommonTokenValue
- java.lang.Object
 - 
- com.ibm.fhir.persistence.jdbc.dto.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 fromTransactionDataImplto 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 Summary
Constructors Constructor Description CommonTokenValue(String codeSystem, int codeSystemId, String tokenValue)Construct a common token value from a codeSystemId and tokenValue 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CommonTokenValue other)booleanequals(Object other)intgetCodeSystemId()StringgetTokenValue()inthashCode()StringtoString() 
 - 
 
- 
- 
Method Detail
- 
getCodeSystemId
public int getCodeSystemId()
- Returns:
 - the codeSystemId
 
 
- 
getTokenValue
public String getTokenValue()
- Returns:
 - the tokenValue
 
 
- 
compareTo
public int compareTo(CommonTokenValue other)
- Specified by:
 compareToin interfaceComparable<CommonTokenValue>
 
 - 
 
 -