Package binaryFileStorage
Class BinaryFooter
java.lang.Object
binaryFileStorage.BinaryFooter
- All Implemented Interfaces:
Serializable
,ManagedParameters
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionBinaryFooter
(long dataDate, long analysisDate, int objects, long fileLength) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
int
long
long
int
Get a set of data that describes all of the parameters in a classstatic int
boolean
readFooterData
(DataInputStream dis, int fileFormat) Reads footer data from after the footer id Int.void
setAnalysisDate
(long analysisDate) void
setDataDate
(long dataDate) void
setFileEndReason
(int fileEndReason) void
setFileEndSample
(long fileEndSample) void
setFileLength
(long fileLength) void
setHighestUID
(Long highestUID) void
setLowestUID
(Long lowestUID) void
setnObjects
(int nObjects) boolean
writeFooter
(DataOutputStream dos, int fileFormat)
-
Field Details
-
END_UNKNOWN
public static final int END_UNKNOWN- See Also:
-
END_CRASHED
public static final int END_CRASHED- See Also:
-
END_RUNSTOPPED
public static final int END_RUNSTOPPED- See Also:
-
END_FILETOOBIG
public static final int END_FILETOOBIG- See Also:
-
END_FILETOOLONG
public static final int END_FILETOOLONG- See Also:
-
-
Constructor Details
-
BinaryFooter
public BinaryFooter(long dataDate, long analysisDate, int objects, long fileLength) -
BinaryFooter
public BinaryFooter()
-
-
Method Details
-
getStandardLength
public static int getStandardLength() -
getDataDate
public long getDataDate()- Returns:
- the dataDate
-
getAnalysisDate
public long getAnalysisDate()- Returns:
- the analysisDate
-
getFileEndSample
public long getFileEndSample() -
setFileEndSample
public void setFileEndSample(long fileEndSample) -
getNObjects
public int getNObjects()- Returns:
- the nObjects
-
getFileLength
public long getFileLength()- Returns:
- the fileLength
-
getFileEndReason
public int getFileEndReason() -
setFileEndReason
public void setFileEndReason(int fileEndReason) -
setDataDate
public void setDataDate(long dataDate) - Parameters:
dataDate
- the dataDate to set
-
setAnalysisDate
public void setAnalysisDate(long analysisDate) - Parameters:
analysisDate
- the analysisDate to set
-
setnObjects
public void setnObjects(int nObjects) - Parameters:
nObjects
- the nObjects to set
-
setFileLength
public void setFileLength(long fileLength) - Parameters:
fileLength
- the fileLength to set
-
getLowestUID
-
getHighestUID
-
setLowestUID
- Parameters:
lowestUID
- the lowestUID to set
-
setHighestUID
- Parameters:
highestUID
- the highestUID to set
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-