net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee
Class EjbNameType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.XsdNMTOKENType
      extended by net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.EjbNameType
All Implemented Interfaces:
Serializable, Cloneable

public class EjbNameType
extends XsdNMTOKENType
implements Serializable, Cloneable

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

Java class for ejb-nameType complex type.

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

 <complexType name="ejb-nameType">
   <simpleContent>
     <restriction base="<http://java.sun.com/xml/ns/javaee>xsdNMTOKENType">
     </restriction>
   </simpleContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.XsdNMTOKENType
id, value
 
Constructor Summary
EjbNameType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.EjbNameType instance.
EjbNameType(EjbNameType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.EjbNameType instance by copying a given instance.
 
Method Summary
 EjbNameType clone()
          Creates and returns a copy of this object.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.XsdNMTOKENType
getId, getValue, setId, setValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbNameType

public EjbNameType()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.EjbNameType instance.


EjbNameType

public EjbNameType(EjbNameType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.javaee.EjbNameType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

clone

public EjbNameType clone()
Creates and returns a copy of this object.

Overrides:
clone in class XsdNMTOKENType
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.