Package com.im.ijc.core.api.datatransfer
Interface QueryDataTransferObject
-
- All Superinterfaces:
IJCTransferObject
public interface QueryDataTransferObject extends IJCTransferObject
TransferObject (data holder which is put into clipboard) for copy/paste of queries (temporary or permanent).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.im.df.api.ddl.DFDataTree
getDataTree()
Get data tree of the query.com.im.df.api.dml.DFTermExpression
getExpression()
Get the expression of the query in clipboard.java.lang.String
getName()
Get the name of the query in clipboard.boolean
pasteCompleted()
In the case of CUT operation this method removes the original query.-
Methods inherited from interface com.im.ijc.core.api.datatransfer.IJCTransferObject
getSchemas
-
-
-
-
Method Detail
-
getName
java.lang.String getName()
Get the name of the query in clipboard.- Returns:
- the name.
-
getDataTree
com.im.df.api.ddl.DFDataTree getDataTree()
Get data tree of the query.- Returns:
- the data tree.
-
getExpression
com.im.df.api.dml.DFTermExpression getExpression()
Get the expression of the query in clipboard.- Returns:
- the expression.
-
pasteCompleted
boolean pasteCompleted()
In the case of CUT operation this method removes the original query. This method should be invoked by paste type code when paste operation is successful.- Returns:
- true if original transferable should be returned from paste (in case of copy) or false if null should be returned from paste operation (original in clipboard was destroyed, so clipboard should be cleaned).
-
-