1 package net.sf.openrocket.database;
\r
3 import java.util.List;
\r
5 import net.sf.openrocket.motor.Motor;
\r
7 public interface MotorDatabase {
\r
10 * Return all motors in the database matching a search criteria. Any search criteria that
\r
11 * is null or NaN is ignored.
\r
13 * @param type the motor type, or null.
\r
14 * @param manufacturer the manufacturer, or null.
\r
15 * @param designation the designation, or null.
\r
16 * @param diameter the diameter, or NaN.
\r
17 * @param length the length, or NaN.
\r
18 * @return a list of all the matching motors.
\r
20 public List<? extends Motor> findMotors(Motor.Type type,
\r
21 String manufacturer, String designation, double diameter,
\r