Package gov.nasa.pds.label.object
Class RecordLocation
- java.lang.Object
-
- gov.nasa.pds.label.object.RecordLocation
-
public final class RecordLocation extends java.lang.ObjectClass that holds table record location information.- Author:
- mcayanan
-
-
Constructor Summary
Constructors Constructor Description RecordLocation(java.net.URL label, java.net.URL dataFile, DataObjectLocation dataObjectLocation, int record)Constructor.RecordLocation(java.net.URL label, java.net.URL dataFile, DataObjectLocation dataObjectLocation, long record)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URLgetDataFile()DataObjectLocationgetDataObjectLocation()java.net.URLgetLabel()longgetRecord()
-
-
-
Constructor Detail
-
RecordLocation
public RecordLocation(java.net.URL label, java.net.URL dataFile, DataObjectLocation dataObjectLocation, int record)Constructor.- Parameters:
label- The label.dataFile- The data file.table- The table index.record- The record index as integer.
-
RecordLocation
public RecordLocation(java.net.URL label, java.net.URL dataFile, DataObjectLocation dataObjectLocation, long record)Constructor.- Parameters:
label- The label.dataFile- The data file.table- The table index.record- The record index as a long.
-
-
Method Detail
-
getLabel
public java.net.URL getLabel()
- Returns:
- the label.
-
getDataFile
public java.net.URL getDataFile()
- Returns:
- the data file.
-
getDataObjectLocation
public DataObjectLocation getDataObjectLocation()
- Returns:
- the data object location.
-
getRecord
public long getRecord()
- Returns:
- the record index.
-
-