biz.hammurapi.sql
Interface Relationship
- All Known Implementing Classes:
- SimpleRelationship
public interface Relationship
- Author:
- Pavel Vlasov
load
void load(SQLProcessor processor,
java.util.Collection receiver)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
store
void store(SQLProcessor processor)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
add
void add(DatabaseObject item)
remove
void remove(IDatabaseObject item)
isLazy
boolean isLazy()
isModified
boolean isModified()
update
void update(SQLProcessor processor,
IDatabaseObject subItem)
throws java.sql.SQLException
- Updates modified relationship items.
- Parameters:
processor
- subItem
-
- Throws:
java.sql.SQLException
getItemType
java.lang.Class getItemType()
setMaster
void setMaster(java.util.Collection master)
- Callback method to propagate updates
- Parameters:
master
-
Copyright © 2003 Hammurapi Group. All Rights Reserved.