public class Suggestion extends java.lang.Object implements java.lang.Cloneable, java.lang.Comparable<Suggestion>
Note: This class has a natural ordering that is highly
inconsistent with equals. Furthermore, the equals(Object)
method
and the hashCode()
method both disregard the getRelatedSuggestions()
map.
Warning The API for this class is currently in flux.
Modifier and Type | Class and Description |
---|---|
static class |
Suggestion.ApprovalStatus
An enumeration of the possible values of the suggestion's approval status.
|
static class |
Suggestion.Priority
An enumeration of the suggestion priority values.
|
static class |
Suggestion.RelationType
An enumeration of the possible relation types between suggestions.
|
static class |
Suggestion.ScienceTheme
An enumeration of the many HiRISE science themes.
|
static class |
Suggestion.TargetName
An enumeration of the possible values for the suggestion's target.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPROVAL_STATUS |
static java.lang.String |
CENTER_LATITUDE |
static java.lang.String |
CENTER_LONGITUDE |
static java.lang.String |
CRISM_COORDINATION |
static java.lang.String |
DATE_PRIORITIZED |
static java.lang.String |
DATE_SUCCESS |
static java.lang.String |
DESCRIPTION |
static java.lang.String |
EXACT_AREA_REQUESTED |
static java.lang.String |
ID
Class identification name with source code version and date.
|
static int |
INVALID_ID
The value for an invalid suggestion ID.
|
static java.lang.String |
KEY_ID
The key ID for the suggested observation record.
|
static java.lang.String |
LAST_UPDATE |
static java.lang.String |
MAX_BINNING |
static java.lang.String |
MAX_EMISSION_ANGLE |
static java.lang.String |
MAX_INCIDENCE_ANGLE |
static java.lang.String |
MAX_LATITUDE |
static java.lang.String |
MAX_LONGITUDE |
static java.lang.String |
MAX_LSUBS |
static java.lang.String |
MAX_PHASE_ANGLE |
static java.lang.String |
MIN_EMISSION_ANGLE |
static java.lang.String |
MIN_INCIDENCE_ANGLE |
static java.lang.String |
MIN_LATITUDE |
static java.lang.String |
MIN_LONGITUDE |
static java.lang.String |
MIN_LSUBS |
static java.lang.String |
MIN_PHASE_ANGLE |
static java.lang.String |
NEED_COLOR |
static java.lang.String |
NEED_STEREO |
static java.lang.String |
NO |
static java.lang.String |
NUMBER_OF_OBSERVATIONS |
static java.lang.String |
PRIORITY |
static java.lang.String |
PRIORITY_COLOR |
static java.lang.String |
PRIORITY_HIGHRES |
static java.lang.String |
PRIORITY_OVERALL |
static java.lang.String |
PRIORITY_STEREO |
static java.lang.String |
RETIRING_OBSERVATION_ID |
static java.lang.String |
ROI_VERTICES |
static java.lang.String |
SCIENCE_RATIONALE |
static java.lang.String |
SPECIAL_NOTES |
static java.lang.String |
STL_CRISM_COORDINATION |
static java.lang.String |
STL_DESCRIPTION |
static java.lang.String |
STL_EDIT_DATE |
static java.lang.String |
STL_HIGH_STABILITY_NADIR |
static java.lang.String |
STL_MAX_BINNING |
static java.lang.String |
STL_MAX_EMISSION_ANGLE |
static java.lang.String |
STL_MAX_INCIDENCE_ANGLE |
static java.lang.String |
STL_MAX_LSUBS |
static java.lang.String |
STL_MAX_PHASE_ANGLE |
static java.lang.String |
STL_MIN_EMISSION_ANGLE |
static java.lang.String |
STL_MIN_INCIDENCE_ANGLE |
static java.lang.String |
STL_MIN_LSUBS |
static java.lang.String |
STL_MIN_PHASE_ANGLE |
static java.lang.String |
STL_MUST_HAVE |
static java.lang.String |
STL_NONINTERACTIVE |
static java.lang.String |
STL_NUMBER_OF_OBSERVATIONS |
static java.lang.String |
STL_OFF_NADIR_IO |
static java.lang.String |
STL_STEREO |
static java.lang.String |
SUCCESS_VALIDATOR_USERNAME |
static java.lang.String |
SUGGESTION_DATE |
static java.lang.String |
TARGET_NAME |
static java.lang.String |
UNRETIREMENT_REQUEST_FLAG |
static java.lang.String |
VERSION |
static java.lang.String |
YES |
Constructor and Description |
---|
Suggestion() |
Modifier and Type | Method and Description |
---|---|
void |
addRelatedSuggestion(Suggestion suggestion,
Suggestion.RelationType relationType)
Adds a related suggestion to this suggestion.
|
static java.lang.Integer |
booleanToInt(java.lang.Boolean bool)
Converts a boolean into an integer token.
|
static java.lang.String |
booleanToYesNo(java.lang.Boolean bool)
Converts a boolean into a text token.
|
java.lang.Object |
clone()
Returns a clone of this suggestion.
|
int |
compareTo(Suggestion s)
Compares this suggestion with the specified suggestion for order.
|
boolean |
equals(java.lang.Object o)
Indicates whether some other object is equal to this suggestion.
|
Suggestion.ApprovalStatus |
getApprovalStatus()
Gets the xxx of this suggestion.
|
java.lang.Double |
getCenterLatitude()
Gets the xxx of this suggestion.
|
java.lang.Double |
getCenterLongitude()
Gets the xxx of this suggestion.
|
java.lang.Boolean |
getCrismCoordination()
Gets the xxx of this suggestion.
|
java.util.Date |
getDatePrioritized()
Gets the xxx of this suggestion.
|
java.util.Date |
getDateSuccess()
Gets the xxx of this suggestion.
|
java.lang.String |
getDescription()
Gets the xxx of this suggestion.
|
java.lang.Boolean |
getExactAreaRequested()
Gets the xxx of this suggestion.
|
int |
getId()
Gets the xxx of this suggestion.
|
java.util.Date |
getLastUpdate()
Gets the xxx of this suggestion.
|
java.lang.Integer |
getMaxBinning()
Gets the xxx of this suggestion.
|
java.lang.Double |
getMaxEmissionAngle()
Gets the xxx of this suggestion.
|
java.lang.Double |
getMaxIncidenceAngle()
Gets the xxx of this suggestion.
|
java.lang.Double |
getMaxLatitude()
Gets the xxx of this suggestion.
|
java.lang.Double |
getMaxLongitude()
Gets the xxx of this suggestion.
|
java.lang.Double |
getMaxLsubs()
Gets the xxx of this suggestion.
|
java.lang.Double |
getMaxPhaseAngle()
Gets the xxx of this suggestion.
|
java.lang.Double |
getMinEmissionAngle()
Gets the xxx of this suggestion.
|
java.lang.Double |
getMinIncidenceAngle()
Gets the xxx of this suggestion.
|
java.lang.Double |
getMinLatitude()
Gets the xxx of this suggestion.
|
java.lang.Double |
getMinLongitude()
Gets the xxx of this suggestion.
|
java.lang.Double |
getMinLsubs()
Gets the xxx of this suggestion.
|
java.lang.Double |
getMinPhaseAngle()
Gets the xxx of this suggestion.
|
java.lang.Boolean |
getNeedColor()
Gets the xxx of this suggestion.
|
java.lang.Boolean |
getNeedStereo()
Gets the xxx of this suggestion.
|
java.lang.Integer |
getNumberOfObservations()
Gets the xxx of this suggestion.
|
Suggestion.ScienceTheme |
getPrimaryScienceTheme()
Gets the xxx of this suggestion.
|
Suggestion.Priority |
getPriority()
Gets the xxx of this suggestion.
|
java.lang.Integer |
getPriorityColor()
Gets the xxx of this suggestion.
|
java.lang.Integer |
getPriorityHighres()
Gets the xxx of this suggestion.
|
java.lang.Integer |
getPriorityOverall()
Gets the xxx of this suggestion.
|
java.lang.Integer |
getPriorityStereo()
Gets the xxx of this suggestion.
|
java.util.Map<Suggestion,Suggestion.RelationType> |
getRelatedSuggestions()
Gets all suggestions related to this suggestion.
|
java.util.Set<Suggestion> |
getRelatedSuggestions(Suggestion.RelationType relationType)
Gets all suggestions of a given type that are related to this suggestion.
|
java.lang.String |
getRetiringObservationId()
Gets the xxx of this suggestion.
|
java.lang.String |
getRoiVertices()
Gets the xxx of this suggestion.
|
java.lang.String |
getScienceRationale()
Gets the xxx of this suggestion.
|
Suggestion.ScienceTheme |
getSecondaryScienceTheme()
Gets the xxx of this suggestion.
|
java.lang.String |
getSpecialNotes()
Gets the xxx of this suggestion.
|
java.lang.Boolean |
getStlCrismCoordination()
Gets the xxx of this suggestion.
|
java.lang.String |
getStlDescription()
Gets the xxx of this suggestion.
|
java.util.Date |
getStlEditDate()
Gets the xxx of this suggestion.
|
java.lang.Boolean |
getStlHighStabilityNadir()
Gets the xxx of this suggestion.
|
java.lang.Integer |
getStlMaxBinning()
Gets the xxx of this suggestion.
|
java.lang.Double |
getStlMaxEmissionAngle()
Gets the xxx of this suggestion.
|
java.lang.Double |
getStlMaxIncidenceAngle()
Gets the xxx of this suggestion.
|
java.lang.Double |
getStlMaxLsubs()
Gets the xxx of this suggestion.
|
java.lang.Double |
getStlMaxPhaseAngle()
Gets the xxx of this suggestion.
|
java.lang.Double |
getStlMinEmissionAngle()
Gets the xxx of this suggestion.
|
java.lang.Double |
getStlMinIncidenceAngle()
Gets the xxx of this suggestion.
|
java.lang.Double |
getStlMinLsubs()
Gets the xxx of this suggestion.
|
java.lang.Double |
getStlMinPhaseAngle()
Gets the xxx of this suggestion.
|
java.lang.Boolean |
getStlMustHave()
Gets the xxx of this suggestion.
|
java.lang.Boolean |
getStlNoninteractive()
Gets the xxx of this suggestion.
|
java.lang.Integer |
getStlNumberOfObservations()
Gets the xxx of this suggestion.
|
java.lang.Boolean |
getStlOffNadirIo()
Gets the xxx of this suggestion.
|
java.lang.Boolean |
getStlStereo()
Gets the xxx of this suggestion.
|
java.lang.String |
getSuccessValidatorUsername()
Gets the xxx of this suggestion.
|
java.lang.String |
getSuggester()
Gets the xxx of this suggestion.
|
java.util.Date |
getSuggestionDate()
Gets the xxx of this suggestion.
|
Suggestion.TargetName |
getTargetName()
Gets the xxx of this suggestion.
|
java.lang.Boolean |
getUnretirementRequestFlag()
Gets the xxx of this suggestion.
|
java.lang.String |
getVersion()
Gets the xxx of this suggestion.
|
int |
hashCode()
Returns the hash code value for this suggestion.
|
static java.lang.Boolean |
intToBoolean(java.lang.Integer integer)
Converts an integer token into a boolean value.
|
Suggestion.RelationType |
removeRelatedSuggestion(Suggestion suggestion)
Removes a given suggestion from this suggestion's set of related suggestions.
|
void |
setApprovalStatus(Suggestion.ApprovalStatus approvalStatus)
Sets the xxx for this suggestion.
|
void |
setCenterLatitude(java.lang.Double centerLatitude)
Sets the xxx for this suggestion.
|
void |
setCenterLongitude(java.lang.Double centerLongitude)
Sets the xxx for this suggestion.
|
void |
setCrismCoordination(java.lang.Boolean crismCoordination)
Sets the xxx for this suggestion.
|
void |
setDatePrioritized(java.util.Date datePrioritized)
Sets the xxx for this suggestion.
|
void |
setDateSuccess(java.util.Date dateSuccess)
Sets the xxx for this suggestion.
|
void |
setDescription(java.lang.String description)
Sets the xxx for this suggestion.
|
void |
setExactAreaRequested(java.lang.Boolean exactAreaRequested)
Sets the xxx for this suggestion.
|
void |
setId(int id)
Sets the xxx for this suggestion.
|
void |
setLastUpdate(java.util.Date lastUpdate)
Sets the xxx for this suggestion.
|
void |
setMaxBinning(java.lang.Integer maxBinning)
Sets the xxx for this suggestion.
|
void |
setMaxEmissionAngle(java.lang.Double maxEmissionAngle)
Sets the xxx for this suggestion.
|
void |
setMaxIncidenceAngle(java.lang.Double maxIncidenceAngle)
Sets the xxx for this suggestion.
|
void |
setMaxLatitude(java.lang.Double maxLatitude)
Sets the xxx for this suggestion.
|
void |
setMaxLongitude(java.lang.Double maxLongitude)
Sets the xxx for this suggestion.
|
void |
setMaxLsubs(java.lang.Double maxLsubs)
Sets the xxx for this suggestion.
|
void |
setMaxPhaseAngle(java.lang.Double maxPhaseAngle)
Sets the xxx for this suggestion.
|
void |
setMinEmissionAngle(java.lang.Double minEmissionAngle)
Sets the xxx for this suggestion.
|
void |
setMinIncidenceAngle(java.lang.Double minIncidenceAngle)
Sets the xxx for this suggestion.
|
void |
setMinLatitude(java.lang.Double minLatitude)
Sets the xxx for this suggestion.
|
void |
setMinLongitude(java.lang.Double minLongitude)
Sets the xxx for this suggestion.
|
void |
setMinLsubs(java.lang.Double minLsubs)
Sets the xxx for this suggestion.
|
void |
setMinPhaseAngle(java.lang.Double minPhaseAngle)
Sets the xxx for this suggestion.
|
void |
setNeedColor(java.lang.Boolean needColor)
Sets the xxx for this suggestion.
|
void |
setNeedStereo(java.lang.Boolean needStereo)
Sets the xxx for this suggestion.
|
void |
setNumberOfObservations(java.lang.Integer numberOfObservations)
Sets the xxx for this suggestion.
|
void |
setPrimaryScienceTheme(Suggestion.ScienceTheme primaryScienceTheme)
Sets the xxx for this suggestion.
|
void |
setPriority(Suggestion.Priority priority)
Sets the xxx for this suggestion.
|
void |
setPriorityColor(java.lang.Integer priorityColor)
Sets the xxx for this suggestion.
|
void |
setPriorityHighres(java.lang.Integer priorityHighres)
Sets the xxx for this suggestion.
|
void |
setPriorityOverall(java.lang.Integer priorityOverall)
Sets the xxx for this suggestion.
|
void |
setPriorityStereo(java.lang.Integer priorityStereo)
Sets the xxx for this suggestion.
|
void |
setRelatedSuggestions(java.util.Map<Suggestion,Suggestion.RelationType> relatedSuggestions)
Replaces the map of related suggestions with another one.
|
void |
setRetiringObservationId(java.lang.String retiringObservationId)
Sets the xxx for this suggestion.
|
void |
setRoiVertices(java.lang.String roiVertices)
Sets the xxx for this suggestion.
|
void |
setScienceRationale(java.lang.String scienceRationale)
Sets the xxx for this suggestion.
|
void |
setSecondaryScienceTheme(Suggestion.ScienceTheme secondaryScienceTheme)
Sets the xxx for this suggestion.
|
void |
setSpecialNotes(java.lang.String specialNotes)
Sets the xxx for this suggestion.
|
void |
setStlCrismCoordination(java.lang.Boolean stlCrismCoordination)
Sets the xxx for this suggestion.
|
void |
setStlDescription(java.lang.String stlDescription)
Sets the xxx for this suggestion.
|
void |
setStlEditDate(java.util.Date stlEditDate)
Sets the xxx for this suggestion.
|
void |
setStlHighStabilityNadir(java.lang.Boolean stlHighStabilityNadir)
Sets the xxx for this suggestion.
|
void |
setStlMaxBinning(java.lang.Integer stlMaxBinning)
Sets the xxx for this suggestion.
|
void |
setStlMaxEmissionAngle(java.lang.Double stlMaxEmissionAngle)
Sets the xxx for this suggestion.
|
void |
setStlMaxIncidenceAngle(java.lang.Double stlMaxIncidenceAngle)
Sets the xxx for this suggestion.
|
void |
setStlMaxLsubs(java.lang.Double stlMaxLsubs)
Sets the xxx for this suggestion.
|
void |
setStlMaxPhaseAngle(java.lang.Double stlMaxPhaseAngle)
Sets the xxx for this suggestion.
|
void |
setStlMinEmissionAngle(java.lang.Double stlMinEmissionAngle)
Sets the xxx for this suggestion.
|
void |
setStlMinIncidenceAngle(java.lang.Double stlMinIncidenceAngle)
Sets the xxx for this suggestion.
|
void |
setStlMinLsubs(java.lang.Double stlMinLsubs)
Sets the xxx for this suggestion.
|
void |
setStlMinPhaseAngle(java.lang.Double stlMinPhaseAngle)
Sets the xxx for this suggestion.
|
void |
setStlMustHave(java.lang.Boolean stlMustHave)
Sets the xxx for this suggestion.
|
void |
setStlNoninteractive(java.lang.Boolean stlNoninteractive)
Sets the xxx for this suggestion.
|
void |
setStlNumberOfObservations(java.lang.Integer stlNumberOfObservations)
Sets the xxx for this suggestion.
|
void |
setStlOffNadirIo(java.lang.Boolean stlOffNadirIo)
Sets the xxx for this suggestion.
|
void |
setStlStereo(java.lang.Boolean stlStereo)
Sets the xxx for this suggestion.
|
void |
setSuccessValidatorUsername(java.lang.String successValidatorUsername)
Sets the xxx for this suggestion.
|
void |
setSuggester(java.lang.String suggester)
Sets the xxx for this suggestion.
|
void |
setSuggestionDate(java.util.Date suggestionDate)
Sets the xxx for this suggestion.
|
void |
setTargetName(Suggestion.TargetName targetName)
Sets the xxx for this suggestion.
|
void |
setUnretirementRequestFlag(java.lang.Boolean unretirementRequestFlag)
Sets the xxx for this suggestion.
|
void |
setVersion(java.lang.String version)
Sets the xxx for this suggestion.
|
static java.util.List<java.lang.String> |
suggestedObservationsFields()
Returns the list of field names in the Suggested_Observations
table.
|
static java.lang.Boolean |
yesNoToBoolean(java.lang.String yesNo)
Converts a text token into boolean value.
|
public static final java.lang.String ID
public static final java.lang.String KEY_ID
ID
.public static final java.lang.String VERSION
public static final java.lang.String CENTER_LATITUDE
public static final java.lang.String CENTER_LONGITUDE
public static final java.lang.String MAX_LATITUDE
public static final java.lang.String MIN_LATITUDE
public static final java.lang.String MAX_LONGITUDE
public static final java.lang.String MIN_LONGITUDE
public static final java.lang.String ROI_VERTICES
public static final java.lang.String EXACT_AREA_REQUESTED
public static final java.lang.String NEED_STEREO
public static final java.lang.String PRIORITY_STEREO
public static final java.lang.String NEED_COLOR
public static final java.lang.String PRIORITY_COLOR
public static final java.lang.String PRIORITY_HIGHRES
public static final java.lang.String CRISM_COORDINATION
public static final java.lang.String MAX_BINNING
public static final java.lang.String MAX_LSUBS
public static final java.lang.String MIN_LSUBS
public static final java.lang.String MAX_PHASE_ANGLE
public static final java.lang.String MIN_PHASE_ANGLE
public static final java.lang.String MAX_INCIDENCE_ANGLE
public static final java.lang.String MIN_INCIDENCE_ANGLE
public static final java.lang.String MAX_EMISSION_ANGLE
public static final java.lang.String MIN_EMISSION_ANGLE
public static final java.lang.String PRIORITY_OVERALL
public static final java.lang.String PRIORITY
public static final java.lang.String DATE_PRIORITIZED
public static final java.lang.String SCIENCE_RATIONALE
public static final java.lang.String DESCRIPTION
public static final java.lang.String APPROVAL_STATUS
public static final java.lang.String SUGGESTION_DATE
public static final java.lang.String SUCCESS_VALIDATOR_USERNAME
public static final java.lang.String DATE_SUCCESS
public static final java.lang.String RETIRING_OBSERVATION_ID
public static final java.lang.String UNRETIREMENT_REQUEST_FLAG
public static final java.lang.String SPECIAL_NOTES
public static final java.lang.String TARGET_NAME
public static final java.lang.String NUMBER_OF_OBSERVATIONS
public static final java.lang.String STL_DESCRIPTION
public static final java.lang.String STL_MUST_HAVE
public static final java.lang.String STL_STEREO
public static final java.lang.String STL_CRISM_COORDINATION
public static final java.lang.String STL_OFF_NADIR_IO
public static final java.lang.String STL_HIGH_STABILITY_NADIR
public static final java.lang.String STL_NONINTERACTIVE
public static final java.lang.String STL_MAX_BINNING
public static final java.lang.String STL_MAX_PHASE_ANGLE
public static final java.lang.String STL_MIN_PHASE_ANGLE
public static final java.lang.String STL_MAX_INCIDENCE_ANGLE
public static final java.lang.String STL_MIN_INCIDENCE_ANGLE
public static final java.lang.String STL_MAX_EMISSION_ANGLE
public static final java.lang.String STL_MIN_EMISSION_ANGLE
public static final java.lang.String STL_MAX_LSUBS
public static final java.lang.String STL_MIN_LSUBS
public static final java.lang.String STL_NUMBER_OF_OBSERVATIONS
public static final java.lang.String STL_EDIT_DATE
public static final java.lang.String LAST_UPDATE
public static final int INVALID_ID
public static final java.lang.String YES
public static final java.lang.String NO
public int getId()
public void setId(int id)
id
- the xxx.public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- the xxx.public java.lang.Double getCenterLatitude()
public void setCenterLatitude(java.lang.Double centerLatitude)
centerLatitude
- the xxx.public java.lang.Double getCenterLongitude()
public void setCenterLongitude(java.lang.Double centerLongitude)
centerLongitude
- the xxx.public java.lang.Double getMaxLatitude()
public void setMaxLatitude(java.lang.Double maxLatitude)
maxLatitude
- the xxx.public java.lang.Double getMinLatitude()
public void setMinLatitude(java.lang.Double minLatitude)
minLatitude
- the xxx.public java.lang.Double getMaxLongitude()
public void setMaxLongitude(java.lang.Double maxLongitude)
maxLongitude
- the xxx.public java.lang.Double getMinLongitude()
public void setMinLongitude(java.lang.Double minLongitude)
minLongitude
- the xxx.public java.lang.String getRoiVertices()
public void setRoiVertices(java.lang.String roiVertices)
roiVertices
- the xxx.public java.lang.Boolean getExactAreaRequested()
public void setExactAreaRequested(java.lang.Boolean exactAreaRequested)
exactAreaRequested
- the xxx.public java.lang.Boolean getNeedStereo()
public void setNeedStereo(java.lang.Boolean needStereo)
needStereo
- the xxx.public java.lang.Integer getPriorityStereo()
public void setPriorityStereo(java.lang.Integer priorityStereo)
priorityStereo
- the xxx.public java.lang.Boolean getNeedColor()
public void setNeedColor(java.lang.Boolean needColor)
needColor
- the xxx.public java.lang.Integer getPriorityColor()
public void setPriorityColor(java.lang.Integer priorityColor)
priorityColor
- the xxx.public java.lang.Integer getPriorityHighres()
public void setPriorityHighres(java.lang.Integer priorityHighres)
priorityHighres
- the xxx.public java.lang.Boolean getCrismCoordination()
public void setCrismCoordination(java.lang.Boolean crismCoordination)
crismCoordination
- the xxx.public java.lang.Integer getMaxBinning()
public void setMaxBinning(java.lang.Integer maxBinning)
maxBinning
- the xxx.public java.lang.Double getMaxLsubs()
public void setMaxLsubs(java.lang.Double maxLsubs)
maxLsubs
- the xxx.public java.lang.Double getMinLsubs()
public void setMinLsubs(java.lang.Double minLsubs)
minLsubs
- the xxx.public java.lang.Double getMaxPhaseAngle()
public void setMaxPhaseAngle(java.lang.Double maxPhaseAngle)
maxPhaseAngle
- the xxx.public java.lang.Double getMinPhaseAngle()
public void setMinPhaseAngle(java.lang.Double minPhaseAngle)
minPhaseAngle
- the xxx.public java.lang.Double getMaxIncidenceAngle()
public void setMaxIncidenceAngle(java.lang.Double maxIncidenceAngle)
maxIncidenceAngle
- the xxx.public java.lang.Double getMinIncidenceAngle()
public void setMinIncidenceAngle(java.lang.Double minIncidenceAngle)
minIncidenceAngle
- the xxx.public java.lang.Double getMaxEmissionAngle()
public void setMaxEmissionAngle(java.lang.Double maxEmissionAngle)
maxEmissionAngle
- the xxx.public java.lang.Double getMinEmissionAngle()
public void setMinEmissionAngle(java.lang.Double minEmissionAngle)
minEmissionAngle
- the xxx.public java.lang.Integer getPriorityOverall()
public void setPriorityOverall(java.lang.Integer priorityOverall)
priorityOverall
- the xxx.public Suggestion.Priority getPriority()
public void setPriority(Suggestion.Priority priority)
priority
- the xxx.public java.util.Date getDatePrioritized()
public void setDatePrioritized(java.util.Date datePrioritized)
datePrioritized
- the xxx.public java.lang.String getScienceRationale()
public void setScienceRationale(java.lang.String scienceRationale)
scienceRationale
- the xxx.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the xxx.public Suggestion.ApprovalStatus getApprovalStatus()
public void setApprovalStatus(Suggestion.ApprovalStatus approvalStatus)
approvalStatus
- the xxx.public java.util.Date getSuggestionDate()
public void setSuggestionDate(java.util.Date suggestionDate)
suggestionDate
- the xxx.public java.lang.String getSuccessValidatorUsername()
public void setSuccessValidatorUsername(java.lang.String successValidatorUsername)
successValidatorUsername
- the xxx.public java.util.Date getDateSuccess()
public void setDateSuccess(java.util.Date dateSuccess)
dateSuccess
- the xxx.public java.lang.String getRetiringObservationId()
public void setRetiringObservationId(java.lang.String retiringObservationId)
retiringObservationId
- the xxx.public java.lang.Boolean getUnretirementRequestFlag()
public void setUnretirementRequestFlag(java.lang.Boolean unretirementRequestFlag)
unretirementRequestFlag
- the xxx.public java.lang.String getSpecialNotes()
public void setSpecialNotes(java.lang.String specialNotes)
specialNotes
- the xxx.public Suggestion.TargetName getTargetName()
public void setTargetName(Suggestion.TargetName targetName)
targetName
- the xxx.public java.lang.Integer getNumberOfObservations()
public void setNumberOfObservations(java.lang.Integer numberOfObservations)
numberOfObservations
- the xxx.public java.lang.String getStlDescription()
public void setStlDescription(java.lang.String stlDescription)
stlDescription
- the xxx.public java.lang.Boolean getStlMustHave()
public void setStlMustHave(java.lang.Boolean stlMustHave)
stlMustHave
- the xxx.public java.lang.Boolean getStlStereo()
public void setStlStereo(java.lang.Boolean stlStereo)
stlStereo
- the xxx.public java.lang.Boolean getStlCrismCoordination()
public void setStlCrismCoordination(java.lang.Boolean stlCrismCoordination)
stlCrismCoordination
- the xxx.public java.lang.Boolean getStlOffNadirIo()
public void setStlOffNadirIo(java.lang.Boolean stlOffNadirIo)
stlOffNadirIo
- the xxx.public java.lang.Boolean getStlHighStabilityNadir()
public void setStlHighStabilityNadir(java.lang.Boolean stlHighStabilityNadir)
stlHighStabilityNadir
- the xxx.public java.lang.Boolean getStlNoninteractive()
public void setStlNoninteractive(java.lang.Boolean stlNoninteractive)
stlNoninteractive
- the xxx.public java.lang.Integer getStlMaxBinning()
public void setStlMaxBinning(java.lang.Integer stlMaxBinning)
stlMaxBinning
- the xxx.public java.lang.Double getStlMaxPhaseAngle()
public void setStlMaxPhaseAngle(java.lang.Double stlMaxPhaseAngle)
stlMaxPhaseAngle
- the xxx.public java.lang.Double getStlMinPhaseAngle()
public void setStlMinPhaseAngle(java.lang.Double stlMinPhaseAngle)
stlMinPhaseAngle
- the xxx.public java.lang.Double getStlMaxIncidenceAngle()
public void setStlMaxIncidenceAngle(java.lang.Double stlMaxIncidenceAngle)
stlMaxIncidenceAngle
- the xxx.public java.lang.Double getStlMinIncidenceAngle()
public void setStlMinIncidenceAngle(java.lang.Double stlMinIncidenceAngle)
stlMinIncidenceAngle
- the xxx.public java.lang.Double getStlMaxEmissionAngle()
public void setStlMaxEmissionAngle(java.lang.Double stlMaxEmissionAngle)
stlMaxEmissionAngle
- the xxx.public java.lang.Double getStlMinEmissionAngle()
public void setStlMinEmissionAngle(java.lang.Double stlMinEmissionAngle)
stlMinEmissionAngle
- the xxx.public java.lang.Double getStlMaxLsubs()
public void setStlMaxLsubs(java.lang.Double stlMaxLsubs)
stlMaxLsubs
- the xxx.public java.lang.Double getStlMinLsubs()
public void setStlMinLsubs(java.lang.Double stlMinLsubs)
stlMinLsubs
- the xxx.public java.lang.Integer getStlNumberOfObservations()
public void setStlNumberOfObservations(java.lang.Integer stlNumberOfObservations)
stlNumberOfObservations
- the xxx.public java.util.Date getStlEditDate()
public void setStlEditDate(java.util.Date stlEditDate)
stlEditDate
- the xxx.public java.util.Date getLastUpdate()
public void setLastUpdate(java.util.Date lastUpdate)
lastUpdate
- the xxx.public Suggestion.ScienceTheme getPrimaryScienceTheme()
public void setPrimaryScienceTheme(Suggestion.ScienceTheme primaryScienceTheme)
primaryScienceTheme
- the xxx.public Suggestion.ScienceTheme getSecondaryScienceTheme()
public void setSecondaryScienceTheme(Suggestion.ScienceTheme secondaryScienceTheme)
secondaryScienceTheme
- the xxx.public java.lang.String getSuggester()
public void setSuggester(java.lang.String suggester)
suggester
- the xxx.public java.util.Map<Suggestion,Suggestion.RelationType> getRelatedSuggestions()
If there are no related suggestions, an empty map is returned.
public java.util.Set<Suggestion> getRelatedSuggestions(Suggestion.RelationType relationType)
If there are no related suggestions of the given type, an empty set is returned.
Note: Although via policy there are only two suggestions in a stereo pair
, there is no effort to maintain this policy
in the Suggestion class.
relationType
- the relation type of interest.public void addRelatedSuggestion(Suggestion suggestion, Suggestion.RelationType relationType)
Note: Although via policy there are only two suggestions in a stereo pair
, there is no effort to maintain this policy
in the Suggestion class.
suggestion
- the related suggestion to add.relationType
- the type of relation shared between this suggestion
and the added suggestion.public Suggestion.RelationType removeRelatedSuggestion(Suggestion suggestion)
suggestion
- the suggestion to remove.public void setRelatedSuggestions(java.util.Map<Suggestion,Suggestion.RelationType> relatedSuggestions)
Warning: The new map of related suggestions should not be null, but no effort is currently made to enforce that condition.
relatedSuggestions
- the new map of related suggestions.public java.lang.Object clone()
clone
in class java.lang.Object
public int compareTo(Suggestion s)
This method only compares the suggestion's key ID, as determined by
getId()
. It is therefore highly inconsistent with
equals!
compareTo
in interface java.lang.Comparable<Suggestion>
s
- the suggestion to be compared.public boolean equals(java.lang.Object o)
If any of these is false, this method returns false.
NOTE: getRelatedSuggestions()
map is not included in the
test for equality. Two suggestions with identical fields but with different
related suggestions maps therefore will evaluate as equal.
equals
in class java.lang.Object
o
- the reference object with which to compare.public int hashCode()
NOTE: getRelatedSuggestions()
map is not included in the
hashcode calculation. Two suggestions with identical fields but with
different related suggestions maps therefore will have the same hashcode.
hashCode
in class java.lang.Object
public static java.lang.Boolean yesNoToBoolean(java.lang.String yesNo)
YES
,
this method returns Boolean.TRUE
; otherwise it returns Boolean.FALSE
or null, the latter if yesNo is also
null.
The tests are not case-sensitive.
public static java.lang.String booleanToYesNo(java.lang.Boolean bool)
public static java.lang.Boolean intToBoolean(java.lang.Integer integer)
Boolean.TRUE
;
otherwise it returns Boolean.FALSE
or null, the latter if
integer is null.integer
- an integer value indicating true or false. May be
null.public static java.lang.Integer booleanToInt(java.lang.Boolean bool)
Boolean.TRUE
, this method returns an integer of value 1; if Boolean.FALSE
, it returns an integer of value 0; if null,
it returns a null.bool
- a boolean. May be null.public static java.util.List<java.lang.String> suggestedObservationsFields()
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona