Package com.ibm.fhir.bucket.api
Class ResourceEntry
- java.lang.Object
-
- com.ibm.fhir.bucket.api.ResourceEntry
-
public class ResourceEntry extends Object
Carrier for a Resource read from a BucketLoaderJob
-
-
Constructor Summary
Constructors Constructor Description ResourceEntry(BucketLoaderJob job, Resource resource, int lineNumber, int cost)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCost()
BucketLoaderJob
getJob()
int
getLineNumber()
Resource
getResource()
String
toString()
-
-
-
Constructor Detail
-
ResourceEntry
public ResourceEntry(BucketLoaderJob job, Resource resource, int lineNumber, int cost)
Public constructor- Parameters:
job
-resource
-
-
-
Method Detail
-
getJob
public BucketLoaderJob getJob()
- Returns:
- the job
-
getResource
public Resource getResource()
- Returns:
- the resource
-
getLineNumber
public int getLineNumber()
- Returns:
- the lineNumber
-
getCost
public int getCost()
- Returns:
- the cost
-
-