

Public Member Functions | |
| FilterImpl () | |
| FilterImpl (String newProperty, String newOperator, String newValue) | |
| FilterImpl (String newProperty, String newOperator, String newValue, boolean multiplePercentAllowed) | |
| String | getProperty () |
| void | setProperty (String newProperty) |
| String | getOperator () |
| void | setOperator (String newOperator) |
| String | getValue () |
| void | setValue (String newValue) |
| boolean | equals (Object ref) |
| int | hashCode () |
| String | toString () |
| boolean | isBoolean () |
| boolean | isInteger () |
| boolean | isDouble () |
| boolean | isLong () |
| boolean | isFloat () |
| boolean | isShort () |
| boolean | isNumeric () |
| boolean | isString () |
| boolean | isByte () |
| void | validate () throws LaserException |
Static Public Member Functions | |
| static final String[] | operators () |
| static final String[] | properties () |
Private Attributes | |
| String | property |
| String | operator |
| String | value |
| boolean | multiplePercentAllowed |
Static Private Attributes | |
| static final String | GREATER_THAN_OPERATOR = ">" |
| static final String | LESS_THAN_OPERATOR = "<" |
| static final String | GREATER_EQUAL_THAN_OPERATOR = ">=" |
| static final String | LESS_EQUAL_THAN_OPERATOR = "<=" |
| static final String | EQUAL_OPERATOR = "=" |
| static final String | NOT_EQUAL_OPERATOR = "<>" |
| static final String | LIKE_OPERATOR = "LIKE" |
| static final String | privateOperators [] |
| static final String | ALARM_ID_PROPERTY = "ALARM_ID" |
| static final String | FAULT_FAMILY_PROPERTY = "FAULT_FAMILY" |
| static final String | FAULT_MEMBER_PROPERTY = "FAULT_MEMBER" |
| static final String | FAULT_CODE_PROPERTY = "FAULT_CODE" |
| static final String | PROBLEM_DESCRIPTION_PROPERTY = "PROBLEM_DESCRIPTION" |
| static final String | SITE_PROPERTY = "SITE" |
| static final String | BUILDING_PROPERTY = "BUILDING" |
| static final String | PRIORITY_PROPERTY = "PRIORITY" |
| static final String | SOURCE_NAME_PROPERTY = "SOURCE_NAME" |
| static final String | SAFETY_ZONE_PROPERTY = "SAFETY_ZONE" |
| static final String | RESPONSIBLE_PERSON_PROPERTY = "RESPONSIBLE_PERSON" |
| static final String | SYSTEM_NAME_PROPERTY = "SYSTEM_NAME" |
| static final String | IDENTIFIER_PROPERTY = "IDENTIFIER" |
| static final String | privateProperties [] |
| static final String | BOOLEAN_SUFFIX = "_BOOL" |
| static final String | INTEGER_SUFFIX = "_INT" |
| static final String | FLOAT_SUFFIX = "_FLOAT" |
| static final String | DOUBLE_SUFFIX = "_DOUBLE" |
| static final String | SHORT_SUFFIX = "_SHORT" |
| static final String | LONG_SUFFIX = "_LONG" |
| static final String | STRING_SUFFIX = "_STRING" |
| static final String | BYTE_SUFFIX = "_BYTE" |
| static final String | integerProperties [] |
| static final String | stringProperties [] |
| static final String | numericOperators [] |
| static final String | literalOperators [] = { EQUAL_OPERATOR, NOT_EQUAL_OPERATOR, LIKE_OPERATOR} |
| static final String | booleanOperators [] = { EQUAL_OPERATOR, NOT_EQUAL_OPERATOR,} |
| static final String | byteOperators [] = { EQUAL_OPERATOR, NOT_EQUAL_OPERATOR,} |
| cern::laser::client::impl::services::selection::FilterImpl::FilterImpl | ( | ) | [inline] |
| cern::laser::client::impl::services::selection::FilterImpl::FilterImpl | ( | String | newProperty, | |
| String | newOperator, | |||
| String | newValue | |||
| ) | [inline] |
| cern::laser::client::impl::services::selection::FilterImpl::FilterImpl | ( | String | newProperty, | |
| String | newOperator, | |||
| String | newValue, | |||
| boolean | multiplePercentAllowed | |||
| ) | [inline] |
References value.
| boolean cern::laser::client::impl::services::selection::FilterImpl::equals | ( | Object | ref | ) | [inline] |
References toString().
Referenced by validate().
| String cern::laser::client::impl::services::selection::FilterImpl::getOperator | ( | ) | [inline, virtual] |
Accessor method.
Implements cern::laser::client::services::selection::Filter.
Referenced by cern::laser::client::impl::services::selection::FilterSelectionImpl::toSQLString().
| String cern::laser::client::impl::services::selection::FilterImpl::getProperty | ( | ) | [inline, virtual] |
Accessor method.
Implements cern::laser::client::services::selection::Filter.
References property.
Referenced by cern::laser::client::impl::services::selection::FilterSelectionImpl::toSQLString().
| String cern::laser::client::impl::services::selection::FilterImpl::getValue | ( | ) | [inline, virtual] |
Accessor method.
Implements cern::laser::client::services::selection::Filter.
References value.
Referenced by cern::laser::client::impl::services::selection::FilterSelectionImpl::toSQLString().
| int cern::laser::client::impl::services::selection::FilterImpl::hashCode | ( | ) | [inline] |
References toString().
| boolean cern::laser::client::impl::services::selection::FilterImpl::isBoolean | ( | ) | [inline] |
References BOOLEAN_SUFFIX, and property.
Referenced by isString(), and validate().
| boolean cern::laser::client::impl::services::selection::FilterImpl::isByte | ( | ) | [inline] |
References BYTE_SUFFIX, and property.
Referenced by isString(), and validate().
| boolean cern::laser::client::impl::services::selection::FilterImpl::isDouble | ( | ) | [inline] |
References DOUBLE_SUFFIX, and property.
Referenced by isNumeric(), and validate().
| boolean cern::laser::client::impl::services::selection::FilterImpl::isFloat | ( | ) | [inline] |
References FLOAT_SUFFIX, and property.
Referenced by isNumeric(), and validate().
| boolean cern::laser::client::impl::services::selection::FilterImpl::isInteger | ( | ) | [inline] |
References INTEGER_SUFFIX, integerProperties, and property.
Referenced by isNumeric(), and validate().
| boolean cern::laser::client::impl::services::selection::FilterImpl::isLong | ( | ) | [inline] |
References LONG_SUFFIX, and property.
Referenced by isNumeric(), and validate().
| boolean cern::laser::client::impl::services::selection::FilterImpl::isNumeric | ( | ) | [inline] |
References isDouble(), isFloat(), isInteger(), isLong(), isShort(), and property.
Referenced by isString(), and validate().
| boolean cern::laser::client::impl::services::selection::FilterImpl::isShort | ( | ) | [inline] |
References property, and SHORT_SUFFIX.
Referenced by isNumeric(), and validate().
| boolean cern::laser::client::impl::services::selection::FilterImpl::isString | ( | ) | [inline] |
References isBoolean(), isByte(), isNumeric(), and property.
Referenced by cern::laser::client::impl::services::selection::FilterSelectionImpl::toSQLString().
| static final String [] cern::laser::client::impl::services::selection::FilterImpl::operators | ( | ) | [inline, static] |
References privateOperators.
| static final String [] cern::laser::client::impl::services::selection::FilterImpl::properties | ( | ) | [inline, static] |
References privateProperties.
| void cern::laser::client::impl::services::selection::FilterImpl::setOperator | ( | String | newOperator | ) | [inline, virtual] |
Accessor method.
| newOperator | Accessor method. |
Implements cern::laser::client::services::selection::Filter.
| void cern::laser::client::impl::services::selection::FilterImpl::setProperty | ( | String | newProperty | ) | [inline, virtual] |
Accessor method.
| newProperty | the alarm property to filter against |
Implements cern::laser::client::services::selection::Filter.
| void cern::laser::client::impl::services::selection::FilterImpl::setValue | ( | String | newValue | ) | [inline, virtual] |
Accessor method.
| newValue | the value to filter |
Implements cern::laser::client::services::selection::Filter.
References value.
| String cern::laser::client::impl::services::selection::FilterImpl::toString | ( | ) | [inline] |
References property, and value.
Referenced by equals(), and hashCode().
| void cern::laser::client::impl::services::selection::FilterImpl::validate | ( | ) | throws LaserException [inline, virtual] |
Validation method.
| LaserException | if the filter is not valid |
Implements cern::laser::client::services::selection::Filter.
References byteOperators, equals(), isBoolean(), isByte(), isDouble(), isFloat(), isInteger(), isLong(), isNumeric(), isShort(), LIKE_OPERATOR, literalOperators, multiplePercentAllowed, numericOperators, privateOperators, property, and value.
final String cern::laser::client::impl::services::selection::FilterImpl::ALARM_ID_PROPERTY = "ALARM_ID" [static, private] |
Predefined numeric property.
final String cern::laser::client::impl::services::selection::FilterImpl::BOOLEAN_SUFFIX = "_BOOL" [static, private] |
Referenced by isBoolean().
final String cern::laser::client::impl::services::selection::FilterImpl::booleanOperators[] = { EQUAL_OPERATOR, NOT_EQUAL_OPERATOR,} [static, private] |
The predefined boolean privateOperators array.
final String cern::laser::client::impl::services::selection::FilterImpl::BUILDING_PROPERTY = "BUILDING" [static, private] |
Predefined numeric property.
final String cern::laser::client::impl::services::selection::FilterImpl::BYTE_SUFFIX = "_BYTE" [static, private] |
Referenced by isByte().
final String cern::laser::client::impl::services::selection::FilterImpl::byteOperators[] = { EQUAL_OPERATOR, NOT_EQUAL_OPERATOR,} [static, private] |
The predefined byte privateOperators array.
Referenced by validate().
final String cern::laser::client::impl::services::selection::FilterImpl::DOUBLE_SUFFIX = "_DOUBLE" [static, private] |
Referenced by isDouble().
final String cern::laser::client::impl::services::selection::FilterImpl::EQUAL_OPERATOR = "=" [static, private] |
Operator.
final String cern::laser::client::impl::services::selection::FilterImpl::FAULT_CODE_PROPERTY = "FAULT_CODE" [static, private] |
Predefined numeric property.
final String cern::laser::client::impl::services::selection::FilterImpl::FAULT_FAMILY_PROPERTY = "FAULT_FAMILY" [static, private] |
Predefined literal property.
final String cern::laser::client::impl::services::selection::FilterImpl::FAULT_MEMBER_PROPERTY = "FAULT_MEMBER" [static, private] |
Predefined literal property.
final String cern::laser::client::impl::services::selection::FilterImpl::FLOAT_SUFFIX = "_FLOAT" [static, private] |
Referenced by isFloat().
final String cern::laser::client::impl::services::selection::FilterImpl::GREATER_EQUAL_THAN_OPERATOR = ">=" [static, private] |
Operator.
final String cern::laser::client::impl::services::selection::FilterImpl::GREATER_THAN_OPERATOR = ">" [static, private] |
Operator.
final String cern::laser::client::impl::services::selection::FilterImpl::IDENTIFIER_PROPERTY = "IDENTIFIER" [static, private] |
Predefined literal property.
final String cern::laser::client::impl::services::selection::FilterImpl::INTEGER_SUFFIX = "_INT" [static, private] |
Referenced by isInteger().
final String cern::laser::client::impl::services::selection::FilterImpl::integerProperties[] [static, private] |
Referenced by isInteger().
final String cern::laser::client::impl::services::selection::FilterImpl::LESS_EQUAL_THAN_OPERATOR = "<=" [static, private] |
Operator.
final String cern::laser::client::impl::services::selection::FilterImpl::LESS_THAN_OPERATOR = "<" [static, private] |
Operator.
final String cern::laser::client::impl::services::selection::FilterImpl::LIKE_OPERATOR = "LIKE" [static, private] |
Operator.
Referenced by validate().
final String cern::laser::client::impl::services::selection::FilterImpl::literalOperators[] = { EQUAL_OPERATOR, NOT_EQUAL_OPERATOR, LIKE_OPERATOR} [static, private] |
The predefined literal privateOperators array.
Referenced by validate().
final String cern::laser::client::impl::services::selection::FilterImpl::LONG_SUFFIX = "_LONG" [static, private] |
Referenced by isLong().
boolean cern::laser::client::impl::services::selection::FilterImpl::multiplePercentAllowed [private] |
Referenced by validate().
final String cern::laser::client::impl::services::selection::FilterImpl::NOT_EQUAL_OPERATOR = "<>" [static, private] |
Operator.
final String cern::laser::client::impl::services::selection::FilterImpl::numericOperators[] [static, private] |
{ GREATER_THAN_OPERATOR, LESS_THAN_OPERATOR,
GREATER_EQUAL_THAN_OPERATOR, LESS_EQUAL_THAN_OPERATOR, EQUAL_OPERATOR, NOT_EQUAL_OPERATOR}
The predefined numeric privateOperators array.
Referenced by validate().
String cern::laser::client::impl::services::selection::FilterImpl::operator [private] |
final String cern::laser::client::impl::services::selection::FilterImpl::PRIORITY_PROPERTY = "PRIORITY" [static, private] |
Predefined numeric property.
final String cern::laser::client::impl::services::selection::FilterImpl::privateOperators[] [static, private] |
{ GREATER_THAN_OPERATOR, LESS_THAN_OPERATOR,
GREATER_EQUAL_THAN_OPERATOR, LESS_EQUAL_THAN_OPERATOR, EQUAL_OPERATOR, NOT_EQUAL_OPERATOR, LIKE_OPERATOR}
The predefined privateOperators array.
Referenced by operators(), and validate().
final String cern::laser::client::impl::services::selection::FilterImpl::privateProperties[] [static, private] |
{ ALARM_ID_PROPERTY, FAULT_FAMILY_PROPERTY, FAULT_MEMBER_PROPERTY,
FAULT_CODE_PROPERTY, PROBLEM_DESCRIPTION_PROPERTY, SITE_PROPERTY, BUILDING_PROPERTY, PRIORITY_PROPERTY,
SOURCE_NAME_PROPERTY, SAFETY_ZONE_PROPERTY, RESPONSIBLE_PERSON_PROPERTY, SYSTEM_NAME_PROPERTY,
IDENTIFIER_PROPERTY}
The predefined privateProperties array.
Referenced by properties().
final String cern::laser::client::impl::services::selection::FilterImpl::PROBLEM_DESCRIPTION_PROPERTY = "PROBLEM_DESCRIPTION" [static, private] |
Predefined literal property.
String cern::laser::client::impl::services::selection::FilterImpl::property [private] |
Referenced by getProperty(), isBoolean(), isByte(), isDouble(), isFloat(), isInteger(), isLong(), isNumeric(), isShort(), isString(), toString(), and validate().
final String cern::laser::client::impl::services::selection::FilterImpl::RESPONSIBLE_PERSON_PROPERTY = "RESPONSIBLE_PERSON" [static, private] |
Predefined literal property.
final String cern::laser::client::impl::services::selection::FilterImpl::SAFETY_ZONE_PROPERTY = "SAFETY_ZONE" [static, private] |
Predefined numeric property.
final String cern::laser::client::impl::services::selection::FilterImpl::SHORT_SUFFIX = "_SHORT" [static, private] |
Referenced by isShort().
final String cern::laser::client::impl::services::selection::FilterImpl::SITE_PROPERTY = "SITE" [static, private] |
Predefined literal property.
final String cern::laser::client::impl::services::selection::FilterImpl::SOURCE_NAME_PROPERTY = "SOURCE_NAME" [static, private] |
Predefined literal property.
final String cern::laser::client::impl::services::selection::FilterImpl::STRING_SUFFIX = "_STRING" [static, private] |
final String cern::laser::client::impl::services::selection::FilterImpl::stringProperties[] [static, private] |
final String cern::laser::client::impl::services::selection::FilterImpl::SYSTEM_NAME_PROPERTY = "SYSTEM_NAME" [static, private] |
Predefined literal property.
String cern::laser::client::impl::services::selection::FilterImpl::value [private] |
Referenced by FilterImpl(), getValue(), setValue(), toString(), and validate().
1.6.2