com.mysema.query.alias
Class DefaultPathFactory

java.lang.Object
  extended by com.mysema.query.alias.DefaultPathFactory
All Implemented Interfaces:
PathFactory

public class DefaultPathFactory
extends Object
implements PathFactory

Author:
tiwe

Constructor Summary
DefaultPathFactory()
           
 
Method Summary
<T> Path<T[]>
createArrayPath(Class<T[]> arrayType, PathMetadata<?> metadata)
           
 Path<Boolean> createBooleanPath(PathMetadata<?> metadata)
           
<E> Path<Collection<E>>
createCollectionPath(Class<E> elementType, PathMetadata<?> metadata)
           
<T extends Comparable<?>>
Path<T>
createComparablePath(Class<T> type, PathMetadata<?> metadata)
           
<T extends Comparable<?>>
Path<T>
createDatePath(Class<T> type, PathMetadata<?> metadata)
           
<T extends Comparable<?>>
Path<T>
createDateTimePath(Class<T> type, PathMetadata<?> metadata)
           
<T> Path<T>
createEntityPath(Class<T> type, PathMetadata<?> metadata)
           
<T extends Enum<T>>
Path<T>
createEnumPath(Class<T> type, PathMetadata<?> metadata)
           
<E> Path<List<E>>
createListPath(Class<E> elementType, PathMetadata<?> metadata)
           
<K,V> Path<Map<K,V>>
createMapPath(Class<K> keyType, Class<V> valueType, PathMetadata<?> metadata)
           
<T extends Number & Comparable<T>>
Path<T>
createNumberPath(Class<T> type, PathMetadata<?> metadata)
           
<E> Path<Set<E>>
createSetPath(Class<E> elementType, PathMetadata<?> metadata)
           
<T> Path<T>
createSimplePath(Class<T> type, PathMetadata<?> metadata)
           
 Path<String> createStringPath(PathMetadata<?> metadata)
           
<T extends Comparable<?>>
Path<T>
createTimePath(Class<T> type, PathMetadata<?> metadata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPathFactory

public DefaultPathFactory()
Method Detail

createArrayPath

public <T> Path<T[]> createArrayPath(Class<T[]> arrayType,
                                     PathMetadata<?> metadata)
Specified by:
createArrayPath in interface PathFactory

createBooleanPath

public Path<Boolean> createBooleanPath(PathMetadata<?> metadata)
Specified by:
createBooleanPath in interface PathFactory

createCollectionPath

public <E> Path<Collection<E>> createCollectionPath(Class<E> elementType,
                                                    PathMetadata<?> metadata)
Specified by:
createCollectionPath in interface PathFactory

createComparablePath

public <T extends Comparable<?>> Path<T> createComparablePath(Class<T> type,
                                                              PathMetadata<?> metadata)
Specified by:
createComparablePath in interface PathFactory

createDatePath

public <T extends Comparable<?>> Path<T> createDatePath(Class<T> type,
                                                        PathMetadata<?> metadata)
Specified by:
createDatePath in interface PathFactory

createDateTimePath

public <T extends Comparable<?>> Path<T> createDateTimePath(Class<T> type,
                                                            PathMetadata<?> metadata)
Specified by:
createDateTimePath in interface PathFactory

createEntityPath

public <T> Path<T> createEntityPath(Class<T> type,
                                    PathMetadata<?> metadata)
Specified by:
createEntityPath in interface PathFactory

createEnumPath

public <T extends Enum<T>> Path<T> createEnumPath(Class<T> type,
                                                  PathMetadata<?> metadata)
Specified by:
createEnumPath in interface PathFactory

createListPath

public <E> Path<List<E>> createListPath(Class<E> elementType,
                                        PathMetadata<?> metadata)
Specified by:
createListPath in interface PathFactory

createMapPath

public <K,V> Path<Map<K,V>> createMapPath(Class<K> keyType,
                                          Class<V> valueType,
                                          PathMetadata<?> metadata)
Specified by:
createMapPath in interface PathFactory

createNumberPath

public <T extends Number & Comparable<T>> Path<T> createNumberPath(Class<T> type,
                                                                  PathMetadata<?> metadata)
Specified by:
createNumberPath in interface PathFactory

createSetPath

public <E> Path<Set<E>> createSetPath(Class<E> elementType,
                                      PathMetadata<?> metadata)
Specified by:
createSetPath in interface PathFactory

createSimplePath

public <T> Path<T> createSimplePath(Class<T> type,
                                    PathMetadata<?> metadata)
Specified by:
createSimplePath in interface PathFactory

createStringPath

public Path<String> createStringPath(PathMetadata<?> metadata)
Specified by:
createStringPath in interface PathFactory

createTimePath

public <T extends Comparable<?>> Path<T> createTimePath(Class<T> type,
                                                        PathMetadata<?> metadata)
Specified by:
createTimePath in interface PathFactory


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