project35.soa.alerts
Class EditFieldMatchingCriterion

java.lang.Object
  extended by project35.soa.alerts.MatchingCriterion
      extended by project35.soa.alerts.EditFieldMatchingCriterion

public class EditFieldMatchingCriterion
extends MatchingCriterion

represents a matching criterion for an edit field. Each edit field matching criterion has three main properties:


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Constructor Summary
EditFieldMatchingCriterion()
           
 
Method Summary
 java.lang.String getComparedValue()
          Get the value of comparedValue.
 java.lang.String getDescription()
           
 FieldOperator getOperator()
          Get the value of operator.
 boolean matches(DataFieldModel dataFieldModel)
          assumes operator has been set
 void setComparedValue(java.lang.String comparedValue)
          Set the value of comparedValue.
 void setOperator(FieldOperator operator)
          Set the value of operator.
 
Methods inherited from class project35.soa.alerts.MatchingCriterion
getFieldName, setFieldName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditFieldMatchingCriterion

public EditFieldMatchingCriterion()
Method Detail

getOperator

public FieldOperator getOperator()
Get the value of operator.

Returns:
value of operator.

getComparedValue

public java.lang.String getComparedValue()
Get the value of comparedValue.

Returns:
value of comparedValue.

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class MatchingCriterion

matches

public boolean matches(DataFieldModel dataFieldModel)
assumes operator has been set

Specified by:
matches in class MatchingCriterion

setComparedValue

public void setComparedValue(java.lang.String comparedValue)
Set the value of comparedValue.

Parameters:
comparedValue - Value to assign to comparedValue.

setOperator

public void setOperator(FieldOperator operator)
Set the value of operator.

Parameters:
operator - Value to assign to operator.