Enum WurbletArgumentType

    • Method Detail

      • values

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

        public static WurbletArgumentType 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
      • 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 must be given, 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 must be given, 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