com.im.df.api.ddl
Interface DFQuery
- All Superinterfaces:
- DFItem, DFUserItem, PropertiesEditingConfigurable
public interface DFQuery
- extends DFUserItem
Persistent query definition in the system.
PROP_EXPRESSION
static final String PROP_EXPRESSION
- See Also:
- Constant Field Values
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,
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.
- Specified by:
getHandle in interface DFItem
- Returns:
- The handle to the DFItem.