Class CanonicalValue
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.util.CanonicalValue
-
public class CanonicalValue extends java.lang.Object
A canonical value, with processing applied to identify the uri, version, and fragment
-
-
Constructor Summary
Constructors Constructor Description CanonicalValue(java.lang.String uri, java.lang.String version, java.lang.String fragment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getFragment()
java.lang.String
getUri()
java.lang.String
getVersion()
int
hashCode()
-
-
-
Constructor Detail
-
CanonicalValue
public CanonicalValue(java.lang.String uri, java.lang.String version, java.lang.String fragment)
- Parameters:
uri
- The uri portion of the canonical valueversion
- The version portion of the canonical value, can be nullfragment
- The fragment portion of the canonical value, can be null
-
-
Method Detail
-
getUri
public java.lang.String getUri()
- Returns:
- the uri
-
getVersion
public java.lang.String getVersion()
- Returns:
- the version
-
getFragment
public java.lang.String getFragment()
- Returns:
- the fragment
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-