project35.soa.alerts
Class MatchingCriteria
java.lang.Object
project35.soa.alerts.MatchingCriteria
public class MatchingCriteria
- extends java.lang.Object
a collection of field matching criteria. MatchingCriteria
will have a combination of edit field matching criteria that
compare a field value; and list field matching criteria that
compare the number of list children to some number
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
matchingCriteria
protected java.util.ArrayList matchingCriteria
recordClassContext
protected java.lang.String recordClassContext
MatchingCriteria
public MatchingCriteria()
getCriteria
public java.util.ArrayList getCriteria()
- returns a collection of field matching criteria
matches
public boolean matches(RecordModel recordModel)
- determines whether a given RecordModel instance matches
the criteria
- Parameters:
recordModel
- a record model
getRecordClassContext
public java.lang.String getRecordClassContext()
addMatchingCriterion
public void addMatchingCriterion(MatchingCriterion criterion)
removeMatchingCriterion
public void removeMatchingCriterion(MatchingCriterion criterion)
removeMatchingCriterion
public void removeMatchingCriterion(int index)
setRecordClassContext
public void setRecordClassContext(java.lang.String recordClassContext)
clear
public void clear()