HiRISE

HiRISE.HiCat.HiTList
Class TargetWarning

java.lang.Object
  extended by HiRISE.HiCat.HiTList.TargetWarning

public class TargetWarning
extends Object

A little utility class for holding warning information about suggested targets

Version:
1.4
Author:
Rodney Heyd UA/HiRISE

Nested Class Summary
static class TargetWarning.WarningType
          An enumeration of the the possible warnings.
 
Field Summary
static String ID
           
 
Constructor Summary
TargetWarning(TargetWarning.WarningType type, String message)
          Instantiate a warning, given the type of warning and a message specific to the target.
 
Method Summary
 String getWarningMessage()
          Gets the warning message specific to this case
 TargetWarning.WarningType getWarningType()
          Get the warning type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
See Also:
Constant Field Values
Constructor Detail

TargetWarning

public TargetWarning(TargetWarning.WarningType type,
                     String message)
Instantiate a warning, given the type of warning and a message specific to the target.

Parameters:
type - - one of the enumerated warning types.
message - - a warning message specific to the target
Method Detail

getWarningType

public TargetWarning.WarningType getWarningType()
Get the warning type

Returns:
One of the enumerated WarningTypes.

getWarningMessage

public String getWarningMessage()
Gets the warning message specific to this case

Returns:
a String message

HiRISE

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