Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
net.anotheria.anosite.gen.shared.data.PriorityEnum Maven / Gradle / Ivy
/**
********************************************************************************
*** PriorityEnum.java ***
*** generated by AnoSiteGenerator (ASG), Version: 2.6.3 ***
*** Copyright (C) 2005 - 2010 Anotheria.net, www.anotheria.net ***
*** All Rights Reserved. ***
********************************************************************************
*** Don't edit this code, if you aren't sure ***
*** that you do exactly know what you are doing! ***
*** It's better to invest time in the generator, as into the generated code. ***
********************************************************************************
*/
package net.anotheria.anosite.gen.shared.data;
import net.anotheria.asg.exception.ConstantNotFoundException;
public enum PriorityEnum{
P1(1),
P2(2),
P3(3),
P4(4),
P5(5),
P6(6),
P7(7),
P8(8),
P9(9),
P10(10),
P11(11),
P12(12),
P13(13),
P14(14),
P15(15),
P16(16),
P17(17),
P18(18),
P19(19),
P20(20),
P21(21),
P22(22),
P23(23),
P24(24),
P25(25),
P26(26),
P27(27),
P28(28),
P29(29),
P30(30),
P31(31),
P32(32),
P33(33),
P34(34),
P35(35),
P36(36),
P37(37),
P38(38),
P39(39),
P40(40),
P41(41),
P42(42),
P43(43),
P44(44),
P45(45),
P46(46),
P47(47),
P48(48),
P49(49),
P50(50),
P51(51),
P52(52),
P53(53),
P54(54),
P55(55),
P56(56),
P57(57),
P58(58),
P59(59),
P60(60),
P61(61),
P62(62),
P63(63),
P64(64),
P65(65),
P66(66),
P67(67),
P68(68),
P69(69),
P70(70),
P71(71),
P72(72),
P73(73),
P74(74),
P75(75),
P76(76),
P77(77),
P78(78),
P79(79),
P80(80),
P81(81),
P82(82),
P83(83),
P84(84),
P85(85),
P86(86),
P87(87),
P88(88),
P89(89),
P90(90),
P91(91),
P92(92),
P93(93),
P94(94),
P95(95),
P96(96),
P97(97),
P98(98),
P99(99),
P100(100);
private final int value;
private PriorityEnum(int value) {
this.value = value;
}
public int getValue() {
return value;
}
public static PriorityEnum getConstantByValue(int value) throws ConstantNotFoundException {
for (PriorityEnum e : values()) {
if (e.getValue() == value) {
return e;
}
}
throw new ConstantNotFoundException("Enum value not found by value " + value);
}
}