public class VersionHistoryColumnInfoImpl extends ComplexColumnInfoImpl<Version> implements VersionHistoryColumnInfo
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.
INVALID_FK, INVALID_ID| Constructor and Description |
|---|
VersionHistoryColumnInfoImpl(Column column,
int complexId,
Table typeObjTable,
Table flatTable) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllValues(int complexValueFk) |
void |
deleteValue(Version value) |
Column |
getModifiedDateColumn() |
ComplexDataType |
getType() |
Column |
getValueColumn() |
static Version |
newVersion(ComplexValueForeignKey complexValueFk,
String value,
Object modifiedDate) |
static Version |
newVersion(String value,
Object modifiedDate) |
void |
postTableLoadInit() |
ComplexValue.Id |
updateValue(Version value) |
addRawValue, addValue, addValues, countValues, deleteAllValues, deleteRawValue, deleteValues, getColumn, getComplexValueForeignKeyColumn, getDatabase, getPrimaryKeyColumn, getRawValues, getRawValues, getValues, toString, updateRawValue, updateValuesequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddRawValue, addValue, addValues, countValues, deleteAllValues, deleteRawValue, deleteValues, getRawValues, getRawValues, getValues, updateRawValue, updateValuespublic VersionHistoryColumnInfoImpl(Column column, int complexId, Table typeObjTable, Table flatTable) throws IOException
IOExceptionpublic void postTableLoadInit()
throws IOException
postTableLoadInit in class ComplexColumnInfoImpl<Version>IOExceptionpublic Column getValueColumn()
public Column getModifiedDateColumn()
public ComplexDataType getType()
getType in interface ComplexColumnInfo<Version>getType in class ComplexColumnInfoImpl<Version>public ComplexValue.Id updateValue(Version value)
updateValue in interface ComplexColumnInfo<Version>updateValue in class ComplexColumnInfoImpl<Version>public void deleteValue(Version value)
deleteValue in interface ComplexColumnInfo<Version>deleteValue in class ComplexColumnInfoImpl<Version>public void deleteAllValues(int complexValueFk)
deleteAllValues in interface ComplexColumnInfo<Version>deleteAllValues in class ComplexColumnInfoImpl<Version>public static Version newVersion(ComplexValueForeignKey complexValueFk, String value, Object modifiedDate)
Copyright © 2005–2025 OpenHMS. All rights reserved.