com.redhat.persistence.pdl.nodes
Class Node.Switch
java.lang.Object
com.redhat.persistence.pdl.nodes.Node.Switch
- Direct Known Subclasses:
- Node.Traversal, VersioningMetadata.NodeSwitch
- Enclosing class:
- Node
- public abstract static class Node.Switch
- extends Object
Dynamic Dispatch
The following code is provided in order to perform dynamic dispatch on
node type.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Node.Switch
public Node.Switch()
onNode
public void onNode(Node node)
onAST
public void onAST(AST ast)
onFile
public void onFile(FileNd file)
onModel
public void onModel(ModelNd model)
onImport
public void onImport(ImportNd imp)
onObjectType
public void onObjectType(ObjectTypeNd type)
onAssociation
public void onAssociation(AssociationNd assn)
onStatement
public void onStatement(StatementNd st)
onProperty
public void onProperty(PropertyNd prop)
onAggressiveLoad
public void onAggressiveLoad(AggressiveLoadNd al)
onReferenceKey
public void onReferenceKey(ReferenceKeyNd key)
onObjectKey
public void onObjectKey(ObjectKeyNd key)
onUniqueKey
public void onUniqueKey(UniqueKeyNd key)
onType
public void onType(TypeNd type)
onJavaClass
public void onJavaClass(JavaClassNd jc)
onPath
public void onPath(PathNd path)
onColumn
public void onColumn(ColumnNd col)
onDbType
public void onDbType(DbTypeNd type)
onJoinPath
public void onJoinPath(JoinPathNd jp)
onJoin
public void onJoin(JoinNd join)
onIdentifier
public void onIdentifier(IdentifierNd id)
onQualias
public void onQualias(QualiasNd nd)
onEvent
public void onEvent(EventNd nd)
onSQLBlock
public void onSQLBlock(SQLBlockNd nd)
onSuper
public void onSuper(SuperNd nd)
onMapping
public void onMapping(MappingNd nd)
onBinding
public void onBinding(BindingNd nd)
onDataOperation
public void onDataOperation(DataOperationNd nd)
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC