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