org.gjt.universe
Class Classification

java.lang.Object
  |
  +--org.gjt.universe.Classification
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AtmosphereCompositionType, AtmosphereType, GravityType, PlanetType, SurfacePressureType, TemperatureType, TerrainType, WeatherType

public abstract class Classification
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private  java.lang.String myBackStory
           
private  java.lang.String myName
           
 
Constructor Summary
protected Classification(java.lang.String aName, java.lang.String aBackStory)
          This constructor is used to construct instances of this class.
 
Method Summary
 java.lang.String getBackStory()
          This method returns an explanation of the planet type as would be shown in the UI when the user requests more information.
 java.lang.String getName()
          This method returns the name of the planet type as would be shown to the user in the UI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myName

private java.lang.String myName

myBackStory

private java.lang.String myBackStory
Constructor Detail

Classification

protected Classification(java.lang.String aName,
                         java.lang.String aBackStory)
This constructor is used to construct instances of this class. It should not be necessary for callers to invoke this directly, since all planet types should be created automatically.

Parameters:
aName - A short localized name uniquely describing the classification.
aBackStory - A localized explanation of the classification.
Method Detail

getName

public java.lang.String getName()
This method returns the name of the planet type as would be shown to the user in the UI.


getBackStory

public java.lang.String getBackStory()
This method returns an explanation of the planet type as would be shown in the UI when the user requests more information.



Copyright © 2001 Universe Dev Team All Rights Reserved.