| java.lang.Object org.mdarad.framework.expr.Operator
Operator | public class Operator implements Serializable,ResourceMapped(Code) | | This class represents a criterion operator. It is used with the
Criterion class.
author: Philippe Brouillette version: 1.0 since: 1.4 |
Operator | public Operator(String key, OperatorType type, String bundleName, Locale locale)(Code) | | Constructor that takes all the argument to get a resources
bundle
Parameters: key - key of the resource Parameters: type - operator type Parameters: bundleName - resource bundle Parameters: locale - Locale object to get the right language. |
Operator | public Operator(String key, OperatorType type)(Code) | | Constructor that associates the resource key with
an operator type.
Parameters: key - resource key Parameters: type - operator |
getKey | public String getKey()(Code) | | Getter for the resource key of the operator.
resource key of the operator |
getResource | public String getResource(String bundleName, Locale locale)(Code) | | Method that returns the resource from the bundle name
Parameters: bundleName - resource bundle name Parameters: locale - objet locale informations resource from the bundle associated with the key |
getResource | public String getResource()(Code) | | Method that returns the resource from the bundle
resource as a string |
setKey | public void setKey(String key)(Code) | | Setter for the resource key of the operator.
Parameters: the - resource key of the operator. |
|
|