com.healthmarketscience.jackcess.impl.complex
Class ComplexColumnInfoImpl.ComplexValueImpl
java.lang.Object
com.healthmarketscience.jackcess.impl.complex.ComplexColumnInfoImpl.ComplexValueImpl
- All Implemented Interfaces:
- ComplexValue
- Enclosing class:
- ComplexColumnInfoImpl<V extends ComplexValue>
protected abstract static class ComplexColumnInfoImpl.ComplexValueImpl
- extends Object
- implements ComplexValue
ComplexColumnInfoImpl.ComplexValueImpl
protected ComplexColumnInfoImpl.ComplexValueImpl(ComplexValue.Id id,
ComplexValueForeignKey complexValueFk)
getId
public ComplexValue.Id getId()
- Description copied from interface:
ComplexValue
- Returns the unique identifier of this complex value (this value is unique
among all values in all rows of the main table).
- Specified by:
getId in interface ComplexValue
- Returns:
- the current id or
ComplexColumnInfoImpl.INVALID_ID for a new,
unsaved value.
setId
public void setId(ComplexValue.Id id)
- Description copied from interface:
ComplexValue
- Called once when a new ComplexValue is saved to set the new unique
identifier.
- Specified by:
setId in interface ComplexValue
getComplexValueForeignKey
public ComplexValueForeignKey getComplexValueForeignKey()
- Description copied from interface:
ComplexValue
- Returns the foreign key identifier for this complex value (this value is
the same for all values in the same row of the main table).
- Specified by:
getComplexValueForeignKey in interface ComplexValue
- Returns:
- the current id or
ComplexColumnInfoImpl.INVALID_FK
for a new, unsaved value.
setComplexValueForeignKey
public void setComplexValueForeignKey(ComplexValueForeignKey complexValueFk)
- Specified by:
setComplexValueForeignKey in interface ComplexValue
getColumn
public Column getColumn()
- Specified by:
getColumn in interface ComplexValue
- Returns:
- the column in the main table with which this complex value is
associated
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
Copyright © 2005-2017 Health Market Science. All Rights Reserved.