| |
|
| java.lang.Object oracle.toplink.essentials.internal.parsing.Node oracle.toplink.essentials.internal.parsing.AttributeNode
AttributeNode | public class AttributeNode extends Node (Code) | | INTERNAL
Purpose: Represent a attribute.
Responsibilities:
|
AttributeNode | public AttributeNode()(Code) | | Create a new AttributeNode
|
AttributeNode | public AttributeNode(String name)(Code) | | Create a new AttributeNode with the passed name
Parameters: name - the attribute name |
getAsString | public String getAsString()(Code) | | INTERNAL
Get the string representation of this node.
|
isAttributeNode | public boolean isAttributeNode()(Code) | | INTERNAL
Is this node an AttributeNode
|
isCollectionAttribute | public boolean isCollectionAttribute()(Code) | | |
isOuterJoin | public boolean isOuterJoin()(Code) | | |
qualifyAttributeAccess | public Node qualifyAttributeAccess(ParseTreeContext context)(Code) | | INTERNAL
If called this AttributeNode represents an unqualified field access.
The method returns a DotNode representing a qualified field access with
the base variable as left child node and the attribute as right child
node.
|
requiresCollectionAttribute | public boolean requiresCollectionAttribute()(Code) | | |
resolveClass | public Class resolveClass(GenerationContext context, Class ownerClass)(Code) | | resolveClass: Answer the class for the mapping associated with the my variableName in the ownerClass.
Answer null if the node represents a mapping that doesn't exist
|
setAttributeName | public void setAttributeName(String name)(Code) | | |
setOuterJoin | public void setOuterJoin(boolean outerJoin)(Code) | | |
setRequiresCollectionAttribute | public void setRequiresCollectionAttribute(boolean requiresCollectionAttribute)(Code) | | |
validate | public void validate(ParseTreeContext context)(Code) | | INTERNAL
Validate the current node and calculates its type.
|
|
|
|