
org.jsimpledb.demo.Planet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsimpledb-demo Show documentation
Show all versions of jsimpledb-demo Show documentation
JSimpleDB demonstration classes.
/*
* 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