T - public class Evidence<T extends Subject> extends Object implements Comparable<Evidence>, Serializable
| Constructor and Description |
|---|
Evidence() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Evidence other) |
String |
getId() |
String |
getLabel() |
List<String> |
getReferences() |
String |
getReport() |
double |
getScore() |
T |
getSubject() |
long |
getTime()
Unix timestamp in milliseconds.
|
List<String> |
references()
Get or set the ID of related Evidences.
|
void |
setId(String id) |
void |
setLabel(String label) |
void |
setReferences(List<String> references) |
void |
setReport(String report) |
void |
setScore(double score) |
void |
setSubject(T subject) |
void |
setTime(long time)
Unix timestamp in milliseconds.
|
String |
timeFormatted()
ISO8601 representation of this event's timestamp.
|
String |
toString() |
public final String getId()
public final void setId(String id)
id - public final String getLabel()
public final void setLabel(String label)
label - public final long getTime()
public final void setTime(long time)
time - public final T getSubject()
public final void setSubject(T subject)
subject - public final double getScore()
public final void setScore(double score)
score - public final String getReport()
public final void setReport(String report)
report - public final int compareTo(Evidence other)
compareTo in interface Comparable<Evidence>public final String timeFormatted()
Copyright © 2019. All rights reserved.