org.apache.openejb.jee
Class RelationshipRoleSource

java.lang.Object
  extended by org.apache.openejb.jee.RelationshipRoleSource

public class RelationshipRoleSource
extends java.lang.Object

The relationship-role-sourceType designates the source of a role that participates in a relationship. A relationship-role-sourceType is used by relationship-role-source elements to uniquely identify an entity bean.


Field Summary
protected  java.util.List<Text> description
           
protected  java.lang.String ejbName
           
protected  java.lang.String id
           
 
Constructor Summary
RelationshipRoleSource()
           
 
Method Summary
 java.util.List<Text> getDescription()
           
 java.lang.String getEjbName()
           
 java.lang.String getId()
           
 void setEjbName(java.lang.String value)
          The ejb-nameType specifies an enterprise bean's name.
 void setId(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected java.util.List<Text> description

ejbName

protected java.lang.String ejbName

id

protected java.lang.String id
Constructor Detail

RelationshipRoleSource

public RelationshipRoleSource()
Method Detail

getDescription

public java.util.List<Text> getDescription()

getEjbName

public java.lang.String getEjbName()

setEjbName

public void setEjbName(java.lang.String value)
The ejb-nameType specifies an enterprise bean's name. It is used by ejb-name elements. This name is assigned by the ejb-jar file producer to name the enterprise bean in the ejb-jar file's deployment descriptor. The name must be unique among the names of the enterprise beans in the same ejb-jar file.

There is no architected relationship between the used ejb-name in the deployment descriptor and the JNDI name that the Deployer will assign to the enterprise bean's home.

The name for an entity bean must conform to the lexical rules for an NMTOKEN.

Example:

EmployeeService


getId

public java.lang.String getId()

setId

public void setId(java.lang.String value)


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.