Class BoundPojoModelPathCastedTypeNode<T,U>
- java.lang.Object
-
- org.hibernate.search.mapper.pojo.model.path.impl.BoundPojoModelPath
-
- org.hibernate.search.mapper.pojo.model.path.impl.BoundPojoModelPathTypeNode<U>
-
- org.hibernate.search.mapper.pojo.model.path.impl.BoundPojoModelPathCastedTypeNode<T,U>
-
- Type Parameters:
T- The type represented by the parent node, whose values are casted toBoundPojoModelPathCastedTypeNode.U- The type represented by this node.
public class BoundPojoModelPathCastedTypeNode<T,U> extends BoundPojoModelPathTypeNode<U>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hibernate.search.mapper.pojo.model.path.impl.BoundPojoModelPath
BoundPojoModelPath.Walker
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <U2> BoundPojoModelPathCastedTypeNode<T,? extends U2>castTo(PojoRawTypeModel<U2> typeModel)BoundPojoModelPathValueNode<?,?,T>getParent()PojoTypeModel<U>getTypeModel()-
Methods inherited from class org.hibernate.search.mapper.pojo.model.path.impl.BoundPojoModelPathTypeNode
getRootType, property, toUnboundPath
-
Methods inherited from class org.hibernate.search.mapper.pojo.model.path.impl.BoundPojoModelPath
root, toString, walker
-
-
-
-
Method Detail
-
getParent
public BoundPojoModelPathValueNode<?,?,T> getParent()
- Specified by:
getParentin classBoundPojoModelPathTypeNode<U>
-
getTypeModel
public PojoTypeModel<U> getTypeModel()
- Specified by:
getTypeModelin classBoundPojoModelPathTypeNode<U>
-
castTo
public <U2> BoundPojoModelPathCastedTypeNode<T,? extends U2> castTo(PojoRawTypeModel<U2> typeModel)
- Specified by:
castToin classBoundPojoModelPathTypeNode<U>- Returns:
- A sibling path node representing this type, cast to the given type.
-
-