Class VersionHistoryColumnInfoImpl
- java.lang.Object
-
- com.healthmarketscience.jackcess.impl.complex.ComplexColumnInfoImpl<Version>
-
- com.healthmarketscience.jackcess.impl.complex.VersionHistoryColumnInfoImpl
-
- All Implemented Interfaces:
ComplexColumnInfo<Version>,VersionHistoryColumnInfo
public class VersionHistoryColumnInfoImpl extends ComplexColumnInfoImpl<Version> implements VersionHistoryColumnInfo
Complex column info for a column which tracking the version history of an "append only" memo column.Note, the strongly typed update/delete methods are not supported for version history columns (the data is supposed to be immutable). That said, the "raw" update/delete methods are supported for those that really want to muck with the version history data.
- Author:
- James Ahlborn
-
-
Field Summary
-
Fields inherited from class com.healthmarketscience.jackcess.impl.complex.ComplexColumnInfoImpl
INVALID_FK, INVALID_ID
-
-
Constructor Summary
Constructors Constructor Description VersionHistoryColumnInfoImpl(Column column, int complexId, Table typeObjTable, Table flatTable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteAllValues(int complexValueFk)voiddeleteValue(Version value)ColumngetModifiedDateColumn()ComplexDataTypegetType()ColumngetValueColumn()static VersionnewVersion(ComplexValueForeignKey complexValueFk, String value, Object modifiedDate)static VersionnewVersion(String value, Object modifiedDate)voidpostTableLoadInit()ComplexValue.IdupdateValue(Version value)-
Methods inherited from class com.healthmarketscience.jackcess.impl.complex.ComplexColumnInfoImpl
addRawValue, addValue, addValues, countValues, deleteAllValues, deleteRawValue, deleteValues, getColumn, getComplexValueForeignKeyColumn, getDatabase, getPrimaryKeyColumn, getRawValues, getRawValues, getValues, toString, updateRawValue, updateValues
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.healthmarketscience.jackcess.complex.ComplexColumnInfo
addRawValue, addValue, addValues, countValues, deleteAllValues, deleteRawValue, deleteValues, getRawValues, getRawValues, getValues, updateRawValue, updateValues
-
-
-
-
Constructor Detail
-
VersionHistoryColumnInfoImpl
public VersionHistoryColumnInfoImpl(Column column, int complexId, Table typeObjTable, Table flatTable) throws IOException
- Throws:
IOException
-
-
Method Detail
-
postTableLoadInit
public void postTableLoadInit() throws IOException- Overrides:
postTableLoadInitin classComplexColumnInfoImpl<Version>- Throws:
IOException
-
getValueColumn
public Column getValueColumn()
-
getModifiedDateColumn
public Column getModifiedDateColumn()
-
getType
public ComplexDataType getType()
- Specified by:
getTypein interfaceComplexColumnInfo<Version>- Specified by:
getTypein classComplexColumnInfoImpl<Version>
-
updateValue
public ComplexValue.Id updateValue(Version value)
- Specified by:
updateValuein interfaceComplexColumnInfo<Version>- Overrides:
updateValuein classComplexColumnInfoImpl<Version>
-
deleteValue
public void deleteValue(Version value)
- Specified by:
deleteValuein interfaceComplexColumnInfo<Version>- Overrides:
deleteValuein classComplexColumnInfoImpl<Version>
-
deleteAllValues
public void deleteAllValues(int complexValueFk)
- Specified by:
deleteAllValuesin interfaceComplexColumnInfo<Version>- Overrides:
deleteAllValuesin classComplexColumnInfoImpl<Version>
-
newVersion
public static Version newVersion(ComplexValueForeignKey complexValueFk, String value, Object modifiedDate)
-
-