public class Validation
extends java.lang.Object
Constructor and Description |
---|
Validation(boolean valid,
java.lang.String username)
Construct a new validation instance
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNote()
Get the validator's note (may be empty or null)
|
java.sql.Timestamp |
getTimestamp()
Get validation time
|
java.lang.String |
getUsername()
Get validator username
|
boolean |
isValid()
True if valid
|
void |
setNote(java.lang.String note)
Set the validation note
|
void |
setTimestamp(java.sql.Timestamp timestamp)
Set the time of validation
|
public Validation(boolean valid, java.lang.String username)
valid
- true if validusername
- person performing validationpublic boolean isValid()
public java.lang.String getUsername()
public java.lang.String getNote()
public java.sql.Timestamp getTimestamp()
public void setTimestamp(java.sql.Timestamp timestamp)
timestamp
- validation timepublic void setNote(java.lang.String note)
note
- validation noteCopyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona