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

EjbRelation

public class EjbRelation extends Object
Represents an ejb-relation element of the ejb-jar.xml deployment descriptor for the 1.4 schema
author
William DeCoste
version
$Revision: 60233 $

Fields Summary
private String
ejbRelationName
private List
ejbRelationshipRoles
Constructors Summary
Methods Summary
public voidaddEjbRelationshipRole(EjbRelationshipRole role)

      ejbRelationshipRoles.add(role);
   
public java.lang.StringgetEjbRelationName()


     
   
      return ejbRelationName;
   
public java.util.ListgetEjbRelationshipRoles()

      return ejbRelationshipRoles;
   
public voidsetEjbRelationName(java.lang.String ejbRelationName)

      this.ejbRelationName = ejbRelationName;
   
public voidsetEjbRelationshipRoles(java.util.List ejbRelationshipRoles)

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

      StringBuffer sb = new StringBuffer(100);
      sb.append("[");
      sb.append("ejbRelationName=").append(ejbRelationName);
      sb.append("]");
      return sb.toString();