@Test public void Full_Path() { List<SubPath> fullPath = children_0_name().getFullPath(); assertThat(fullPath).hasSize(3); assertThat(fullPath.get(0)).isEqualTo(children); assertThat(fullPath.get(1)).isEqualTo((PropertyPath) children_0()); }
abstract List<SubPath> getFullPath();
PropertyPath implements Comparable<PropertyPath> { abstract List<SubPath> getFullPath(); }
PropertyPath implements Comparable<PropertyPath> { abstract List<SubPath> getFullPath(); PropertyPath(); }
PropertyPath implements Comparable<PropertyPath> { abstract List<SubPath> getFullPath(); PropertyPath(); static PropertyPath parse(String path); Property property(String name); final Index index(long index); final Key key(String index); final PropertyPath keyOrIndex(Object object); final PropertyPath node(NodeId nodeId); final AnyProperty anyProperty(); final AnyIndex anyIndex(); final AnyKey anyKey(); final Any any(); final SubPath propertyOrKey(String string); final PropertyPath path(PropertyPath path); List<SubPath> asList(); boolean isRoot(); boolean startsWith(PropertyPath other); PropertyPath toSchemaPath(); @Override int compareTo(PropertyPath other); abstract String toString(); abstract boolean equals(Object obj); abstract int hashCode(); abstract NodeId getNodeId(); }
PropertyPath implements Comparable<PropertyPath> { abstract List<SubPath> getFullPath(); PropertyPath(); static PropertyPath parse(String path); Property property(String name); final Index index(long index); final Key key(String index); final PropertyPath keyOrIndex(Object object); final PropertyPath node(NodeId nodeId); final AnyProperty anyProperty(); final AnyIndex anyIndex(); final AnyKey anyKey(); final Any any(); final SubPath propertyOrKey(String string); final PropertyPath path(PropertyPath path); List<SubPath> asList(); boolean isRoot(); boolean startsWith(PropertyPath other); PropertyPath toSchemaPath(); @Override int compareTo(PropertyPath other); abstract String toString(); abstract boolean equals(Object obj); abstract int hashCode(); abstract NodeId getNodeId(); static final Root ROOT; }