Package com.ibm.fhir.bucket.api
Class ResourceBundleData
- java.lang.Object
-
- com.ibm.fhir.bucket.api.ResourceBundleData
-
public class ResourceBundleData extends Object
A record from RESOURCE_BUNDLES
-
-
Constructor Summary
Constructors Constructor Description ResourceBundleData(long resourceBundleId, long objectSize, FileType ft, String eTag, Date lastModified, Date scanTstamp, int version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
geteTag()
FileType
getFileType()
Get the type of file this object representsDate
getLastModified()
long
getObjectSize()
long
getResourceBundleId()
Date
getScanTstamp()
int
getVersion()
boolean
matches(long objectSize, String eTag, Date lastModified)
Does this record match exactly the 3 given values
-
-
-
Method Detail
-
getObjectSize
public long getObjectSize()
- Returns:
- the objectSize in bytes
-
getFileType
public FileType getFileType()
Get the type of file this object represents- Returns:
-
getResourceBundleId
public long getResourceBundleId()
- Returns:
- the resourceBundleId
-
geteTag
public String geteTag()
- Returns:
- the eTag
-
getLastModified
public Date getLastModified()
- Returns:
- the lastModified
-
matches
public boolean matches(long objectSize, String eTag, Date lastModified)
Does this record match exactly the 3 given values- Parameters:
objectSize
-eTag
-lastModified
-- Returns:
-
getScanTstamp
public Date getScanTstamp()
- Returns:
- the scanTstamp
-
getVersion
public int getVersion()
- Returns:
- the version
-
-