FileDocCategorySizeDatePackage
EntityEnterpriseBean.javaAPI DocJBoss 4.2.12451Fri Jul 13 20:53:56 BST 2007org.jboss.ejb3.metamodel

EntityEnterpriseBean

public class EntityEnterpriseBean extends EnterpriseBean
Represents an Entity EJB element of the ejb-jar.xml deployment descriptor for the 1.4 schema
author
William DeCoste
version
$Revision: 60233 $

Fields Summary
private String
persistenceType
private List
cmpFields
private List
queries
Constructors Summary
Methods Summary
public voidaddCmpField(CmpField cmpField)

      cmpFields.add(cmpField);
   
public voidaddQuery(Query query)

      queries.add(query);
   
public java.util.ListgetCmpFields()

      return cmpFields;
   
public java.lang.StringgetPersistenceType()


     
   
      return persistenceType;
   
public java.util.ListgetQueries()

      return queries;
   
public voidsetCmpFields(java.util.List cmpFields)

      this.cmpFields = cmpFields;
   
public voidsetPersistenceType(java.lang.String persistenceType)

      this.persistenceType = persistenceType;
   
public voidsetQueries(java.util.List queries)

      this.queries = queries;
   
public java.lang.StringtoString()

      StringBuffer sb = new StringBuffer(100);
      sb.append('[");
      sb.append(super.toString());
      sb.append(",");
      sb.append("persistenceType=").append(persistenceType);
      sb.append(']");
      return sb.toString();