FileDocCategorySizeDatePackage
EjbRelationshipRole.javaAPI DocJBoss 4.2.13185Fri Jul 13 20:53:58 BST 2007org.jboss.ejb3.metamodel

EjbRelationshipRole

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

Fields Summary
private String
ejbRelationshipRoleName
private String
multiplicity
private boolean
cascadeDelete
private List
ejbRelationshipRoles
private RelationshipRoleSource
relationshipRoleSource
private CmrField
cmrField
Constructors Summary
Methods Summary
public voidaddEjbRelationshipRole(org.jboss.ejb3.metamodel.EjbRelationshipRole role)

      ejbRelationshipRoles.add(role);
   
public CmrFieldgetCmrField()

      return cmrField;
   
public java.lang.StringgetEjbRelationshipRoleName()


     
   
      return ejbRelationshipRoleName;
   
public java.util.ListgetEjbRelationshipRoles()

      return ejbRelationshipRoles;
   
public java.lang.StringgetMultiplicity()

      return multiplicity;
   
public RelationshipRoleSourcegetRelationshipRoleSource()

      return relationshipRoleSource;
   
public booleanisCascadeDelete()

      return cascadeDelete;
   
public voidsetCascadeDelete(boolean cascadeDelete)

      this.cascadeDelete = cascadeDelete;
   
public voidsetCmrField(CmrField cmrField)

      this.cmrField = cmrField;
   
public voidsetEjbRelationshipRoleName(java.lang.String ejbRelationName)

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

      this.ejbRelationshipRoles = ejbRelationshipRoles;
   
public voidsetMultiplicity(java.lang.String multiplicity)

      this.multiplicity = multiplicity;
   
public voidsetRelationshipRoleSource(RelationshipRoleSource relationshipRoleSource)

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

      StringBuffer sb = new StringBuffer(100);
      sb.append("ejbRelationshipRoleName=").append(ejbRelationshipRoleName);
      return sb.toString();