|
AROM-2_2_13 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--arom.kr.query.engine.AQCondition
A Class used to built a query in AROMQuery.
A AQCondition is a node of a query path .
a AQCondition is composed of a structure condition (the structure to
select), an algebraic condition (a QCL expression) and a link to the next
element in path (possibly including a rolename condition).
Constructor Summary | |
AQCondition(String structName)
alternate constructor - no algebraic condition |
|
AQCondition(String structName,
String qclExpression)
the standard constructor |
|
AQCondition(String structName,
String qclExpression,
String searchSpaceName)
the standard constructor |
Method Summary | |
void |
add(AQCondition child)
add child to this node - without role condition |
void |
add(AQCondition child,
String roleName)
add child to this node |
String |
getQCLExpression()
get QCL condition expression |
String |
getRoleName()
get role condition name |
String |
getSearchSpace()
Returns the search space name. |
String |
getStructureName()
get structure condition name |
boolean |
hasSearchSpace()
Returns true if this AQCondition has search space limited to a set of instances. |
AQCondition |
next()
get next (child) node |
AQCondition |
previous()
get previous (parent) node |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AQCondition(String structName, String qclExpression, String searchSpaceName)
structName
- the name of the structure (structure condition)qclExpression
- a QCL expression (algebraic condition) if
(qclExpression == null) or (qclExpression == "public AQCondition(String structName, String qclExpression)
structName
- the name of the structure (structure condition)qclExpression
- a QCL expression (algebraic condition) if
(qclExpression == null) or (qclExpression == "public AQCondition(String structName)
structName
- the name of the structure (structure condition)Method Detail |
public String getStructureName()
public String getRoleName()
public String getQCLExpression()
public void add(AQCondition child, String roleName)
child
- AQCondition to add as childroleName
- the name of role (role condition) if (roleName == null)
or (roleName == "public void add(AQCondition child)
child
- AQCondition to add as childpublic AQCondition next()
public AQCondition previous()
public boolean hasSearchSpace()
public String getSearchSpace()
|
AROM-2_2_13 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |