java – code to save / load a class object

I have an Objective class in use. There can only be one destination that I need to save / load. I do that with SharedPreferences and Gson. Could you take this code into account and report its shortcomings?

public class Objective {

    private float objectiveWeight;
    private float currentWeight;
    private long finalDate;

    private static Gson gson = new Gson();

    public Objective(float objectiveWeight, float currentWeight, long finalDate) {
        this.objectiveWeight = objectiveWeight;
        this.currentWeight = currentWeight;
        this.finalDate = finalDate;
    }

    public float getCurrentWeight() {
        return currentWeight;
    }

    public void setCurrentWeight(float currentWeight) {
        this.currentWeight = currentWeight;
    }

    public float getObjectiveWeight() {
        return objectiveWeight;
    }

    public void setObjectiveWeight(float objectiveWeight) {
        this.objectiveWeight = objectiveWeight;
    }

    public long getFinalDate() {
        return finalDate;
    }

    public void setFinalDate(long finalDate) {
        this.finalDate = finalDate;
    }

    public static Objective loadObjective(Context context){
        SharedPreferences settings = context.getSharedPreferences(OBJECTIVE_SAVE_KEY, Context.MODE_PRIVATE);
        String json = settings.getString(OBJECTIVE_SAVE_KEY,null);
        return gson.fromJson(json,Objective.class);
    }

    public static void saveObjective(Objective objective,Context context){
        SharedPreferences settings = context.getSharedPreferences(OBJECTIVE_SAVE_KEY, Context.MODE_PRIVATE);
        String json = gson.toJson(objective);
        settings.edit().putString(OBJECTIVE_SAVE_KEY,json).apply();
    }
}