Class LogicalResourceValue
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.params.model.LogicalResourceValue
-
public class LogicalResourceValue extends java.lang.Object
A DTO representing a record from logical_resources
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogicalResourceValue.Builder
Builder for fluent creation of LogicalResourceValue objects
-
Constructor Summary
Constructors Constructor Description LogicalResourceValue(short shardKey, long logicalResourceId, java.lang.String resourceType, java.lang.String logicalId, int versionId, java.sql.Timestamp lastUpdated, java.lang.String parameterHash)
Canonical constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LogicalResourceValue.Builder
builder()
Factory function to create a fresh instance of aLogicalResourceValue.Builder
java.sql.Timestamp
getLastUpdated()
java.lang.String
getLogicalId()
long
getLogicalResourceId()
java.lang.String
getParameterHash()
java.lang.String
getResourceType()
short
getShardKey()
int
getVersionId()
-
-
-
Constructor Detail
-
LogicalResourceValue
public LogicalResourceValue(short shardKey, long logicalResourceId, java.lang.String resourceType, java.lang.String logicalId, int versionId, java.sql.Timestamp lastUpdated, java.lang.String parameterHash)
Canonical constructor- Parameters:
shardKey
-logicalResourceId
-resourceType
-logicalId
-lastUpdated
-parameterHash
-
-
-
Method Detail
-
builder
public static LogicalResourceValue.Builder builder()
Factory function to create a fresh instance of aLogicalResourceValue.Builder
- Returns:
-
getShardKey
public short getShardKey()
- Returns:
- the shardKey
-
getLogicalResourceId
public long getLogicalResourceId()
- Returns:
- the logicalResourceId
-
getResourceType
public java.lang.String getResourceType()
- Returns:
- the resourceType
-
getLogicalId
public java.lang.String getLogicalId()
- Returns:
- the logicalId
-
getLastUpdated
public java.sql.Timestamp getLastUpdated()
- Returns:
- the lastUpdated
-
getParameterHash
public java.lang.String getParameterHash()
- Returns:
- the parameterHash
-
getVersionId
public int getVersionId()
- Returns:
- the versionId
-
-