All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jsimpledb.demo.Planet Maven / Gradle / Ivy

There is a newer version: 3.6.1
Show newest version

/*
 * Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
 */

package org.jsimpledb.demo;

import org.jsimpledb.annotation.JSimpleClass;

/**
 * Represents a planet.
 */
@JSimpleClass
public abstract class Planet extends AbstractHasSatellites implements Satellite {

    protected Planet() {
        super(Moon.class);
    }

    /**
     * Get whether this planet is ringed.
     *
     * @return true if this planet has rings
     */
    public abstract boolean isRinged();
    public abstract void setRinged(boolean ringed);
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy