Enum PositionStatus

java.lang.Object
java.lang.Enum<PositionStatus>
org.dishevelled.bio.protein.uniprot.PositionStatus
All Implemented Interfaces:
Serializable, Comparable<PositionStatus>, java.lang.constant.Constable

public enum PositionStatus extends Enum<PositionStatus>
Position status.
Since:
2.5
Author:
Michael Heuer
  • Enum Constant Details

    • CERTAIN

      public static final PositionStatus CERTAIN
      Certain position status, =.
    • UNCERTAIN

      public static final PositionStatus UNCERTAIN
      Uncertain position status, ~.
    • LESS_THAN

      public static final PositionStatus LESS_THAN
      Less than position status, <.
    • GREATER_THAN

      public static final PositionStatus GREATER_THAN
      Greater than position status, >.
    • UNKNOWN

      public static final PositionStatus UNKNOWN
      Unknown position status, ?.
  • Method Details

    • values

      public static PositionStatus[] 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 PositionStatus 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
    • getSymbol

      public String getSymbol()
      Return the symbol for this position status.
      Returns:
      the symbol for this position status
    • getDescription

      public String getDescription()
      Return the description for this position status.
      Returns:
      the description for this position status
    • fromSymbol

      public static PositionStatus fromSymbol(String symbol)
      Return the position status with the specified symbol.
      Parameters:
      symbol - symbol, must not be null
      Returns:
      the position status with the specified symbol
    • fromDescription

      public static PositionStatus fromDescription(String description)
      Return the position status with the specified description.
      Parameters:
      description - description, must not be null
      Returns:
      the position status with the specified description