private Object readResolve() throws ObjectStreamException {
        Object result = null;
        if (this.equals(TickType.MAJOR)) {
            result = TickType.MAJOR;
        }
        else if (this.equals(TickType.MINOR)) {
            result = TickType.MINOR;
        }
        return result;