Class DescriptorTypeProvider.EnumValueDef

  • Enclosing class:
    DescriptorTypeProvider

    protected abstract static class DescriptorTypeProvider.EnumValueDef
    extends java.lang.Object
    Value object for an enum name() and value().
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected EnumValueDef()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract java.lang.String name()
      The simple name of the enum value within a containing enum TypeDef.
      java.lang.String toString()  
      abstract int value()
      The numeric value of the enum value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EnumValueDef

        protected EnumValueDef()
    • Method Detail

      • name

        public abstract java.lang.String name()
        The simple name of the enum value within a containing enum TypeDef.
      • value

        public abstract int value()
        The numeric value of the enum value.
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object