FileDocCategorySizeDatePackage
Planet.javaAPI DocExample1774Wed May 18 09:39:04 BST 2005com.discursive.jccook.xml.jxpath

Planet

public class Planet extends Object

Fields Summary
private String
name
private Double
mass
private Double
radius
private Orbit
orbit
private Atmosphere
atmosphere
private List
moons
Constructors Summary
Methods Summary
public voidaddMoon(java.lang.String name)

 moons.add( name ); 
public AtmospheregetAtmosphere()


        return atmosphere; 
public java.lang.DoublegetMass()

 return mass; 
public java.util.ListgetMoons()

 return moons; 
public java.lang.StringgetName()

 return name; 
public OrbitgetOrbit()

 return orbit; 
public java.lang.DoublegetRadius()

 return radius; 
public voidsetAtmosphere(Atmosphere a)

 atmosphere = a; 
public voidsetMass(java.lang.Double m)

 mass = m; 
public voidsetMoons(java.util.List list)

 moons = list; 
public voidsetName(java.lang.String n)

 name = n; 
public voidsetOrbit(Orbit o)

 orbit = o; 
public voidsetRadius(java.lang.Double r)

 radius = r;