mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-11 14:50:56 +00:00
added a few more domain model abstractions in the form of yet unimplemented interfaces
This commit is contained in:
1 parent
a7cf81ce80
commit
f29495de4c
2 files changed
+27
No files matched your search
@@ -0,0 +1,14 @@
|
|||||||
|
package com.sap.sailing.domain.base;
|
||||||
|
|
||||||
|
import com.sap.sailing.domain.common.Named;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A named area in a sailing {@link Venue} where races take place. Usually, the areas carry names according to the NATO
|
||||||
|
* alphabet, such as "Alpha", "Bravo" or "Charlie".
|
||||||
|
*
|
||||||
|
* @author Axel Uhl (D043530)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public interface RaceArea extends Named {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
package com.sap.sailing.domain.base;
|
||||||
|
|
||||||
|
import com.sap.sailing.domain.common.Named;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Describes the place where a sailing event with one or more regattas takes place.
|
||||||
|
*
|
||||||
|
* @author Axel Uhl (D043530)
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public interface Venue extends Named {
|
||||||
|
Iterable<RaceArea> getRaceAreas();
|
||||||
|
}
|
||||||
Reference in new issue
Block a user