Class PC_XenaVersion
java.lang.Object
org.apache.derby.impl.store.access.PC_XenaVersion
- All Implemented Interfaces:
Externalizable, Serializable, Formatable, TypedFormat
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintGet a universally unique identifier for the type of this object.private booleanisUpgradeNeeded(PC_XenaVersion fromVersion) voidtoString()voidupgradeIfNeeded(TransactionController tc, PropertyConglomerate pc, Properties serviceProperties) void
-
Field Details
-
XENA_MAJOR_VERSION
private static final int XENA_MAJOR_VERSION- See Also:
-
XENA_MINOR_VERSION_0
private static final int XENA_MINOR_VERSION_0- See Also:
-
minorVersion
private int minorVersion
-
-
Constructor Details
-
PC_XenaVersion
public PC_XenaVersion()
-
-
Method Details
-
isUpgradeNeeded
-
upgradeIfNeeded
public void upgradeIfNeeded(TransactionController tc, PropertyConglomerate pc, Properties serviceProperties) throws StandardException - Throws:
StandardException
-
getMajorVersionNumber
public int getMajorVersionNumber() -
getMinorVersionNumber
public int getMinorVersionNumber() -
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOException
-
getTypeFormatId
public int getTypeFormatId()Description copied from interface:TypedFormatGet a universally unique identifier for the type of this object.- Specified by:
getTypeFormatIdin interfaceTypedFormat- Returns:
- The identifier. (A UUID stuffed in an array of 16 bytes).
-
toString
-