|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Path<O>
A path representation allowing type safe navigation.
| Method Summary | ||
|---|---|---|
|
child(PropertyLiteral<O,P> property)
|
|
|
child(PropertyLiteral<O,P> property,
java.lang.String childName)
|
|
O |
object()
Returns the object referenced by this path or null if it does not exist. |
|
Path<?> |
parent()
Returns the parent. |
|
|
parent(PropertyLiteral<O,P> property)
Returns the parent assuming is has the specified type. |
|
java.lang.String |
toString()
Returns a string representation of the path. |
|
| Method Detail |
|---|
Path<?> parent()
<P> Path<P> parent(PropertyLiteral<O,P> property)
P - the property typeproperty - the property
<P> Path<P> child(PropertyLiteral<O,P> property,
java.lang.String childName)
<P> Path<P> child(PropertyLiteral<O,P> property)
O object()
java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||