Enum EDISyntaxRule.Type

java.lang.Object
java.lang.Enum<EDISyntaxRule.Type>
io.xlate.edi.schema.EDISyntaxRule.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EDISyntaxRule.Type>, java.lang.constant.Constable
Enclosing interface:
EDISyntaxRule

public static enum EDISyntaxRule.Type
extends java.lang.Enum<EDISyntaxRule.Type>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    CONDITIONAL
    X12: Type C EDIFACT: (D5) If first, then all
    EXCLUSION
    X12: Type E EDIFACT: (D4) One or none
    FIRSTONLY
    X12: N/A EDIFACT: (D7) If first, then none of the others
    LIST
    X12: Type L EDIFACT: (D6) If first, then at least one more
    PAIRED
    X12: Type P EDIFACT: (D2) All or none
    REQUIRED
    X12: Type R EDIFACT: (D3) One or more
    SINGLE
    X12: N/A EDIFACT: (D1) One and only one
  • Method Summary

    Modifier and Type Method Description
    static EDISyntaxRule.Type valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static EDISyntaxRule.Type[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static EDISyntaxRule.Type[] 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 EDISyntaxRule.Type 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