1 /* 2 * jGuild Project: jRPM 3 * Released under the Apache License ( http://www.apache.org/LICENSE ) 4 */ 5 package com.jguild.jrpm.io.constant; 6 7 8 /*** 9 * Interface for all enum objects 10 * 11 * @author kuss 12 */ 13 public interface EnumIf { 14 /*** Global unknown id */ 15 public static final int _UNKNOWN = -1; 16 17 /*** 18 * Get the id of this enum object 19 * 20 * @return The id 21 */ 22 public abstract long getId(); 23 24 /*** 25 * Get the name of this enum object 26 * 27 * @return The name 28 */ 29 public abstract String getName(); 30 }