com.mysema.query.types
Class PathMetadataFactory

java.lang.Object
  extended by com.mysema.query.types.PathMetadataFactory

public final class PathMetadataFactory
extends Object

PathMetadataFactory is a factory class for Path construction

Author:
tiwe

Method Summary
static PathMetadata<Integer> forArrayAccess(Path<?> parent, Expression<Integer> index)
           
static PathMetadata<Integer> forArrayAccess(Path<?> parent, int index)
           
static PathMetadata<?> forCollectionAny(Path<?> parent)
           
static PathMetadata<Integer> forListAccess(Path<?> parent, Expression<Integer> index)
           
static PathMetadata<Integer> forListAccess(Path<?> parent, int index)
           
static
<KT> PathMetadata<KT>
forMapAccess(Path<?> parent, Expression<KT> key)
           
static
<KT> PathMetadata<KT>
forMapAccess(Path<?> parent, KT key)
           
static PathMetadata<String> forProperty(Path<?> parent, String property)
           
static PathMetadata<String> forVariable(String variable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forArrayAccess

public static PathMetadata<Integer> forArrayAccess(Path<?> parent,
                                                   Expression<Integer> index)

forArrayAccess

public static PathMetadata<Integer> forArrayAccess(Path<?> parent,
                                                   @Nonnegative
                                                   int index)

forCollectionAny

public static PathMetadata<?> forCollectionAny(Path<?> parent)

forListAccess

public static PathMetadata<Integer> forListAccess(Path<?> parent,
                                                  Expression<Integer> index)

forListAccess

public static PathMetadata<Integer> forListAccess(Path<?> parent,
                                                  @Nonnegative
                                                  int index)

forMapAccess

public static <KT> PathMetadata<KT> forMapAccess(Path<?> parent,
                                                 Expression<KT> key)

forMapAccess

public static <KT> PathMetadata<KT> forMapAccess(Path<?> parent,
                                                 KT key)

forProperty

public static PathMetadata<String> forProperty(Path<?> parent,
                                               String property)

forVariable

public static PathMetadata<String> forVariable(String variable)


Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.