Class CommonCanonicalValue
- java.lang.Object
 - 
- org.linuxforhealth.fhir.persistence.params.model.CommonCanonicalValue
 
 
- 
- All Implemented Interfaces:
 java.lang.Comparable<CommonCanonicalValue>
public class CommonCanonicalValue extends java.lang.Object implements java.lang.Comparable<CommonCanonicalValue>
Represents a common_canonical_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 canonical_id. 
- 
- 
Constructor Summary
Constructors Constructor Description CommonCanonicalValue(short shardKey, java.lang.String url)Public constructor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CommonCanonicalValue that)java.lang.LonggetCanonicalId()shortgetShardKey()java.lang.StringgetUrl()voidsetCanonicalId(java.lang.Long canonicalId)java.lang.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
compareTo
public int compareTo(CommonCanonicalValue that)
- Specified by:
 compareToin interfacejava.lang.Comparable<CommonCanonicalValue>
 
- 
getCanonicalId
public java.lang.Long getCanonicalId()
- Returns:
 - the canonicalId
 
 
- 
setCanonicalId
public void setCanonicalId(java.lang.Long canonicalId)
- Parameters:
 canonicalId- the canonicalId to set
 
- 
getShardKey
public short getShardKey()
- Returns:
 - the shardKey
 
 
- 
getUrl
public java.lang.String getUrl()
- Returns:
 - the url
 
 
 - 
 
 -