ubiware.core.visualizer
Enum VisualizerPrototypeForm.BeliefSearchType

java.lang.Object
  extended by java.lang.Enum<VisualizerPrototypeForm.BeliefSearchType>
      extended by ubiware.core.visualizer.VisualizerPrototypeForm.BeliefSearchType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VisualizerPrototypeForm.BeliefSearchType>
Enclosing class:
VisualizerPrototypeForm

public static enum VisualizerPrototypeForm.BeliefSearchType
extends java.lang.Enum<VisualizerPrototypeForm.BeliefSearchType>

A collection of possible search types that a user can make. The are used for the semantic event VisualizerPrototypeForm.search_requested(ubiware.core.visualizer.VisualizerPrototypeForm.BeliefSearchArguments, ubiware.core.visualizer.VisualizerPrototypeForm.BeliefSearchType). Each search type is related to a VisualizerPrototypeForm.BeliefSearchArguments structure which is specific to the arguments each search type accepts/requires.


Enum Constant Summary
Advanced
          A set of various criteria which can be combined in many ways.
SimpleTextualMatch
          Simple check for the occurence of a string.
 
Method Summary
 java.lang.String getShortTitle()
           SimpleTextualMatch -> "Simple Textual"
 java.lang.String toString()
          Returns the result of getShortTitle().
static VisualizerPrototypeForm.BeliefSearchType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VisualizerPrototypeForm.BeliefSearchType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SimpleTextualMatch

public static final VisualizerPrototypeForm.BeliefSearchType SimpleTextualMatch
Simple check for the occurence of a string. Arguments structure: VisualizerPrototypeForm.SimpleTextualMatchBeliefSearchArguments.


Advanced

public static final VisualizerPrototypeForm.BeliefSearchType Advanced
A set of various criteria which can be combined in many ways. Arguments structure: VisualizerPrototypeForm.AdvancedBeliefSearchArguments.

Method Detail

values

public static VisualizerPrototypeForm.BeliefSearchType[] 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 (VisualizerPrototypeForm.BeliefSearchType c : VisualizerPrototypeForm.BeliefSearchType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VisualizerPrototypeForm.BeliefSearchType 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

toString

public java.lang.String toString()
Returns the result of getShortTitle().

Overrides:
toString in class java.lang.Enum<VisualizerPrototypeForm.BeliefSearchType>
Returns:
getShortTitle();

getShortTitle

public java.lang.String getShortTitle()

Returns:
the short title for this matching method