net.shrine.monitor.scanner
Enum ShortHandNotation

java.lang.Object
  extended by java.lang.Enum<ShortHandNotation>
      extended by net.shrine.monitor.scanner.ShortHandNotation
All Implemented Interfaces:
Serializable, Comparable<ShortHandNotation>

public enum ShortHandNotation
extends Enum<ShortHandNotation>

Author:
amcmurry

Enum Constant Summary
def
          New Query Definition
end
          End of File
item
          1...* items per panel
name
          Query alias name TODO not yet supported
panel
          1..* panels per query
year1
          constrain by year "2001 onward" TODO not yet supported
year2
          constrain by year "until 2002" TODO not yet supported
 
Method Summary
static boolean isNotation(String string)
           
static ShortHandNotation parse(String string)
           
 String print()
           
static ShortHandNotation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ShortHandNotation[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

def

public static final ShortHandNotation def
New Query Definition


name

public static final ShortHandNotation name
Query alias name TODO not yet supported


panel

public static final ShortHandNotation panel
1..* panels per query


item

public static final ShortHandNotation item
1...* items per panel


year1

public static final ShortHandNotation year1
constrain by year "2001 onward" TODO not yet supported


year2

public static final ShortHandNotation year2
constrain by year "until 2002" TODO not yet supported


end

public static final ShortHandNotation end
End of File

Method Detail

values

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

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

valueOf

public static ShortHandNotation 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

print

public String print()

isNotation

public static boolean isNotation(String string)

parse

public static ShortHandNotation parse(String string)


Copyright © 2011. All Rights Reserved.