Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## astro.ex10.model
Class Moon

    java.lang.Object
      astro.ex10.model.CelestialBody
          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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD