Class ResourceEntry
- java.lang.Object
-
- org.linuxforhealth.fhir.bucket.api.ResourceEntry
-
public class ResourceEntry extends java.lang.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()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ResourceEntry
public ResourceEntry(BucketLoaderJob job, Resource resource, int lineNumber, int cost)
Public constructor- Parameters:
job
-resource
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
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
-
-