|
SRJRCFrames v0.1.296 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.schwarzrot.data.access.support.AbstractConditionElement
public abstract class AbstractConditionElement
abstract helper class for convenience of creation of ConditionElement
s.
| Field Summary | |
|---|---|
protected static ConverterFactory |
cnvFactory
|
protected static String |
EMPTY_STRING
|
| Constructor Summary | |
|---|---|
AbstractConditionElement()
default constructor for automated building |
|
AbstractConditionElement(String name,
Object value)
constructor for manual setup, so both instance variables could be set |
|
| 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 |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.schwarzrot.data.access.support.ConditionElement |
|---|
getOpenOperator |
| Field Detail |
|---|
protected static final String EMPTY_STRING
protected static ConverterFactory cnvFactory
| Constructor Detail |
|---|
public AbstractConditionElement()
public AbstractConditionElement(String name,
Object value)
name - the property name of this conditionvalue - the value for this condition| Method Detail |
|---|
public String format(EntityDescriptor ed,
DbUtil du)
ConditionElement
format in interface ConditionElemented - - type of involved entitydu - - the involved utility instance
public String format(EntityDescriptor ed,
PropertyInfo pi,
DbUtil du,
Object physValue)
ConditionElement
format in interface ConditionElemented - - the type of the involved entitypi - - the description of the propertydu - - the involved utility instancephysValue - - the physical values bound to this condition
public String getCloseOperator()
ConditionElement
getCloseOperator in interface ConditionElementConditionElement.getOpenOperator()public final String getName()
ConditionElement
getName in interface ConditionElementpublic String getSeparator()
ConditionElement
getSeparator in interface ConditionElementpublic Object getValue()
ConditionElement
getValue in interface ConditionElementpublic final void setName(String name)
ConditionElement
setName in interface ConditionElementname - a property namepublic final void setValue(Object value)
ConditionElement
setValue in interface ConditionElementvalue - - 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 | |||||||||