|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseIterator
Java implementation of OMG's interface. This is how OMG defines it:
The BaseIterator interface is used to navigate relationships of cardinality greater than 1 in this specification. It supports specification of a filter using parameterized query expressions.
Method Summary | |
---|---|
void |
goto_end()
Positions the iterator such that the next "previous" retrieval will retrieve the last element in the collection. |
void |
goto_start()
Positions the iterator such that the next "next" retrieval will retrieve the first element in he collection. |
int |
how_many()
Returns the number of elements in the collection. |
java.util.Map |
names_in_expression()
OMG definition: Returns a set of parameters that are used to substitute variables in the query_expression. |
java.lang.String |
query_expression()
Returns the query expression used to filter the contents of the iterator. |
java.lang.String |
query_grammar()
OMG definition: The query_grammar attribute identifies the query grammar used to define the query expression. |
void |
set_names_in_expression(java.util.Map query)
NOTE: It does not have any influence on querying in our implementations. |
void |
set_query_expression(java.lang.String query)
Defines the query expression used to filter the contents of the iterator. |
void |
set_query_grammar(java.lang.String query_grammmar)
OMG definition: The query_grammar attribute identifies the query grammar used to define the query expression. |
Method Detail |
---|
java.lang.String query_expression() throws java.lang.Exception
java.lang.Exception
void set_query_expression(java.lang.String query) throws java.lang.Exception, InvalidQuery
java.lang.Exception
InvalidQuery
java.util.Map names_in_expression() throws java.lang.Exception
java.lang.Exception
void set_names_in_expression(java.util.Map query) throws java.lang.Exception, NameMismatch
OMG definition: Defines a set of parameters that are used to substitute variables in the query_expression. The parameters are defined by name-value pairs, where the name identifies the variable and the value represents the variable value to be substituted.
java.lang.Exception
NameMismatch
java.lang.String query_grammar() throws java.lang.Exception
java.lang.Exception
void set_query_grammar(java.lang.String query_grammmar) throws java.lang.Exception, GrammarNotSupported
java.lang.Exception
GrammarNotSupported
int how_many() throws java.lang.Exception
java.lang.Exception
void goto_start() throws java.lang.Exception
java.lang.Exception
void goto_end() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |