Package com.im.df.api.ddl
Interface DFQuery
-
- All Superinterfaces:
DFItem
,DFUserItem
,PropertiesEditingConfigurable
public interface DFQuery extends DFUserItem
Persistent query definition in the system.- Author:
- Petr Hamernik
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.im.df.api.ddl.DFItem
DFItem.Handle<T extends DFItem>
-
Nested classes/interfaces inherited from interface com.im.df.api.support.PropertiesEditingConfigurable
PropertiesEditingConfigurable.Extra
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROP_EXPRESSION
-
Fields inherited from interface com.im.df.api.ddl.DFItem
PROP_CAPABILITIES, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_TYPE, PROP_VALID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DFDataTree
getDataTree()
Get the owner datatree.DFTermExpression
getExpression()
Get the current expression of this queryDFItem.Handle<DFQuery>
getHandle()
Returns a handle to the Item.void
setExpression(DFTermExpression expression, com.im.commons.progress.DFEnvironmentRW env)
Set new expression value.-
Methods inherited from interface com.im.df.api.ddl.DFItem
addPropertyChangeListener, getCapabilities, getDescription, getId, getName, getType, isValid, removePropertyChangeListener, setDescription, setName
-
Methods inherited from interface com.im.df.api.support.PropertiesEditingConfigurable
isPropertyEditable
-
-
-
-
Field Detail
-
PROP_EXPRESSION
static final java.lang.String PROP_EXPRESSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDataTree
DFDataTree getDataTree()
Get the owner datatree.- Returns:
- Datatree which this query belongs to
-
getExpression
DFTermExpression getExpression()
Get the current expression of this query- Returns:
- The expression
-
setExpression
void setExpression(DFTermExpression expression, com.im.commons.progress.DFEnvironmentRW env)
Set new expression value.- Parameters:
expression
- New expression to be storedenv
- Environment with the appropriate lock
-
getHandle
DFItem.Handle<DFQuery> getHandle()
Description copied from interface:DFItem
Returns a handle to the Item. The handle uniquely identifies the Item, even though the schema data may be copied or otherwise replicated. Use the Handle instead of DFItem.getId() when registering an Item in collections that extend beyond the DFItem's parent Schema.
-
-