|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteworks.eRQL.model.ModelComponent
eworks.eRQL.model.Value
eworks.eRQL.model.Junction
Abstract base class for combining operators like a conjunction or a disjunction.
Field Summary | |
protected Value[] |
values
The operands that are associated with this junction. |
Constructor Summary | |
Junction()
Creates a new and empty junction. |
|
Junction(Value value)
Creates a new junction and initializes it with a single value . |
|
Junction(Value[] values)
Creates a new junction and initializes it with some values . |
|
Junction(Value value1,
Value value2)
Creates a new junction and initializes it with two single values. |
Method Summary | |
void |
add(Value value)
Adds a new value to this junction. |
Value |
compact()
Compacts this junction and returns the result. |
String |
toString()
Returns a string representation of this junction. |
Methods inherited from class eworks.eRQL.model.Value |
query |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Value[] values
Constructor Detail |
public Junction()
public Junction(Value[] values)
values
.
values
- The values for the initialization of the junction.public Junction(Value value)
value
.
value
- The value for the initialization of the junction.public Junction(Value value1, Value value2)
value1
- The first value for the initialization of the junction.value2
- The first value for the initialization of the junction.Method Detail |
public void add(Value value)
value
- The first value for the initialization of the junction.public Value compact()
compact
in class Value
public String toString()
toString
in class ModelComponent
|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |