com.mysema.query.types.path
Class SetPath<E,Q extends SimpleExpression<? super E>>
java.lang.Object
com.mysema.query.types.ExpressionBase<T>
com.mysema.query.types.expr.SimpleExpression<T>
com.mysema.query.types.expr.CollectionExpressionBase<C,E>
com.mysema.query.types.path.CollectionPathBase<Set<E>,E,Q>
com.mysema.query.types.path.SetPath<E,Q>
- Type Parameters:
E
- component typeQ
- component query type
- All Implemented Interfaces:
- CollectionExpression<Set<E>,E>, Expression<Set<E>>, ParametrizedExpression<Set<E>>, Path<Set<E>>, Serializable
public class SetPath<E,Q extends SimpleExpression<? super E>>
- extends CollectionPathBase<Set<E>,E,Q>
SetPath represents set paths
- Author:
- tiwe
- See Also:
- Serialized Form
Methods inherited from class com.mysema.query.types.expr.SimpleExpression |
as, as, count, countDistinct, eq, eq, in, in, in, isNotNull, isNull, ne, ne, notIn, notIn, notIn, when, when |
SetPath
public SetPath(Class<? super E> type,
Class<Q> queryType,
String variable)
SetPath
public SetPath(Class<? super E> type,
Class<Q> queryType,
Path<?> parent,
String property)
SetPath
public SetPath(Class<? super E> type,
Class<Q> queryType,
PathMetadata<?> metadata)
accept
public <R,C> R accept(Visitor<R,C> v,
C context)
- Description copied from interface:
Expression
- Accept the visitor with the given context
- Type Parameters:
R
- return typeC
- context type- Parameters:
v
- visitorcontext
- context of visit
- Returns:
any
public Q any()
- Specified by:
any
in class CollectionPathBase<Set<E>,E,Q extends SimpleExpression<? super E>>
equals
public boolean equals(Object o)
- Specified by:
equals
in class SimpleExpression<Set<E>>
getElementType
public Class<E> getElementType()
- Specified by:
getElementType
in class CollectionExpressionBase<Set<E>,E>
getMetadata
public PathMetadata<?> getMetadata()
- Description copied from interface:
Path
- Get the metadata for this path
- Returns:
getRoot
public Path<?> getRoot()
- Description copied from interface:
Path
- Get the root for this path
- Returns:
hashCode
public int hashCode()
- Overrides:
hashCode
in class SimpleExpression<Set<E>>
getAnnotatedElement
public AnnotatedElement getAnnotatedElement()
- Description copied from interface:
Path
- Return the annotated element related to the given 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.
- Returns:
getParameter
public Class<?> getParameter(int index)
- Returns:
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.