T
- expression typepublic class DatePath<T extends Comparable> extends DateExpression<T> implements Path<T>
mixin
Constructor and Description |
---|
DatePath(Class<? extends T> type,
Path<?> parent,
String property) |
DatePath(Class<? extends T> type,
PathMetadata<?> metadata) |
DatePath(Class<? extends T> type,
String var) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context
|
AnnotatedElement |
getAnnotatedElement()
Return the annotated element related to the given path
|
PathMetadata<?> |
getMetadata()
Get the metadata for this path
|
Path<?> |
getRoot()
Get the root for this path
|
as, as, currentDate, currentDate, dayOfMonth, dayOfWeek, dayOfYear, max, min, month, week, year, yearMonth
after, after, before, before
between, between, goe, goe, goeAll, goeAny, gt, gt, gtAll, gtAny, loe, loe, loeAll, loeAny, lt, lt, ltAll, ltAny, notBetween, notBetween
asc, castToNum, coalesce, coalesce, desc, stringValue
count, countDistinct, eq, eq, eqAll, eqAny, in, in, in, isNotNull, isNull, ne, ne, neAll, neAny, notIn, notIn, notIn, nullif, nullif, when, when
equals, getType, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getType
public DatePath(Class<? extends T> type, PathMetadata<?> metadata)
public final <R,C> R accept(Visitor<R,C> v, C context)
Expression
accept
in interface Expression<T extends Comparable>
R
- return typeC
- context typev
- visitorcontext
- context of visitpublic PathMetadata<?> getMetadata()
Path
getMetadata
in interface Path<T extends Comparable>
public Path<?> getRoot()
Path
getRoot
in interface Path<T extends Comparable>
public AnnotatedElement getAnnotatedElement()
Path
For property paths the annotated element contains the annotations of the related field and/or getter method and for all others paths the annotated element is the expression type.
getAnnotatedElement
in interface Path<T extends Comparable>
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.