/** * Create a new Boolean typed path * * @param path existing path * @return property path */ public BooleanPath get(BooleanPath path) { BooleanPath newPath = getBoolean(toString(path)); return addMetadataOf(newPath, path); }
/** * Create a new String typed path * * @param path existing path * @return property path */ public StringPath get(StringPath path) { StringPath newPath = getString(toString(path)); return addMetadataOf(newPath, path); }
/** * Create a new Date path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A extends Comparable<?>> DatePath<A> get(DatePath<A> path) { DatePath<A> newPath = getDate(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new Simple path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A> SimplePath<A> get(Path<A> path) { SimplePath<A> newPath = getSimple(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new Comparable typed path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A extends Comparable<?>> ComparablePath<A> get(ComparablePath<A> path) { ComparablePath<A> newPath = getComparable(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new DateTime path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A extends Comparable<?>> DateTimePath<A> get(DateTimePath<A> path) { DateTimePath<A> newPath = getDateTime(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new Number typed path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A extends Number & Comparable<?>> NumberPath<A> get(NumberPath<A> path) { NumberPath<A> newPath = getNumber(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new Enum path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A extends Enum<A>> EnumPath<A> get(EnumPath<A> path) { EnumPath<A> newPath = getEnum(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new Time typed path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A extends Comparable<?>> TimePath<A> get(TimePath<A> path) { TimePath<A> newPath = getTime(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new String typed path * * @param path existing path * @return property path */ public StringPath get(StringPath path) { StringPath newPath = getString(toString(path)); return addMetadataOf(newPath, path); }
/** * Create a new Boolean typed path * * @param path existing path * @return property path */ public BooleanPath get(BooleanPath path) { BooleanPath newPath = getBoolean(toString(path)); return addMetadataOf(newPath, path); }
/** * Create a new Number typed path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A extends Number & Comparable<?>> NumberPath<A> get(NumberPath<A> path) { NumberPath<A> newPath = getNumber(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new DateTime path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A extends Comparable<?>> DateTimePath<A> get(DateTimePath<A> path) { DateTimePath<A> newPath = getDateTime(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new Simple path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A> SimplePath<A> get(Path<A> path) { SimplePath<A> newPath = getSimple(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new Comparable typed path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A extends Comparable<?>> ComparablePath<A> get(ComparablePath<A> path) { ComparablePath<A> newPath = getComparable(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new Date path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A extends Comparable<?>> DatePath<A> get(DatePath<A> path) { DatePath<A> newPath = getDate(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new Enum path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A extends Enum<A>> EnumPath<A> get(EnumPath<A> path) { EnumPath<A> newPath = getEnum(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }
/** * Create a new Time typed path * * @param <A> * @param path existing path * @return property path */ @SuppressWarnings("unchecked") public <A extends Comparable<?>> TimePath<A> get(TimePath<A> path) { TimePath<A> newPath = getTime(toString(path), (Class<A>) path.getType()); return addMetadataOf(newPath, path); }