Enum Class WurbletArgumentType

java.lang.Object
java.lang.Enum<WurbletArgumentType>
org.tentackle.wurblet.WurbletArgumentType
All Implemented Interfaces:
Serializable, Comparable<WurbletArgumentType>, Constable

public enum WurbletArgumentType extends Enum<WurbletArgumentType>
The WurbletArgument type.
Author:
harald
  • Enum Constant Details

  • Method Details

    • values

      public static WurbletArgumentType[] 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 WurbletArgumentType 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
    • isPathOptional

      public boolean isPathOptional()
      Returns whether a Relation path may be given optionally.
      Returns:
      true if optional, false if none or required
    • isPathRequired

      public boolean isPathRequired()
      Returns whether a Relation path is required.
      Returns:
      true if required, false if not allowed or optional
    • isPathAllowed

      public boolean isPathAllowed()
      Returns whether a Relation path is allowed.
      Returns:
      true if optional or required
    • isAttributeOptional

      public boolean isAttributeOptional()
      Returns whether an Attribute may be given optionally.
      Returns:
      true if optional, false if not allowed or required
    • isAttributeRequired

      public boolean isAttributeRequired()
      Returns whether an Attribute is required.
      Returns:
      true if required, false if none or optional
    • isAttributeAllowed

      public boolean isAttributeAllowed()
      Returns whether an Attribute is allowed.
      Returns:
      true if optional or required
    • isNameOptional

      public boolean isNameOptional()
      Returns whether the name of the method argument is optional.
      Returns:
      true if optional, false if not allowed
    • isRelopOptional

      public boolean isRelopOptional()
      Returns whether the relop is optional.
      Returns:
      true if optional, false if not allowed