|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.chronicj.impl.CollectionTE
|
+--org.chronicj.impl.IntersectionTE
Composite TemporalExpression that provides an
intersection of the composing expressions for use in a set expression.
This class is based directly on patterns described in a paper by Martin Fowler which can be found here.
| Constructor Summary | |
IntersectionTE()
Creates an instance of IntersectionTE. |
|
| Method Summary | |
org.chronicj.impl.CollectionTE |
add(org.chronicj.TemporalExpression anExpression)
Adds a TemporalExpression to be processed as part of the composition of this TemporalExpression. |
boolean |
containsExpressions()
Getter for querying whether this (abstract) expression has been configured with any actual expressions. |
java.util.List |
getExpressions()
Getter for expressions. |
boolean |
includes(org.chronicj.TimePoint aTimePoint)
Used to check whether a given date is occurs within the current range expressed by this TemporalExpression. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public IntersectionTE()
| Method Detail |
public boolean includes(org.chronicj.TimePoint aTimePoint)
TemporalExpressionTemporalExpression.
includes in interface TemporalExpressionincludes in class org.chronicj.impl.CollectionTEaTimePoint - the TimePoint to be checked for inclusion in the
current set
public java.lang.String toString()
toString in class org.chronicj.impl.CollectionTEpublic java.util.List getExpressions()
public org.chronicj.impl.CollectionTE add(org.chronicj.TemporalExpression anExpression)
anExpression - the TemporalExpression to add
this),
enabling easier syntax for building expressionspublic boolean containsExpressions()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||