Resolver is responsible to resolve the type of a collection-valued field.
| Modifier and Type | Class and Description |
|---|---|
| protected static class |
| Access | Constructor and Description |
|---|---|
| public | CollectionValuedFieldResolver(Resolver
The parent parent, String Resolver, which is never nullA single segment of the collection-valued path expression path)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| protected IType | buildType()
Overrides org. IType of the property handled by this Resolver.
|
| protected IManagedType | resolveManagedType(IMapping mapping)
Implements abstract org. IManagedType by using the given IMapping.
|
| CollectionValuedFieldResolver | back to summary |
|---|---|
| public CollectionValuedFieldResolver(Resolver parent, String path) Creates a new | |
| buildType | back to summary |
|---|---|
| protected IType buildType() Overrides org. Doc from org. Resolves the | |
| resolveManagedType | back to summary |
|---|---|
| protected IManagedType resolveManagedType(IMapping mapping) Implements abstract org. Doc from org. Resolves this path's
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final IType | |
| protected final IManagedTypeProvider |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(IManagedTypeVisitor
The visitor to visit this managed type object visitor)Implements org. |
| public int | compareTo(IManagedType
the object to be compared. managedType)Implements java. |
| public IMapping | getMappingNamed(String
The name of the mapping to retrieve name)Implements org. IMapping with the given name.
|
| public IManagedTypeProvider | getProvider()
Implements org. |
| public IType | getType()
Implements org. |
| public Iterable | mappings()
Implements org. mappings defined in this managed type.
|
| public String |
| mapType | back to summary |
|---|---|
| protected final IType mapType | |
| provider | back to summary |
|---|---|
| protected final IManagedTypeProvider provider | |
| MapManagedType | back to summary |
|---|---|
| protected MapManagedType(IManagedTypeProvider provider, IType mapType) | |
| accept | back to summary |
|---|---|
| public void accept(IManagedTypeVisitor visitor) Implements org. Doc from org. Visits this managed type with the given visitor.
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(IManagedType managedType) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| getMappingNamed | back to summary |
|---|---|
| public IMapping getMappingNamed(String name) Implements org. Doc from org. Returns the | |
| getProvider | back to summary |
|---|---|
| public IManagedTypeProvider getProvider() Implements org. Doc from org. Retrieves the owner of this managed type.
| |
| getType | back to summary |
|---|---|
| public IType getType() Implements org. Doc from org. Returns the external representation of the class used by this managed type. | |
| mappings | back to summary |
|---|---|
| public Iterable Implements org. Doc from org. Returns the collection of | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |