Enum BipolarSemantics

java.lang.Object
java.lang.Enum<BipolarSemantics>
org.tweetyproject.web.services.bipolar.BipolarSemantics
All Implemented Interfaces:
Serializable, Comparable<BipolarSemantics>, Constable

public enum BipolarSemantics extends Enum<BipolarSemantics>
An enumeration of all available semantics through the web service.
Author:
Oleksandr Dzhychko
  • Enum Constant Details

  • Field Details

    • id

      public String id
      id
    • label

      public String label
      label
    • type

      public Support.Type type
      What type of input is expected for this semantic.
  • Method Details

    • values

      public static BipolarSemantics[] 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 BipolarSemantics 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
    • getSemantics

      public static BipolarSemantics getSemantics(String id)
      Looks up a semantics entry by its identifier.
      Parameters:
      id - the string identifier
      Returns:
      the semantics