Enum InterfaceInstanceRenderAs

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<InterfaceInstanceRenderAs>

    public enum InterfaceInstanceRenderAs
    extends java.lang.Enum<InterfaceInstanceRenderAs>
    Enumeration for options renderAs field of InterfaceInstance. This options text will be in XML serialization.
    Since:
    14.0.0
    Version:
    $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
    • Method Detail

      • values

        public static InterfaceInstanceRenderAs[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (InterfaceInstanceRenderAs c : InterfaceInstanceRenderAs.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static InterfaceInstanceRenderAs valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • value

        public int value()
        Generate value for database.
        Returns:
        value for database.
        Since:
        14.0.0
      • fromValue

        public static InterfaceInstanceRenderAs fromValue​(int value)
        Returns Enumeration for value from database.
        Parameters:
        value - value from database.
        Returns:
        Enumeration for value from database.
        Since:
        14.0.0