case ABANDONED: return new AbandonedState(registration, person, dateTime); case MOBILITY: return new MobilityState(registration, person, dateTime);
    protected static RegistrationState createState(Registration registration, Person person,	    DateTime dateTime, RegistrationStateType stateType) {	switch (stateType) {	case REGISTERED:	    return new RegisteredState(registration, person, dateTime);	case CANCELED:	    return new CanceledState(registration, person, dateTime);	case CONCLUDED:	    return new ConcludedState(registration, person, dateTime);	case FLUNKED:	    return new FlunkedState(registration, person, dateTime);	case INTERRUPTED:	    return new InterruptedState(registration, person, dateTime);	case SCHOOLPARTCONCLUDED:	    return new SchoolPartConcludedState(registration, person, dateTime);	}	return null;    }