public static Priority valueOf(int v) {
			switch (v) {
			case 1:
				return HIGH;
			case 2:
				return MEDIUM;
			case 3:
				return LOW;
			default:
				throw new IllegalArgumentException("priority out of range");
			}
		}