| |
|
| java.lang.Object oracle.toplink.essentials.internal.parsing.Node oracle.toplink.essentials.internal.parsing.LogicalOperatorNode oracle.toplink.essentials.internal.parsing.DotNode
DotNode | public class DotNode extends LogicalOperatorNode (Code) | | INTERNAL
Purpose: This node represents an 'DOT' (i.e. '.') on the input
stream. The left and right will depend on the input stream.
Responsibilities:
author: Jon Driscoll and Joel Lucuik since: TopLink 4.0 |
endsWithCollectionField | public boolean endsWithCollectionField(GenerationContext context)(Code) | | INTERNAL
():
Answer true if the node has a left and right, and the right represents
a collection mapping.
|
endsWithDirectToField | public boolean endsWithDirectToField(GenerationContext context)(Code) | | INTERNAL
():
Answer true if the SELECTed node has a left and right, and the right represents
a direct-to-field mapping.
|
generateExpression | public Expression generateExpression(GenerationContext context)(Code) | | INTERNAL
Return a TopLink expression by getting the required variables using the
left and right nodes
"emp.address.city" = builder.get("address").get("city")
|
getAsString | public String getAsString()(Code) | | INTERNAL
Get the string representation of this node.
|
getTypeOfDirectToField | public Class getTypeOfDirectToField(GenerationContext context)(Code) | | INTERNAL
Returns the attribute type if the right represents a direct-to-field mapping.
|
isDotNode | public boolean isDotNode()(Code) | | INTERNAL
Yes, this is a dot node
|
qualifyAttributeAccess | public Node qualifyAttributeAccess(ParseTreeContext context)(Code) | | INTERNAL
Check the left child node for an unqualified field access. The method
delegates to the left most expression of multi-navigation path
expression.
|
resolveAttribute | public String resolveAttribute()(Code) | | INTERNAL
Answer the name of the attribute which is represented by the receiver's
right node.
|
resolveClass | public Class resolveClass(GenerationContext context)(Code) | | resolveClass: Answer the class which results from traversing the mappings for the receiver's nodes
|
validate | public void validate(ParseTreeContext context)(Code) | | INTERNAL
Validate node and calculate its type.
Check for enum literals.
|
|
|
|