|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConditionElement
interface to allow generic assembling of a condition. Those conditions are most commonly used to build conditions for SQL data query
Method Summary | |
---|---|
String |
format(EntityDescriptor ed,
DbUtil du)
format the condition text with given parameters |
String |
format(EntityDescriptor ed,
PropertyInfo pi,
DbUtil du,
Object physValue)
format the condition text with the given parameters |
String |
getCloseOperator()
returns the operator, that closes a condition. |
String |
getName()
returns the property name used in the condition |
String |
getOpenOperator()
returns the operator, that opens this condition. |
String |
getSeparator()
returns the separator used to assemble sofisticated conditions. |
Object |
getValue()
returns the value of this condition |
void |
setName(String name)
sets the property name of this condition |
void |
setValue(Object value)
sets the value used by this condition |
Method Detail |
---|
String format(EntityDescriptor ed, DbUtil du)
ed
- - type of involved entitydu
- - the involved utility instance
String format(EntityDescriptor ed, PropertyInfo pi, DbUtil du, Object physValue)
ed
- - the type of the involved entitypi
- - the description of the propertydu
- - the involved utility instancephysValue
- - the physical values bound to this condition
String getCloseOperator()
getOpenOperator()
String getName()
String getOpenOperator()
getCloseOperator()
String getSeparator()
Object getValue()
void setName(String name)
name
- a property namevoid setValue(Object value)
value
- - the raw value to be used by the condition
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |