View Javadoc

1   /*
2    * joey and its relative products are published under the terms
3    * of the Apache Software License.
4    * 
5    * Created on 2004/05/30 15:05:15
6    */
7   package org.asyrinx.joey.om.agent;
8   
9   import java.io.Serializable;
10  
11  /***
12   * @author akima
13   */
14  public interface AgentAssociation {
15  	public void addUsingAgent(Class agentClass);
16  
17  	public boolean canUseAgent(Object agent);
18  
19  	public void addLoaded(Serializable key, Object entity);
20  
21  	public boolean isLoaded(Object entity);
22  
23  	public boolean isLoaded(Serializable key, Class entityClass);
24  
25  	public Object getLoaded(Serializable key, Class entityClass);
26  
27  	public void clearLoaded();
28  
29  }