EntityRelation.java :  » Testing » Ejb3Unit » com » bm » datagen » relation » Java Open Source

Java Open Source » Testing » Ejb3Unit 
Ejb3Unit » com » bm » datagen » relation » EntityRelation.java
package com.bm.datagen.relation;

/**
 * This interface represents entity beans which are used by other components ->
 * all used entity beans have to be registered before.
 * 
 * @author Daniel Wiese
 * 
 * @param <T> -
 *            the type of the bean
 */
public interface EntityRelation<T> {

  /**
   * Informations if other beans (types) are used.
   * 
   * @return a list of entity bean classes.
   */
  Class<T> getUsedBeans();

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.