Package 

Interface Enumerable

  • All Implemented Interfaces:
    java.io.Serializable

    
    public interface Enumerable<T extends Serializable>
     implements Serializable
                        

    可枚举的对象。

    此接口拥有两个属性,code用于数据库存储,text用于序列化。

    • Method Summary

      Modifier and Type Method Description
      abstract T getCode() 码值。
      abstract String getText() 文本。
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait