org.apache.openejb.jee
Class RelationshipRoleSource

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

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

Field Detail

description

protected List<Text> description

ejbName

protected String ejbName

id

protected String id
Constructor Detail

RelationshipRoleSource

public RelationshipRoleSource()
Method Detail

getDescription

public List<Text> getDescription()

getEjbName

public String getEjbName()

setEjbName

public void setEjbName(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 String getId()

setId

public void setId(String value)


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