Enum Class PVSValueFormatAndFields

java.lang.Object
java.lang.Enum<PVSValueFormatAndFields>
com.kingsrook.qqq.backend.core.model.metadata.possiblevalues.PVSValueFormatAndFields
All Implemented Interfaces:
Serializable, Comparable<PVSValueFormatAndFields>, Constable

public enum PVSValueFormatAndFields extends Enum<PVSValueFormatAndFields>
Define some standard ways to format the value portion of a PossibleValueSource. Can be passed to short-cut {set,with}ValueFormatAndFields methods in QPossibleValueSource class, or the format invalid input: '&' field properties can be extracted and passed to regular field-level setters.
  • Enum Constant Details

  • Method Details

    • values

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

      public static PVSValueFormatAndFields valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getFormat

      public String getFormat()
      Getter for format
    • getFields

      public List<String> getFields()
      Getter for fields