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

com.bladecoder.engine.util.SerializationHelper Maven / Gradle / Ivy

There is a newer version: 4.3.1
Show newest version
package com.bladecoder.engine.util;

public class SerializationHelper {

	public enum Mode {
		MODEL, STATE
	};

	private static SerializationHelper instance;

	private Mode mode = Mode.MODEL;

	private SerializationHelper() {

	}

	public static SerializationHelper getInstance() {
		if (instance == null)
			instance = new SerializationHelper();

		return instance;
	}

	public Mode getMode() {
		return mode;
	}
	
	public void setMode(Mode m) {
		this.mode = m;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy