public interface PathFactory
PathFactory
defines a factory interface for Path
creationModifier and Type | Method and Description |
---|---|
<T> Path<T[]> |
createArrayPath(Class<T[]> type,
PathMetadata metadata)
Create an array path
|
Path<Boolean> |
createBooleanPath(PathMetadata metadata)
Create a boolean path
|
<E> Path<Collection<E>> |
createCollectionPath(Class<E> elementType,
PathMetadata metadata)
Create a collection path
|
<T extends Comparable<?>> |
createComparablePath(Class<T> type,
PathMetadata metadata)
Create a comparable path
|
<T extends Comparable<?>> |
createDatePath(Class<T> type,
PathMetadata metadata)
Create a date path
|
<T extends Comparable<?>> |
createDateTimePath(Class<T> type,
PathMetadata metadata)
Create a datetime path
|
<T> Path<T> |
createEntityPath(Class<T> type,
PathMetadata metadata)
Create an entity path
|
<T extends Enum<T>> |
createEnumPath(Class<T> type,
PathMetadata metadata)
Create an enum path
|
<E> Path<List<E>> |
createListPath(Class<E> elementType,
PathMetadata metadata)
Create a list path
|
<K,V> Path<Map<K,V>> |
createMapPath(Class<K> keyType,
Class<V> valueType,
PathMetadata metadata)
Create a map path
|
<T extends Number & Comparable<T>> |
createNumberPath(Class<T> type,
PathMetadata metadata)
Create a number path
|
<E> Path<Set<E>> |
createSetPath(Class<E> elementType,
PathMetadata metadata)
Create a set path
|
<T> Path<T> |
createSimplePath(Class<T> type,
PathMetadata metadata)
Create a simple path
|
Path<String> |
createStringPath(PathMetadata metadata)
Create a string path
|
<T extends Comparable<?>> |
createTimePath(Class<T> type,
PathMetadata metadata)
Create a time path
|
<T> Path<T[]> createArrayPath(Class<T[]> type, PathMetadata metadata)
type
- type of the pathmetadata
- metadata of the path<T> Path<T> createEntityPath(Class<T> type, PathMetadata metadata)
type
- type of the pathmetadata
- metadata of the path<T> Path<T> createSimplePath(Class<T> type, PathMetadata metadata)
type
- type of the pathmetadata
- metadata of the path<T extends Comparable<?>> Path<T> createComparablePath(Class<T> type, PathMetadata metadata)
type
- type of the pathmetadata
- metadata of the path<T extends Enum<T>> Path<T> createEnumPath(Class<T> type, PathMetadata metadata)
type
- type of the pathmetadata
- metadata of the path<T extends Comparable<?>> Path<T> createDatePath(Class<T> type, PathMetadata metadata)
type
- type of the pathmetadata
- metadata of the path<T extends Comparable<?>> Path<T> createTimePath(Class<T> type, PathMetadata metadata)
type
- type of the pathmetadata
- metadata of the path<T extends Comparable<?>> Path<T> createDateTimePath(Class<T> type, PathMetadata metadata)
type
- type of the pathmetadata
- metadata of the path<T extends Number & Comparable<T>> Path<T> createNumberPath(Class<T> type, PathMetadata metadata)
type
- type of the pathmetadata
- metadata of the pathPath<Boolean> createBooleanPath(PathMetadata metadata)
metadata
- metadata of the pathPath<String> createStringPath(PathMetadata metadata)
metadata
- metadata of the path<E> Path<List<E>> createListPath(Class<E> elementType, PathMetadata metadata)
elementType
- element typemetadata
- metadata of the path<E> Path<Set<E>> createSetPath(Class<E> elementType, PathMetadata metadata)
elementType
- element typemetadata
- metadata of the path<E> Path<Collection<E>> createCollectionPath(Class<E> elementType, PathMetadata metadata)
elementType
- element typemetadata
- metadata of the path<K,V> Path<Map<K,V>> createMapPath(Class<K> keyType, Class<V> valueType, PathMetadata metadata)
keyType
- key typevalueType
- value typemetadata
- metadata of the pathCopyright © 2007–2015 Mysema Ltd. All rights reserved.