com.sleepycat.persist.evolve
Class Mutation

java.lang.Object
  extended by com.sleepycat.persist.evolve.Mutation
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Conversion, Deleter, Renamer

public abstract class Mutation
extends java.lang.Object
implements java.io.Serializable

The base class for all mutations.

Author:
Mark Hayes
See Also:
Serialized Form

Constructor Summary
Mutation(java.lang.String className, int classVersion, java.lang.String fieldName)
           
 
Method Summary
 java.lang.String getClassName()
          Returns the class to which this mutation applies.
 int getClassVersion()
          Returns the class version to which this mutation applies.
 java.lang.String getFieldName()
          Returns the field name to which this mutation applies, or null if this mutation applies to the class itself.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mutation

Mutation(java.lang.String className,
         int classVersion,
         java.lang.String fieldName)
Method Detail

getClassName

public java.lang.String getClassName()
Returns the class to which this mutation applies.


getClassVersion

public int getClassVersion()
Returns the class version to which this mutation applies.


getFieldName

public java.lang.String getFieldName()
Returns the field name to which this mutation applies, or null if this mutation applies to the class itself.



Copyright 2004-2006 Sleepycat, Inc. All Rights Reserved.