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 CelestialBody

    java.lang.Object
      astro.ex10.model.CelestialBody

Direct Known Subclasses:
  Moon, Planet

    public abstract class CelestialBody

extends java.lang.Object

Field Summary
`private Discovery` | `discovery`
`private java.lang.Long` | `id`
`private double` | `mass` Az Ã©gitest tÃ¶mege (kg).
`private java.lang.String` | `name`

Constructor Summary
`CelestialBody()`

Method Summary
`Discovery` | `getDiscovery()`
`java.lang.Long` | `getId()`
`double` | `getMass()`
`java.lang.String` | `getName()`
`void` | `setDiscovery(Discovery discovery)`
`void` | `setId(java.lang.Long id)`
`void` | `setMass(double mass)`
`void` | `setName(java.lang.String name)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### id

    private java.lang.Long id

### name

    private java.lang.String name

### discovery

    private Discovery discovery

### mass

    private double mass

  Az Ã©gitest tÃ¶mege (kg).

Constructor Detail

### CelestialBody

    public CelestialBody()

Method Detail

### getId

    public java.lang.Long getId()

### setId

    public void setId(java.lang.Long id)

### getName

    public java.lang.String getName()

### setName

    public void setName(java.lang.String name)

### getMass

    public double getMass()

### setMass

    public void setMass(double mass)

### getDiscovery

    public Discovery getDiscovery()

### setDiscovery

    public void setDiscovery(Discovery discovery)

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