org.apache.derby.impl.store.access
Class PC_XenaVersion
java.lang.Object
org.apache.derby.impl.store.access.PC_XenaVersion
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Formatable, TypedFormat
public class PC_XenaVersion
- extends java.lang.Object
- implements Formatable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XENA_MAJOR_VERSION
private static final int XENA_MAJOR_VERSION
- See Also:
- Constant Field Values
XENA_MINOR_VERSION_0
private static final int XENA_MINOR_VERSION_0
- See Also:
- Constant Field Values
minorVersion
private int minorVersion
PC_XenaVersion
public PC_XenaVersion()
isUpgradeNeeded
private boolean isUpgradeNeeded(PC_XenaVersion fromVersion)
upgradeIfNeeded
public void upgradeIfNeeded(TransactionController tc,
PropertyConglomerate pc,
java.util.Properties serviceProperties)
throws StandardException
- Throws:
StandardException
getMajorVersionNumber
public int getMajorVersionNumber()
getMinorVersionNumber
public int getMinorVersionNumber()
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
getTypeFormatId
public int getTypeFormatId()
- Description copied from interface:
TypedFormat
- Get a universally unique identifier for the type of
this object.
- Specified by:
getTypeFormatId
in interface TypedFormat
- Returns:
- The identifier. (A UUID stuffed in an array
of 16 bytes).
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.