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 int
compareTo(CommonCanonicalValue that)
java.lang.Long
getCanonicalId()
short
getShardKey()
java.lang.String
getUrl()
void
setCanonicalId(java.lang.Long canonicalId)
java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
compareTo
public int compareTo(CommonCanonicalValue that)
- Specified by:
compareTo
in 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
-
-