com.redhat.persistence.pdl
Interface VersioningMetadata.NodeVisitor

Enclosing interface:
VersioningMetadata

public static interface VersioningMetadata.NodeVisitor


Method Summary
 void onFinish()
          This method is called when the AST traversal is finished.
 void onObjectType(ObjectType objType, boolean isMarkedVersioned)
          This method is called whenever an object type node is traversed in the PDL AST.
 void onUnversionedProperty(Property property)
          This method is called whenever we traverse a property node of the PDL AST that is marked unversioned.
 void onVersionedProperty(Property property)
          This method is called whenever we traverse a property node of the PDL AST that is marked versioned.
 

Method Detail

onObjectType

public void onObjectType(ObjectType objType,
                         boolean isMarkedVersioned)
This method is called whenever an object type node is traversed in the PDL AST. To reiterate, this method is called upon visiting any object type, whereas onVersionedProperty(Property) and onUnversionedProperty(Property) are only called for a subset of property nodes.


onVersionedProperty

public void onVersionedProperty(Property property)
This method is called whenever we traverse a property node of the PDL AST that is marked versioned.


onUnversionedProperty

public void onUnversionedProperty(Property property)
This method is called whenever we traverse a property node of the PDL AST that is marked unversioned.


onFinish

public void onFinish()
This method is called when the AST traversal is finished.



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC