|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectastro.ex10.model.CelestialBody
astro.ex10.model.Planet
public class Planet
| Field Summary | |
|---|---|
private java.util.Set<Moon> |
moons
|
| Constructor Summary | |
|---|---|
Planet()
|
|
| Method Summary | |
|---|---|
Planet |
addMoon(Moon moon)
|
java.util.Set<Moon> |
getMoons()
|
void |
setMoons(java.util.Set<Moon> moons)
|
| 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 |
|---|
private java.util.Set<Moon> moons
| Constructor Detail |
|---|
public Planet()
| Method Detail |
|---|
public java.util.Set<Moon> getMoons()
public void setMoons(java.util.Set<Moon> moons)
public Planet addMoon(Moon moon)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||