Class ResourceReferenceValue
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.dto.ResourceReferenceValue
-
- All Implemented Interfaces:
java.lang.Comparable<ResourceReferenceValue>
public class ResourceReferenceValue extends java.lang.Object implements java.lang.Comparable<ResourceReferenceValue>
DTO representing a resource reference record.
-
-
Constructor Summary
Constructors Constructor Description ResourceReferenceValue(java.lang.String resourceType, int resourceTypeId, java.lang.String logicalId)
Canonical constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ResourceReferenceValue other)
boolean
equals(java.lang.Object other)
java.lang.String
getLogicalId()
java.lang.String
getResourceType()
int
getResourceTypeId()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
compareTo
public int compareTo(ResourceReferenceValue other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ResourceReferenceValue>
-
getResourceType
public java.lang.String getResourceType()
- Returns:
- the resourceType
-
getResourceTypeId
public int getResourceTypeId()
- Returns:
- the resourceTypeId
-
getLogicalId
public java.lang.String getLogicalId()
- Returns:
- the logicalId
-
-