public abstract class ComplexColumnInfoImpl<V extends ComplexValue> extends Object implements ComplexColumnInfo<V>
Modifier and Type | Field and Description |
---|---|
static ComplexValueForeignKey |
INVALID_FK |
static ComplexValue.Id |
INVALID_ID |
Modifier and Type | Method and Description |
---|---|
ComplexValue.Id |
addRawValue(Map<String,?> rawValue) |
ComplexValue.Id |
addValue(V value) |
void |
addValues(Collection<? extends V> values) |
int |
countValues(int complexValueFk) |
void |
deleteAllValues(ComplexValueForeignKey complexValueFk) |
void |
deleteAllValues(int complexValueFk) |
void |
deleteRawValue(Row rawValue) |
void |
deleteValue(V value) |
void |
deleteValues(Collection<? extends V> values) |
Column |
getColumn() |
Column |
getComplexValueForeignKeyColumn() |
Database |
getDatabase() |
Column |
getPrimaryKeyColumn() |
List<Row> |
getRawValues(int complexValueFk) |
List<Row> |
getRawValues(int complexValueFk,
Collection<String> columnNames) |
abstract ComplexDataType |
getType() |
List<V> |
getValues(ComplexValueForeignKey complexValueFk) |
void |
postTableLoadInit() |
String |
toString() |
ComplexValue.Id |
updateRawValue(Row rawValue) |
ComplexValue.Id |
updateValue(V value) |
void |
updateValues(Collection<? extends V> values) |
public static final ComplexValue.Id INVALID_ID
public static final ComplexValueForeignKey INVALID_FK
public void postTableLoadInit() throws IOException
IOException
public Column getColumn()
public Database getDatabase()
public Column getPrimaryKeyColumn()
public Column getComplexValueForeignKeyColumn()
public int countValues(int complexValueFk) throws IOException
countValues
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public List<Row> getRawValues(int complexValueFk) throws IOException
getRawValues
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public List<Row> getRawValues(int complexValueFk, Collection<String> columnNames) throws IOException
getRawValues
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public List<V> getValues(ComplexValueForeignKey complexValueFk) throws IOException
getValues
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public ComplexValue.Id addRawValue(Map<String,?> rawValue) throws IOException
addRawValue
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public ComplexValue.Id addValue(V value) throws IOException
addValue
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public void addValues(Collection<? extends V> values) throws IOException
addValues
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public ComplexValue.Id updateRawValue(Row rawValue) throws IOException
updateRawValue
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public ComplexValue.Id updateValue(V value) throws IOException
updateValue
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public void updateValues(Collection<? extends V> values) throws IOException
updateValues
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public void deleteRawValue(Row rawValue) throws IOException
deleteRawValue
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public void deleteValue(V value) throws IOException
deleteValue
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public void deleteValues(Collection<? extends V> values) throws IOException
deleteValues
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public void deleteAllValues(int complexValueFk) throws IOException
deleteAllValues
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public void deleteAllValues(ComplexValueForeignKey complexValueFk) throws IOException
deleteAllValues
in interface ComplexColumnInfo<V extends ComplexValue>
IOException
public abstract ComplexDataType getType()
getType
in interface ComplexColumnInfo<V extends ComplexValue>
Copyright © 2005–2024 OpenHMS. All rights reserved.