|
|||||||||
| Home >> All >> org >> javahispano >> canyamo >> services >> [ persistence overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.javahispano.canyamo.services.persistence
Class DbCondition

java.lang.Objectorg.javahispano.canyamo.services.persistence.DbCondition
- public class DbCondition
- extends java.lang.Object
- Version:
| Field Summary | |
static int |
EQUALS
Description of the Field |
static int |
GREATER_THAN
Description of the Field |
static int |
GREATER_THAN_EQUALS
Description of the Field |
static int |
LESS_THAN
Description of the Field |
static int |
LESS_THAN_EQUALS
Description of the Field |
static int |
LIKE
Description of the Field |
static int |
NOT_EQUALS
Description of the Field |
static int |
NOT_LIKE
Description of the Field |
private java.lang.String |
recType
Description of the Field |
private Predicate |
result
Description of the Field |
| Constructor Summary | |
private |
DbCondition(java.lang.String recType,
Predicate predicate)
Constructor for the DbCondition object |
|
DbCondition(java.lang.String recType,
java.lang.String field,
java.lang.String value,
int operator)
Constructor for the Conditions object |
| Method Summary | |
void |
addAndPredicate(java.lang.String field,
java.lang.String value,
int operator)
Adds a feature to the AndPredicate attribute of the Conditions object |
void |
addOrPredicate(java.lang.String field,
java.lang.String value,
int operator)
Adds a feature to the OrPredicate attribute of the Conditions object |
DbCondition |
cloneIt()
Description of the Method |
(package private) Predicate |
getPredicate()
Gets the predicate attribute of the Conditions object |
private Predicate |
getPredicate(java.lang.String field,
java.lang.String value,
int operator)
Gets the predicate attribute of the Condition object |
(package private) java.lang.String |
getType()
Gets the type attribute of the DbCondition object |
java.lang.String |
toString()
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
EQUALS
public static final int EQUALS
- Description of the Field
- See Also:
- Constant Field Values
GREATER_THAN
public static final int GREATER_THAN
- Description of the Field
- See Also:
- Constant Field Values
LESS_THAN
public static final int LESS_THAN
- Description of the Field
- See Also:
- Constant Field Values
LIKE
public static final int LIKE
- Description of the Field
- See Also:
- Constant Field Values
NOT_EQUALS
public static final int NOT_EQUALS
- Description of the Field
- See Also:
- Constant Field Values
LESS_THAN_EQUALS
public static final int LESS_THAN_EQUALS
- Description of the Field
- See Also:
- Constant Field Values
GREATER_THAN_EQUALS
public static final int GREATER_THAN_EQUALS
- Description of the Field
- See Also:
- Constant Field Values
NOT_LIKE
public static final int NOT_LIKE
- Description of the Field
- See Also:
- Constant Field Values
result
private Predicate result
- Description of the Field
recType
private java.lang.String recType
- Description of the Field
| Constructor Detail |
DbCondition
public DbCondition(java.lang.String recType, java.lang.String field, java.lang.String value, int operator)
- Constructor for the Conditions object
DbCondition
private DbCondition(java.lang.String recType, Predicate predicate)
- Constructor for the DbCondition object
| Method Detail |
addAndPredicate
public void addAndPredicate(java.lang.String field, java.lang.String value, int operator)
- Adds a feature to the AndPredicate attribute of the Conditions object
addOrPredicate
public void addOrPredicate(java.lang.String field, java.lang.String value, int operator)
- Adds a feature to the OrPredicate attribute of the Conditions object
toString
public java.lang.String toString()
- Description of the Method
cloneIt
public DbCondition cloneIt()
- Description of the Method
getPredicate
Predicate getPredicate()
- Gets the predicate attribute of the Conditions object
getType
java.lang.String getType()
- Gets the type attribute of the DbCondition object
getPredicate
private Predicate getPredicate(java.lang.String field, java.lang.String value, int operator)
- Gets the predicate attribute of the Condition object
|
|||||||||
| Home >> All >> org >> javahispano >> canyamo >> services >> [ persistence overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.javahispano.canyamo.services.persistence.DbCondition