Class TypePool.AbstractBase.RawEnumerationValue.LazyEnumerationDescription

    • Constructor Detail

      • LazyEnumerationDescription

        protected LazyEnumerationDescription()
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Returns the name of this instance's enumeration value.
        Returns:
        The name of this enumeration constant.
      • getEnumerationType

        public TypeDescription getEnumerationType()
        Returns the type of this enumeration.
        Returns:
        The type of this enumeration.
      • load

        public <T extends java.lang.Enum<T>> T load​(java.lang.Class<T> type)
        Prepares this enumeration value to be loaded.
        Type Parameters:
        T - The enumeration type.
        Parameters:
        type - A type constant representing the enumeration value.
        Returns:
        The loaded enumeration constant corresponding to this value.