com.flexive.shared.search.query
Class SelectValueNode
java.lang.Object
com.flexive.shared.search.query.QueryNode
com.flexive.shared.search.query.QueryValueNode<FxSelectOne,PropertyValueComparator>
com.flexive.shared.search.query.SelectValueNode
- All Implemented Interfaces:
- java.io.Serializable
public class SelectValueNode
- extends QueryValueNode<FxSelectOne,PropertyValueComparator>
Select node
- Version:
- $Rev: 1992 $
- Author:
- Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)
- See Also:
- Serialized Form
| Methods inherited from class com.flexive.shared.search.query.QueryValueNode |
getAvailableComparators, getComparator, getEmptyValue, getInputMapper, getPropertyInputMapper, getValue, getValueFormatter, getValueForSQL, isReadOnly, isValueNode, isWideInput, setComparator, setInputMapper, setValue, visit |
| Methods inherited from class com.flexive.shared.search.query.QueryNode |
addChild, addChild, addChildAfter, equals, findChild, getChild, getChildren, getId, getLabel, getLevel, getNodeName, getParent, getPath, hashCode, isHidden, removeChild, setChildren, setId, setParent, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SelectValueNode
public SelectValueNode(int id,
FxAssignment assignment,
FxSelectListItem item)
getNodeComparators
public java.util.List<PropertyValueComparator> getNodeComparators()
- Override this method to set the available value comparators of a node instance.
- Specified by:
getNodeComparators in class QueryValueNode<FxSelectOne,PropertyValueComparator>
- Returns:
- all available enum values for this query node.
isValid
public boolean isValid()
- Return true if the node's value is valid, or false if it is not.
- Specified by:
isValid in class QueryNode
- Returns:
- true if the node's value is valid, or false if it is not.
isValidInEnvironment
public boolean isValidInEnvironment()
- Check if this node is (still) valid in the current environment.
- Specified by:
isValidInEnvironment in class QueryValueNode<FxSelectOne,PropertyValueComparator>
- Returns:
- true if the node is still valid, false otherwise
buildSqlQuery
protected void buildSqlQuery(SqlQueryBuilder builder)
- Build the query represented by this node and its children.
- Specified by:
buildSqlQuery in class QueryNode
- Parameters:
builder - an sql query builder