Resolver is responsible to resolve a single path of a path expression (state field
path expression, singled valued object field, or a collection-valued path expression).
CollectionValuedFieldResolver, StateFieldResolver
| Modifier and Type | Field and Description |
|---|---|
| private IManagedType | managedType
The |
| private boolean | managedTypeResolved
This flag is used to prevent resolving the |
| private IMapping | mapping
The mapping of the last path of the path expression or |
| private boolean | mappingResolved
This flag is used to prevent resolving the |
| protected final String | path
The name of the path for which its type will be retrieved. |
| Access | Constructor and Description |
|---|---|
| protected | AbstractPathResolver(Resolver
The parent parent, String Resolver, which is never nullThe name of the path path)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| protected ITypeDeclaration | buildTypeDeclaration()
Implements abstract org. ITypeDeclaration of the property handled by this Resolver.
|
| public IManagedType | getManagedType()
Overrides org. IManagedType associated with the field handled by this Resolver.
|
| public final IMapping | getMapping()
Overrides org. IMapping for the wrapped field.
|
| public final String | |
| protected abstract IManagedType | |
| protected IMapping | |
| public String |
| managedType | back to summary |
|---|---|
| private IManagedType managedType The | |
| managedTypeResolved | back to summary |
|---|---|
| private boolean managedTypeResolved This flag is used to prevent resolving the | |
| mapping | back to summary |
|---|---|
| private IMapping mapping The mapping of the last path of the path expression or | |
| mappingResolved | back to summary |
|---|---|
| private boolean mappingResolved This flag is used to prevent resolving the | |
| path | back to summary |
|---|---|
| protected final String path The name of the path for which its type will be retrieved. | |
| AbstractPathResolver | back to summary |
|---|---|
| protected AbstractPathResolver(Resolver parent, String path) Creates a new | |
| buildTypeDeclaration | back to summary |
|---|---|
| protected ITypeDeclaration buildTypeDeclaration() Implements abstract org. Doc from org. Resolves the
| |
| getManagedType | back to summary |
|---|---|
| public IManagedType getManagedType() Overrides org. Doc from org. Returns the
For example: "
| |
| getMapping | back to summary |
|---|---|
| public final IMapping getMapping() Overrides org. Doc from org. Returns the | |
| getPath | back to summary |
|---|---|
| public final String getPath() Returns the single path represented by this | |
| resolveManagedType | back to summary |
|---|---|
| protected abstract IManagedType resolveManagedType(IMapping mapping) Resolves this path's
| |
| resolveMapping | back to summary |
|---|---|
| protected IMapping resolveMapping() Retrieves the | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |