Class LogicalResourceValue
- java.lang.Object
 - 
- org.linuxforhealth.fhir.persistence.params.model.LogicalResourceValue
 
 
- 
public class LogicalResourceValue extends java.lang.ObjectA DTO representing a record from logical_resources 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogicalResourceValue.BuilderBuilder 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.Builderbuilder()Factory function to create a fresh instance of aLogicalResourceValue.Builderjava.sql.TimestampgetLastUpdated()java.lang.StringgetLogicalId()longgetLogicalResourceId()java.lang.StringgetParameterHash()java.lang.StringgetResourceType()shortgetShardKey()intgetVersionId() 
 - 
 
- 
- 
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
 
 
 - 
 
 -