public abstract class JsonPath extends Object
| Modifier and Type | Field and Description |
|---|---|
protected JsonPath |
childResource
Entry closer to path's end
|
protected String |
elementName
Name of a resource or a filed
|
protected PathIds |
ids
Unique identifier of a field
|
protected JsonPath |
parentResource
Entry closer to path's beginning
|
| Constructor and Description |
|---|
JsonPath(String elementName) |
JsonPath(String elementName,
PathIds pathIds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
JsonPath |
getChildResource() |
String |
getElementName()
Returns name of the current element.
|
PathIds |
getIds() |
JsonPath |
getParentResource() |
abstract String |
getResourceName()
Returns name of a resource the last resource in requested path.
|
int |
hashCode() |
abstract boolean |
isCollection()
Returns true if a JsonPath concerns a collection.
|
void |
setChildResource(JsonPath childResource) |
void |
setIds(PathIds ids) |
void |
setParentResource(JsonPath parentResource) |
protected String elementName
protected PathIds ids
protected JsonPath parentResource
protected JsonPath childResource
public JsonPath(String elementName)
public abstract boolean isCollection()
public abstract String getResourceName()
public String getElementName()
public PathIds getIds()
public void setIds(PathIds ids)
public JsonPath getParentResource()
public void setParentResource(JsonPath parentResource)
public JsonPath getChildResource()
public void setChildResource(JsonPath childResource)
Copyright © 2015. All Rights Reserved.