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 classLogicalResourceIdentValue.BuilderBuilder 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.Builderbuilder()Factor function to create a fresh instance of aLogicalResourceIdentValue.BuilderintcompareTo(LogicalResourceIdentValue that)java.lang.StringgetLogicalId()java.lang.LonggetLogicalResourceId()java.lang.StringgetResourceType()java.lang.IntegergetResourceTypeId()voidsetLogicalResourceId(java.lang.Long logicalResourceId)Set the logicalResourceId valuejava.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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:
compareToin interfacejava.lang.Comparable<LogicalResourceIdentValue>
-
getResourceTypeId
public java.lang.Integer getResourceTypeId()
- Returns:
- the resourceTypeId
-
-