com.pegacat.vcf.data
Class SurveyText

java.lang.Object
  |
  +--com.pegacat.vcf.data.SurveyText

public class SurveyText
extends java.lang.Object

Storage for all the text of a star/world survey, including the surveyed object's name, and the survey date. Creation date: (29/05/2001 11:50:27 AM)


Field Summary
 double date
          the date of the survey
protected  java.lang.String name
          the name of the surveyed object
protected  VoyagerText text
          the text of the survey
 
Constructor Summary
SurveyText(VoyagerText text, java.lang.String name, double date)
          Create a survey, with initial text, name and date.
 
Method Summary
 double getDate()
           
 java.lang.String getName()
           
 VoyagerText getText()
           
 boolean isStar()
          returns true if the survey is a star survey
 void setDate(double newDate)
           
 void setName(java.lang.String newName)
           
 void setText(VoyagerText newText)
           
 java.lang.String toString()
          Returns a String that represents the value of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

text

protected VoyagerText text
the text of the survey

date

public double date
the date of the survey

name

protected java.lang.String name
the name of the surveyed object
Constructor Detail

SurveyText

public SurveyText(VoyagerText text,
                  java.lang.String name,
                  double date)
Create a survey, with initial text, name and date. Creation date: (29/05/2001 11:53:49 AM)
Method Detail

getDate

public double getDate()

getName

public java.lang.String getName()

getText

public VoyagerText getText()

setDate

public void setDate(double newDate)

setName

public void setName(java.lang.String newName)

setText

public void setText(VoyagerText newText)

toString

public java.lang.String toString()
Returns a String that represents the value of this object.
Overrides:
toString in class java.lang.Object
Returns:
a string representation of the receiver

isStar

public boolean isStar()
returns true if the survey is a star survey