final PersistenceFieldElement getPersistenceFieldElement () { return ((MappingClassElementImpl)getDeclaringClass()). getPersistenceElement().getField(getName()); }
final PersistenceFieldElement getPersistenceFieldElement () { return ((MappingClassElementImpl)getDeclaringClass()). getPersistenceElement().getField(getName()); }
/** Returns the list of columns (ColumnElements) to which this mapping * field is mapped. This method should only be used by the runtime. * @return the columns mapped by this mapping field */ public ArrayList getColumnObjects () { //@olsen: compute objects on access if (_columnObjects == null) { //@olsen: calculate the column objects based on // the column names as stored in _columns //_columnObjects = new ArrayList(); _columnObjects = MappingClassElementImpl.toColumnObjects( getDeclaringClass().getDatabaseRoot(), getColumns()); } return _columnObjects; }
/** Returns the list of columns (ColumnElements) to which this mapping * field is mapped. This method should only be used by the runtime. * @return the columns mapped by this mapping field */ public ArrayList getColumnObjects () { //@olsen: compute objects on access if (_columnObjects == null) { //@olsen: calculate the column objects based on // the column names as stored in _columns //_columnObjects = new ArrayList(); _columnObjects = MappingClassElementImpl.toColumnObjects( getDeclaringClass().getDatabaseRoot(), getColumns()); } return _columnObjects; }