|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is used to define a high level set of database operations
such as a query, insert, or delete. Conceptually, a Directive has a
DirectiveResult which is populated after the Directive has been processed.
A Directive also has a set of DirectiveCriteria which represent the
data that is necessary to process itself.
Supported API: false
Extendable: false
Field Summary | |
static String |
CRITERIA
Label for the attribute. |
static String |
RESULT
Label for the attribute. |
Method Summary | |
void |
addOperation(Directive directive)
Allows an additional database operation(s) to be added to this Directive
by essentially adding another Directive object. |
DirectiveCriteria[] |
getDirectiveCriteria(DirectiveCriteriaKey key)
Get a DirectiveCriteria array given the input DirectiveCriteriaKey. |
DirectiveResult |
getResult()
Gets the object for the association that plays role: RESULT. |
String[] |
getTypes()
Determines what types are internally stored in the DirectiveCriteria
objects for this Directive, and returns an array of String
objects representing the list of fully qualified class names for those
types. |
void |
putDirectiveCriteria(DirectiveCriteria directiveCriteria,
DirectiveCriteriaKey key)
This method checks for an existing DirectiveCriteria
object that is the same is the input object. |
void |
setResult(DirectiveResult a_Result)
Sets the object for the association that plays role: RESULT. |
Field Detail |
public static final String RESULT
public static final String CRITERIA
Method Detail |
public DirectiveResult getResult()
public void setResult(DirectiveResult a_Result) throws WTPropertyVetoException
a_Result
-
WTPropertyVetoException
public void addOperation(Directive directive) throws WTException
Directive
by essentially adding another Directive
object.
directive
- Represents the database operation or set of database operations that are being added to this Directive
object.
WTException
public String[] getTypes()
DirectiveCriteria
objects for this Directive, and returns an array of String
objects representing the list of fully qualified class names for those
types.
public DirectiveCriteria[] getDirectiveCriteria(DirectiveCriteriaKey key)
key
-
public void putDirectiveCriteria(DirectiveCriteria directiveCriteria, DirectiveCriteriaKey key)
DirectiveCriteria
object that is the same is the input object. If it finds one it appends
any QueryKey
objects are already stored in the existing
DirectiveCriteria
object otherwise it is added to the
list of DirectiveCriteria
objects associated to the input
Directive.
directiveCriteria
- key
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |