|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDLV.OutputDescriptorItem
Each OutputDescriptorItem instance allows to specify how to build a specified Predicate object during DLV output handling process.
This is an abstrct class, you can only build derived classes associated with a given storage device.
For example:
- if you use an ODIFilePredicate data will be stored in text file handled by a FilePredicate obejct.
- if you use an ODIJDBCPredicate data will be stored in a realtional database table handled by a JDBCPredicate object.
- if you use an ODIPredicate data will be stored in memory handled by a Predicate object.
This allows to deal with DLV output by using Predicates interface without directcly deal with storage devices.
Constructor Summary | |
OutputDescriptorItem()
|
Method Summary | |
abstract Predicate |
buildPredicate(java.lang.String name,
int arity,
Model m,
int modelNumber)
|
abstract void |
flushAndClean()
|
boolean |
getReplace()
Gets the replace option flag value. |
boolean |
multipleModelAllowed()
Returns true if this OutputDescriptorItem supports multiple model generation, false otherwise. |
void |
setReplace(boolean replace)
Sets the replace option flag value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OutputDescriptorItem()
Method Detail |
public boolean getReplace()
public void setReplace(boolean replace)
public boolean multipleModelAllowed()
OutputDescriptorItem
public abstract Predicate buildPredicate(java.lang.String name, int arity, Model m, int modelNumber)
public abstract void flushAndClean()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |