Package PamguardMVC.uid
Class UIDStatusReport
java.lang.Object
PamguardMVC.uid.UIDStatusReport
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorDescriptionUIDStatusReport
(long okUIDs, long missingUIDs, long largestUID) UIDStatusReport
(long okUIDs, long missingUIDs, long largestUID, int uidStatus) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addResult
(UIDStatusReport result) Add the counts of another result to this one.long
long
long
static int
getStatus
(long okUIDs, long missingUIDs, long largestUID) int
void
setLargestUID
(long largestUID) void
setMissingUIDs
(long missingUIDs) void
setOkUIDs
(long okUIDs) void
setUidStatus
(int uidStatus) toString()
-
Field Details
-
UID_NO_DATA
public static final int UID_NO_DATA- See Also:
-
UID_ALL_OK
public static final int UID_ALL_OK- See Also:
-
UID_ABSENT
public static final int UID_ABSENT- See Also:
-
UID_PARTIAL
public static final int UID_PARTIAL- See Also:
-
UID_DAMAGED
public static final int UID_DAMAGED- See Also:
-
-
Constructor Details
-
UIDStatusReport
public UIDStatusReport(long okUIDs, long missingUIDs, long largestUID) - Parameters:
okUIDs
-missingUIDs
-largestUID
-uidStatus
-
-
UIDStatusReport
public UIDStatusReport(long okUIDs, long missingUIDs, long largestUID, int uidStatus) - Parameters:
okUIDs
-missingUIDs
-largestUID
-uidStatus
-
-
-
Method Details
-
getStatus
public static int getStatus(long okUIDs, long missingUIDs, long largestUID) -
getOkUIDs
public long getOkUIDs()- Returns:
- the okUIDs
-
setOkUIDs
public void setOkUIDs(long okUIDs) - Parameters:
okUIDs
- the okUIDs to set
-
getMissingUIDs
public long getMissingUIDs()- Returns:
- the missingUIDs
-
setMissingUIDs
public void setMissingUIDs(long missingUIDs) - Parameters:
missingUIDs
- the missingUIDs to set
-
getUidStatus
public int getUidStatus()- Returns:
- the uidStatus
-
setUidStatus
public void setUidStatus(int uidStatus) - Parameters:
uidStatus
- the uidStatus to set
-
getLargestUID
public long getLargestUID()- Returns:
- the largestUID
-
setLargestUID
public void setLargestUID(long largestUID) - Parameters:
largestUID
- the largestUID to set
-
addResult
Add the counts of another result to this one.- Parameters:
result
-
-
toString
-