org.nakedobjects.persistence.sql
Interface SqlCollectionMapper
- All Known Implementing Classes:
- AutoSqlCollectionMapper, DirectOneToManySqlCollectionMapper, IndirectOneToManySqlCollectionMapper
- public interface SqlCollectionMapper
add
public void add(java.lang.Object collectionOid,
NakedObject object)
throws ObjectStoreException
- Throws:
ObjectStoreException
containsElement
public boolean containsElement(java.lang.Object collectionOid,
NakedObject element)
throws ObjectStoreException
- Throws:
ObjectStoreException
isFirstElement
public boolean isFirstElement(java.lang.Object collectionOid,
NakedObject element)
throws ObjectStoreException
- Throws:
ObjectStoreException
isLastElement
public boolean isLastElement(java.lang.Object collectionOid,
NakedObject element)
throws ObjectStoreException
- Throws:
ObjectStoreException
nextElements
public java.util.Vector nextElements(java.lang.Object collectionOid,
NakedObject fromObject,
int count)
throws ObjectStoreException
- Throws:
ObjectStoreException
numberOfElements
public int numberOfElements(java.lang.Object collectionOid)
throws ObjectStoreException
- Throws:
ObjectStoreException
previousElements
public java.util.Vector previousElements(java.lang.Object collectionOid,
NakedObject toObject,
int count)
throws ObjectStoreException
- Throws:
ObjectStoreException
remove
public void remove(java.lang.Object collectionOid,
NakedObject object)
throws ObjectStoreException
- Throws:
ObjectStoreException