astro.ex10.model
Class Moon

java.lang.Object
  extended by astro.ex10.model.CelestialBody
      extended by astro.ex10.model.Moon

public class Moon
extends CelestialBody


Field Summary
private  Planet planet
           
 
Constructor Summary
Moon()
           
 
Method Summary
 Planet getPlanet()
           
 void setPlanet(Planet planet)
           
 
Methods inherited from class astro.ex10.model.CelestialBody
getDiscovery, getId, getMass, getName, setDiscovery, setId, setMass, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

planet

private Planet planet
Constructor Detail

Moon

public Moon()
Method Detail

getPlanet

public Planet getPlanet()

setPlanet

public void setPlanet(Planet planet)