public class Operator
extends java.lang.Object
Operator defines the perator used in a query criterion.class| Constructor and Description |
|---|
Operator() |
Operator(java.lang.String name, java.lang.String description)
Constructs an operator object with the specified name and description.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Retrieves the operator description.
|
java.lang.String |
getName()
Retrieves the operator name.
|
Operator |
makeCopy()
Clones an operator object.
|
void |
setDescription(java.lang.String description)
Sets the operator description.
|
void |
setName(java.lang.String name)
Sets the operator name.
|
public Operator()
public Operator(java.lang.String name,
java.lang.String description)
Constructs an operator object with the specified name and description.
name - the name of the operatordescription - the description of the operatorpublic void setName(java.lang.String name)
Sets the operator name.
name - the name of the operatorpublic java.lang.String getName()
public void setDescription(java.lang.String description)
Sets the operator description.
description - the description of the operatorpublic java.lang.String getDescription()
public Operator makeCopy()
Clones an operator object.