/** * Get the associated <tt>NumberingPlanIndicator</tt> by it's value. * * @param value is the value. * @return the associated enum const for specified value. * @throws IllegalArgumentException if there is no enum const associated * with specified <tt>value</tt>. */ public static NumberingPlanIndicator valueOf(byte value) throws IllegalArgumentException { for (NumberingPlanIndicator val : values()) { if (val.value == value) return val; } throw new IllegalArgumentException( "No enum const NumberingPlanIndicator with value " + value); } }
/** * Get the associated <tt>NumberingPlanIndicator</tt> by it's value. * * @param value is the value. * @return the associated enum const for specified value. * @throws IllegalArgumentException if there is no enum const associated * with specified <tt>value</tt>. */ public static NumberingPlanIndicator valueOf(byte value) throws IllegalArgumentException { for (NumberingPlanIndicator val : values()) { if (val.value == value) return val; } throw new IllegalArgumentException( "No enum const NumberingPlanIndicator with value " + value); } }
/** * Get the associated <tt>NumberingPlanIndicator</tt> by it's value. * * @param value is the value. * @return the associated enum const for specified value. * @throws IllegalArgumentException if there is no enum const associated * with specified <tt>value</tt>. */ public static NumberingPlanIndicator valueOf(byte value) throws IllegalArgumentException { for (NumberingPlanIndicator val : values()) { if (val.value == value) return val; } throw new IllegalArgumentException( "No enum const NumberingPlanIndicator with value " + value); } }
/** * Get the associated <tt>NumberingPlanIndicator</tt> by it's value. * * @param value is the value. * @return the associated enum const for specified value. * @throws IllegalArgumentException if there is no enum const associated * with specified <tt>value</tt>. */ public static NumberingPlanIndicator valueOf(byte value) throws IllegalArgumentException { for (NumberingPlanIndicator val : values()) { if (val.value == value) return val; } throw new IllegalArgumentException( "No enum const NumberingPlanIndicator with value " + value); } }