Class MultiResolveResult
java.lang.Object
ch.tocco.nice2.rest.entity.impl.beans.factories.path.ResolveResult
ch.tocco.nice2.rest.entity.impl.beans.factories.path.MultiResolveResult
This resolve results represents a collection of other resolve results.
Get the resolve results via
getResults()
.
A MultiResolveResult is for example created if a path like the following
is resolved:
`relChildren.label`
In this example, `relChildren` is a to-many relation and `label` resolves to
a field. So the resulting MultiResolveResult contains a FieldResolveResult
for the `label` field of each entity which has been resolved in the
first step (`relChildren`).-
Field Summary
Fields inherited from class ch.tocco.nice2.rest.entity.impl.beans.factories.path.ResolveResult
path
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
int
hashCode()
resolve
(Path.PathElement pathElement, PathResolverContext pathResolverContext) long
size()
toString()
Methods inherited from class ch.tocco.nice2.rest.entity.impl.beans.factories.path.ResolveResult
appendPathElement, getPath
-
Constructor Details
-
MultiResolveResult
-
-
Method Details
-
getResults
-
checkWritable
public boolean checkWritable()- Specified by:
checkWritable
in classResolveResult
-
resolve
- Specified by:
resolve
in classResolveResult
-
size
public long size()- Specified by:
size
in classResolveResult
-
equals
- Overrides:
equals
in classResolveResult
-
hashCode
public int hashCode()- Overrides:
hashCode
in classResolveResult
-
toString
-