Enum DependencyDirection

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

    @OpenApiAll
    public enum DependencyDirection
    extends java.lang.Enum<DependencyDirection>
    Dependency direction. Holds information about some dependency direction
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BOTH
      The both way dependency.
      COLUMN_TO_ROW
      The column to row dependency.
      MULTI
      Multiple dependencies
      NONE
      No dependencies
      ROW_TO_COLUMN
      The row to column dependency
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String mTextRepresentation  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private DependencyDirection​(java.lang.String textRepresentation)  
    • Field Detail

      • mTextRepresentation

        private final java.lang.String mTextRepresentation
    • Constructor Detail

      • DependencyDirection

        private DependencyDirection​(java.lang.String textRepresentation)
    • Method Detail

      • values

        public static DependencyDirection[] 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 (DependencyDirection c : DependencyDirection.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DependencyDirection 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
      • getTextRepresentation

        public java.lang.String getTextRepresentation()
      • valueByRepresentation

        public static DependencyDirection valueByRepresentation​(java.lang.String representationText)
        Get enum value by its representation text
        Parameters:
        representationText - text
        Returns:
        enum value