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

freak.core.modulesupport.AbstractModule Maven / Gradle / Ivy

There is a newer version: 0.4.7
Show newest version
/*
 * This file is part of FrEAK. For licensing and copyright information
 * please see the file COPYING in the root directory of this
 * distribution or contact .
 */

package freak.core.modulesupport;

import freak.core.control.*;

/**
 * An abstract superclass for all modules except operators and parameter
 * controllers, which are direct subclasses of AbstractBasicModule. Provides
 * standard implementations for common methods of most modules.
 *
 * @author Stefan
 */
public abstract class AbstractModule extends AbstractBasicModule {
	protected ScheduleInterface schedule;
	
	/**
	 * Establishes an uplink to the Schedule containing this module.
	 */
	public AbstractModule(ScheduleInterface schedule) {
		this.schedule = schedule;
	}
	
	/**
	 * Returns the Schedule containing this module.
	 */
	public ScheduleInterface getSchedule() {
		return schedule;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy