Class RelationshipRoleSource


  • public class RelationshipRoleSource
    extends Object
    ejb-jar_3_1.xsd

    Java class for relationship-role-sourceType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="relationship-role-sourceType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
             <element name="ejb-name" type="{http://java.sun.com/xml/ns/javaee}ejb-nameType"/>
           </sequence>
           <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • description

        protected TextMap description
      • ejbName

        protected String ejbName
    • Constructor Detail

      • RelationshipRoleSource

        public RelationshipRoleSource()
    • Method Detail

      • getDescriptions

        public Text[] getDescriptions()
      • setDescriptions

        public void setDescriptions​(Text[] text)
      • getDescription

        public String 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)