summaryrefslogtreecommitdiff
path: root/src/main/java/design/runtime/Session.java
blob: fbf4b9c04dd00dd74b8a12f14b4b75efbfe0b052 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package design.runtime;

import design.model.Golfer;

public final class Session {
    private static Golfer currentGolfer;

    public static Golfer getCurrentGolfer() {
        return currentGolfer;
    }

    public static void setCurrentGolfer(Golfer currentGolfer) {
        Session.currentGolfer = currentGolfer;
    }
}