Class CommonTokenValue
- java.lang.Object
 - 
- org.linuxforhealth.fhir.persistence.params.model.CommonTokenValue
 
 
- 
- All Implemented Interfaces:
 java.lang.Comparable<CommonTokenValue>
public class CommonTokenValue extends java.lang.Object implements java.lang.Comparable<CommonTokenValue>
Represents a common_token_value record which may or may not yet exist in the database. If it exists in the database, we may not yet have retrieved its common_token_value_id. 
- 
- 
Constructor Summary
Constructors Constructor Description CommonTokenValue(short shardKey, CodeSystemValue codeSystemValue, java.lang.String tokenValue)Public constructor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CommonTokenValue that)booleanequals(java.lang.Object obj)CodeSystemValuegetCodeSystemValue()java.lang.LonggetCommonTokenValueId()shortgetShardKey()java.lang.StringgetTokenValue()inthashCode()voidsetCommonTokenValueId(java.lang.Long commonTokenValueId) 
 - 
 
- 
- 
Constructor Detail
- 
CommonTokenValue
public CommonTokenValue(short shardKey, CodeSystemValue codeSystemValue, java.lang.String tokenValue)Public constructor- Parameters:
 shardKey-codeSystemValue-tokenValue-
 
 - 
 
- 
Method Detail
- 
compareTo
public int compareTo(CommonTokenValue that)
- Specified by:
 compareToin interfacejava.lang.Comparable<CommonTokenValue>
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
- 
getCommonTokenValueId
public java.lang.Long getCommonTokenValueId()
- Returns:
 - the commonTokenValueId
 
 
- 
setCommonTokenValueId
public void setCommonTokenValueId(java.lang.Long commonTokenValueId)
- Parameters:
 commonTokenValueId- the commonTokenValueId to set
 
- 
getCodeSystemValue
public CodeSystemValue getCodeSystemValue()
- Returns:
 - the codeSystemValue
 
 
- 
getTokenValue
public java.lang.String getTokenValue()
- Returns:
 - the tokenValue
 
 
- 
getShardKey
public short getShardKey()
- Returns:
 - the shardKey
 
 
 - 
 
 -