|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IListMapping
Interface for mapping features with isMany() == true.
| Method Summary | |
|---|---|
java.util.Collection<org.eclipse.net4j.db.ddl.IDBTable> |
getDBTables()
Returns all DB tables which are used by this feature. |
org.eclipse.emf.ecore.EStructuralFeature |
getFeature()
Return the mapped feature. |
void |
objectRevised(IDBStoreAccessor accessor,
CDOID id,
long revised)
Hook with which a list mapping is notified that a containing object has been revised. |
void |
readChunks(IDBStoreChunkReader dbStoreChunkReader,
java.util.List<IStoreChunkReader.Chunk> chunks,
java.lang.String where)
Used to load-on-demand chunks of a list. |
void |
readValues(IDBStoreAccessor accessor,
InternalCDORevision revision,
int listChunk)
Read the list size and the complete list or the first part of it. |
void |
writeValues(IDBStoreAccessor accessor,
InternalCDORevision revision)
Write a complete list of values to the database. |
| Method Detail |
|---|
org.eclipse.emf.ecore.EStructuralFeature getFeature()
java.util.Collection<org.eclipse.net4j.db.ddl.IDBTable> getDBTables()
void writeValues(IDBStoreAccessor accessor,
InternalCDORevision revision)
accessor - the accessor to use.revision - the revision containing the list to be written.
void readValues(IDBStoreAccessor accessor,
InternalCDORevision revision,
int listChunk)
accessor - the accessor to use.revision - the revision into which the list values should be read.listChunk - indicating the lazy loading behavior: CDORevision.UNCHUNKED means that the whole list should be
read. Else, if listChunk >= 0, the list is filled with InternalCDOList.UNINITIALIZED
and only the first listChunk values are read.
void readChunks(IDBStoreChunkReader dbStoreChunkReader,
java.util.List<IStoreChunkReader.Chunk> chunks,
java.lang.String where)
dbStoreChunkReader - the chunkReader to usechunks - the chunks to readwhere - the where-clause to use in order to read the chunks.
void objectRevised(IDBStoreAccessor accessor,
CDOID id,
long revised)
accessor - the accessor to use.id - the ID of the object which has been revised.revised - the timestamp at which the object was revised.
|
Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||