diff --git a/appointment-import/src/main/java/smash/appointment/parse/AppointmentTypeCollection.java b/appointment-import/src/main/java/smash/appointment/parse/AppointmentTypeCollection.java new file mode 100644 index 0000000000000000000000000000000000000000..fd03c05babe009f7b73ce862fd0dd385c39aac19 --- /dev/null +++ b/appointment-import/src/main/java/smash/appointment/parse/AppointmentTypeCollection.java @@ -0,0 +1,57 @@ +package smash.appointment.parse; + +public enum AppointmentTypeCollection { + LEVEL_BV_BG_SB_MPOWER( + new AppointmentType[] { AppointmentType.LEVEL_BV, AppointmentType.LEVEL_BG, AppointmentType.LEVEL_SB, AppointmentType.LEVEL_B_M_POWER, }, // + new String[] { "evel BV + BG + SB + mPower", "BV + BG + SB + mPower" }), // + LEVEL_BV_BG_SB(new AppointmentType[] { AppointmentType.LEVEL_BV, AppointmentType.LEVEL_BG, AppointmentType.LEVEL_SB }, // + new String[] { "evel BV + BG + SB", "BV + BG + SB" }), // + LEVEL_BV_SB(new AppointmentType[] { AppointmentType.LEVEL_BV, AppointmentType.LEVEL_SB }, // + new String[] { "evel BV + SB", "BV + SB" }), // + LEVEL_BV_BG(new AppointmentType[] { AppointmentType.LEVEL_BV, AppointmentType.LEVEL_BG }, // + new String[] { "evel BV + BG", "BV + BG" }), // + LEVEL_BG_SB(new AppointmentType[] { AppointmentType.LEVEL_BG, AppointmentType.LEVEL_SB }, // + new String[] { "evel BG + SB", "BG + SB" }), // + LEVEL_BV(new AppointmentType[] { AppointmentType.LEVEL_BV }, // + new String[] { "evel BV", "BV" }), // + LEVEL_BG(new AppointmentType[] { AppointmentType.LEVEL_BG }, // + new String[] { "evel BG", "BG" }), // + LEVEL_SB(new AppointmentType[] { AppointmentType.LEVEL_SB }, // + new String[] { "evel SB", "SB" }), // + + LEVEL_A_TQ(new AppointmentType[] { AppointmentType.LEVEL_A_TQ }, // + new String[] { "TQ" }), // + LEVEL_A(new AppointmentType[] { AppointmentType.LEVEL_A }, // + new String[] { "level A" }), // + LEVEL_B(new AppointmentType[] { AppointmentType.LEVEL_B }, // + new String[] { "evel B" }), // + LEVEL_B_M_POWER(new AppointmentType[] { AppointmentType.LEVEL_B_M_POWER }, // + new String[] { "mPower" }), // + OTHER(new AppointmentType[] {}, // + new String[] {}), // + ; + private String[] queryStrings; + private AppointmentType[] types; + + private AppointmentTypeCollection(AppointmentType[] types, String[] queryStrings) { + this.queryStrings = queryStrings; + this.types = types; + } + + /** + * @return the queryStrings + * @see #queryStrings + */ + public String[] getQueryStrings() { + return queryStrings; + } + + /** + * @return the types + * @see #types + */ + public AppointmentType[] getTypes() { + return types; + } + +}