project35.mda.model
Class FieldOperator

java.lang.Object
  extended by project35.mda.model.FieldOperator

public class FieldOperator
extends java.lang.Object

describes a comparison operation. This is used to support the advanced search in Project35


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)

Field Summary
static FieldOperator CONTAINS
           
static FieldOperator EQUALS
           
static FieldOperator GREATER_THAN
           
static FieldOperator GREATER_THAN_EQUALS
           
static FieldOperator LESS_THAN
           
static FieldOperator LESS_THAN_EQUALS
           
static FieldOperator MATCHES_EXPRESSION
           
static FieldOperator NOT_CONTAINS
           
static FieldOperator NOT_EQUALS
           
 
Constructor Summary
FieldOperator()
           
 
Method Summary
static java.lang.String[] getAllOperatorNames()
           
static FieldOperator getOperatorForPhrase(java.lang.String phrase)
           
static java.lang.String getPhraseForOperator(FieldOperator comparator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTAINS

public static final FieldOperator CONTAINS

EQUALS

public static final FieldOperator EQUALS

NOT_EQUALS

public static final FieldOperator NOT_EQUALS

NOT_CONTAINS

public static final FieldOperator NOT_CONTAINS

GREATER_THAN

public static final FieldOperator GREATER_THAN

GREATER_THAN_EQUALS

public static final FieldOperator GREATER_THAN_EQUALS

LESS_THAN

public static final FieldOperator LESS_THAN

LESS_THAN_EQUALS

public static final FieldOperator LESS_THAN_EQUALS

MATCHES_EXPRESSION

public static final FieldOperator MATCHES_EXPRESSION
Constructor Detail

FieldOperator

public FieldOperator()
Method Detail

getPhraseForOperator

public static java.lang.String getPhraseForOperator(FieldOperator comparator)

getAllOperatorNames

public static java.lang.String[] getAllOperatorNames()

getOperatorForPhrase

public static FieldOperator getOperatorForPhrase(java.lang.String phrase)