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 int
compareTo(CommonTokenValue that)
boolean
equals(java.lang.Object obj)
CodeSystemValue
getCodeSystemValue()
java.lang.Long
getCommonTokenValueId()
short
getShardKey()
java.lang.String
getTokenValue()
int
hashCode()
void
setCommonTokenValueId(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:
compareTo
in interfacejava.lang.Comparable<CommonTokenValue>
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in 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
-
-