Class PathBuilder<V>


  • public class PathBuilder<V>
    extends java.lang.Object
    • Constructor Detail

      • PathBuilder

        public PathBuilder​(java.lang.Class<V> valueClass)
    • Method Detail

      • value

        public static <V> PathBuilder<V> value​(java.lang.Class<V> valueClass)
      • pathElement

        public PathBuilder<V> pathElement​(java.lang.String pathElement)
      • pathElement

        public PathBuilder<V> pathElement​(java.lang.String pathElement,
                                          int index)
      • of

        public static <V> AttributePathTarget<V> of​(java.lang.Class<V> valueClass,
                                                    java.lang.String path)
        the entire path based string
        examples:
        • referenceAttribute.stringAttribute
        • referenceListAttribute[123].stringAttribute
        • referenceAttribute.referenceListAttribute[123].stringAttribute
        Type Parameters:
        V - attribute type
        Parameters:
        valueClass - attribute value class
        path - path as string
        Returns:
        path