project35.mda.model
Class DefaultFieldOperatorProvider
java.lang.Object
project35.mda.model.DefaultFieldOperatorProvider
- All Implemented Interfaces:
- FieldOperatorProvider
public class DefaultFieldOperatorProvider
- extends java.lang.Object
- implements FieldOperatorProvider
generates strings that represent the kinds of operators that would
be appropriate for comparing values of a given primitive type such as
string, int, double, etc. - that are defined in FieldDataType.
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 |
DefaultFieldOperatorProvider
public DefaultFieldOperatorProvider()
getDefaultFieldOperator
public java.lang.String getDefaultFieldOperator(FieldDataType fieldDataType)
- Specified by:
getDefaultFieldOperator
in interface FieldOperatorProvider
getFieldOperators
public java.lang.String[] getFieldOperators(FieldDataType fieldDataType)
- Specified by:
getFieldOperators
in interface FieldOperatorProvider
getAllDefaultFieldOperators
public java.lang.String[] getAllDefaultFieldOperators()
- Specified by:
getAllDefaultFieldOperators
in interface FieldOperatorProvider
getAllFieldOperators
public java.lang.String[] getAllFieldOperators()
- Specified by:
getAllFieldOperators
in interface FieldOperatorProvider
getOperatorForPhrase
public FieldOperator getOperatorForPhrase(java.lang.String phrase)
- Specified by:
getOperatorForPhrase
in interface FieldOperatorProvider
getPhraseForOperator
public java.lang.String getPhraseForOperator(FieldOperator fieldOperator)
- Specified by:
getPhraseForOperator
in interface FieldOperatorProvider