Class LogicalResourceIdentValue
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.params.model.LogicalResourceIdentValue
-
- All Implemented Interfaces:
java.lang.Comparable<LogicalResourceIdentValue>
public class LogicalResourceIdentValue extends java.lang.Object implements java.lang.Comparable<LogicalResourceIdentValue>
A DTO representing a record from logical_resource_ident
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogicalResourceIdentValue.Builder
Builder for fluent creation of LogicalResourceIdentValue objects
-
Constructor Summary
Constructors Constructor Description LogicalResourceIdentValue(int resourceTypeId, java.lang.String resourceType, java.lang.String logicalId, java.lang.Long logicalResourceId)
Public constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogicalResourceIdentValue.Builder
builder()
Factor function to create a fresh instance of aLogicalResourceIdentValue.Builder
int
compareTo(LogicalResourceIdentValue that)
java.lang.String
getLogicalId()
java.lang.Long
getLogicalResourceId()
java.lang.String
getResourceType()
java.lang.Integer
getResourceTypeId()
void
setLogicalResourceId(java.lang.Long logicalResourceId)
Set the logicalResourceId valuejava.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
builder
public static LogicalResourceIdentValue.Builder builder()
Factor function to create a fresh instance of aLogicalResourceIdentValue.Builder
- Returns:
-
getLogicalResourceId
public java.lang.Long getLogicalResourceId()
- Returns:
- the logicalResourceId
-
getResourceType
public java.lang.String getResourceType()
- Returns:
- the resourceType
-
getLogicalId
public java.lang.String getLogicalId()
- Returns:
- the logicalId
-
setLogicalResourceId
public void setLogicalResourceId(java.lang.Long logicalResourceId)
Set the logicalResourceId value- Parameters:
logicalResourceId
-
-
compareTo
public int compareTo(LogicalResourceIdentValue that)
- Specified by:
compareTo
in interfacejava.lang.Comparable<LogicalResourceIdentValue>
-
getResourceTypeId
public java.lang.Integer getResourceTypeId()
- Returns:
- the resourceTypeId
-
-