java.lang.Object
java.lang.Enum<AnyField>
org.wildfly.clustering.marshalling.protostream.AnyField
All Implemented Interfaces:
Serializable, Comparable<AnyField>, Field<Object>

public enum AnyField extends Enum<AnyField> implements Field<Object>
A set of fields used by AnyMarshaller.
Author:
Paul Ferraro
  • Enum Constant Details

    • ANY

      public static final AnyField ANY
    • REFERENCE

      public static final AnyField REFERENCE
    • BOOLEAN

      public static final AnyField BOOLEAN
    • BYTE

      public static final AnyField BYTE
    • SHORT

      public static final AnyField SHORT
    • INTEGER

      public static final AnyField INTEGER
    • LONG

      public static final AnyField LONG
    • FLOAT

      public static final AnyField FLOAT
    • DOUBLE

      public static final AnyField DOUBLE
    • CHARACTER

      public static final AnyField CHARACTER
    • STRING

      public static final AnyField STRING
    • IDENTIFIED_OBJECT

      public static final AnyField IDENTIFIED_OBJECT
    • IDENTIFIED_ENUM

      public static final AnyField IDENTIFIED_ENUM
    • IDENTIFIED_ARRAY

      public static final AnyField IDENTIFIED_ARRAY
    • FIELD_ARRAY

      public static final AnyField FIELD_ARRAY
    • NAMED_OBJECT

      public static final AnyField NAMED_OBJECT
    • NAMED_ENUM

      public static final AnyField NAMED_ENUM
    • NAMED_ARRAY

      public static final AnyField NAMED_ARRAY
    • BOOLEAN_ARRAY

      public static final AnyField BOOLEAN_ARRAY
    • BYTE_ARRAY

      public static final AnyField BYTE_ARRAY
    • SHORT_ARRAY

      public static final AnyField SHORT_ARRAY
    • INTEGER_ARRAY

      public static final AnyField INTEGER_ARRAY
    • LONG_ARRAY

      public static final AnyField LONG_ARRAY
    • FLOAT_ARRAY

      public static final AnyField FLOAT_ARRAY
    • DOUBLE_ARRAY

      public static final AnyField DOUBLE_ARRAY
    • CHAR_ARRAY

      public static final AnyField CHAR_ARRAY
    • ANY_ARRAY

      public static final AnyField ANY_ARRAY
    • PROXY

      public static final AnyField PROXY
  • Method Details

    • values

      public static AnyField[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AnyField valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getIndex

      public int getIndex()
      Description copied from interface: Field
      Returns the index of this field.
      Specified by:
      getIndex in interface Field<Object>
      Returns:
      the index of this field.
    • getMarshaller

      public FieldMarshaller<Object> getMarshaller()
      Description copied from interface: Field
      Returns the marshaller for this field.
      Specified by:
      getMarshaller in interface Field<Object>
      Returns:
      the marshaller for this field.