HiRISE

HiRISE.HiReport.product
Class Validation

java.lang.Object
  extended by HiRISE.HiReport.product.Validation

public class Validation
extends Object

Represents the outcome of a validation for a particular EDR.


Constructor Summary
Validation(boolean valid, String username)
          Construct a new validation instance
 
Method Summary
 String getNote()
          Get the validator's note (may be empty or null)
 Timestamp getTimestamp()
          Get validation time
 String getUsername()
          Get validator username
 boolean isValid()
          True if valid
 void setNote(String note)
          Set the validation note
 void setTimestamp(Timestamp timestamp)
          Set the time of validation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validation

public Validation(boolean valid,
                  String username)
Construct a new validation instance

Parameters:
valid - true if valid
username - person performing validation
Method Detail

isValid

public boolean isValid()
True if valid

Returns:
True if valid

getUsername

public String getUsername()
Get validator username

Returns:
validator

getNote

public String getNote()
Get the validator's note (may be empty or null)

Returns:
note

getTimestamp

public Timestamp getTimestamp()
Get validation time

Returns:
validation time

setTimestamp

public void setTimestamp(Timestamp timestamp)
Set the time of validation

Parameters:
timestamp - validation time

setNote

public void setNote(String note)
Set the validation note

Parameters:
note - validation note

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona