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, updateValues
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addRawValue, addValue, addValues, countValues, deleteAllValues, deleteRawValue, deleteValues, getRawValues, getRawValues, getValues, updateRawValue, updateValues
public VersionHistoryColumnInfoImpl(Column column, int complexId, Table typeObjTable, Table flatTable) throws IOException
IOException
public void postTableLoadInit() throws IOException
postTableLoadInit
in class ComplexColumnInfoImpl<Version>
IOException
public Column getValueColumn()
public Column getModifiedDateColumn()
public ComplexDataType getType()
getType
in interface ComplexColumnInfo<Version>
getType
in class ComplexColumnInfoImpl<Version>
public ComplexValue.Id updateValue(Version value) throws IOException
updateValue
in interface ComplexColumnInfo<Version>
updateValue
in class ComplexColumnInfoImpl<Version>
IOException
public void deleteValue(Version value) throws IOException
deleteValue
in interface ComplexColumnInfo<Version>
deleteValue
in class ComplexColumnInfoImpl<Version>
IOException
public void deleteAllValues(int complexValueFk) throws IOException
deleteAllValues
in interface ComplexColumnInfo<Version>
deleteAllValues
in class ComplexColumnInfoImpl<Version>
IOException
public static Version newVersion(ComplexValueForeignKey complexValueFk, String value, Object modifiedDate)
Copyright © 2005–2024 OpenHMS. All rights reserved.