jhomenet.commons.responsive.converter
Enum ResponsiveStringConverter.Identifiers

java.lang.Object
  extended by java.lang.Enum<ResponsiveStringConverter.Identifiers>
      extended by jhomenet.commons.responsive.converter.ResponsiveStringConverter.Identifiers
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ResponsiveStringConverter.Identifiers>
Enclosing interface:
ResponsiveStringConverter

public static enum ResponsiveStringConverter.Identifiers
extends java.lang.Enum<ResponsiveStringConverter.Identifiers>

Known sensor responsive string based converter identifiers.


Enum Constant Summary
CONDITION
          Condition identifier
CONDITION_START
          Condition start operator
CONDITION_STOP
          Condition stop operator
EXPRESSION_DESC
           
HW_ADDR_REF
          Hardware address reference
IO_CHANNEL
          Hardware I/O channel
NAME
          Condition name identifier
OPERATOR_CONTEXT_CLASS
           
TEST_OPERATOR
          Test operator descriptor
TEST_STATE
          Test state descriptor
TEST_VALUE
          Test value descriptor
TYPE
          Condition type
 
Method Summary
 boolean equals(java.lang.String input)
          Check whether an input string equals the descriptor options.
 java.lang.String getIdentifier()
           
 int length()
           
 java.lang.String toString()
           
static ResponsiveStringConverter.Identifiers valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ResponsiveStringConverter.Identifiers[] 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

EXPRESSION_DESC

public static final ResponsiveStringConverter.Identifiers EXPRESSION_DESC

OPERATOR_CONTEXT_CLASS

public static final ResponsiveStringConverter.Identifiers OPERATOR_CONTEXT_CLASS

CONDITION

public static final ResponsiveStringConverter.Identifiers CONDITION
Condition identifier


NAME

public static final ResponsiveStringConverter.Identifiers NAME
Condition name identifier


HW_ADDR_REF

public static final ResponsiveStringConverter.Identifiers HW_ADDR_REF
Hardware address reference


IO_CHANNEL

public static final ResponsiveStringConverter.Identifiers IO_CHANNEL
Hardware I/O channel


TYPE

public static final ResponsiveStringConverter.Identifiers TYPE
Condition type


TEST_STATE

public static final ResponsiveStringConverter.Identifiers TEST_STATE
Test state descriptor


TEST_VALUE

public static final ResponsiveStringConverter.Identifiers TEST_VALUE
Test value descriptor


TEST_OPERATOR

public static final ResponsiveStringConverter.Identifiers TEST_OPERATOR
Test operator descriptor


CONDITION_START

public static final ResponsiveStringConverter.Identifiers CONDITION_START
Condition start operator


CONDITION_STOP

public static final ResponsiveStringConverter.Identifiers CONDITION_STOP
Condition stop operator

Method Detail

values

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

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

valueOf

public static ResponsiveStringConverter.Identifiers 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

getIdentifier

public java.lang.String getIdentifier()
Returns:

length

public int length()
Returns:

equals

public boolean equals(java.lang.String input)
Check whether an input string equals the descriptor options.

Parameters:
input -
Returns:
Whether the two inputs are equal

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ResponsiveStringConverter.Identifiers>
See Also:
Object.toString()


Copyright © 2004-2007 David Irwin. All Rights Reserved.