|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EjbJarType
The ejb-jarType defines the root element of the EJB deployment descriptor. It contains - an optional description of the ejb-jar file - an optional display name - an optional icon that contains a small and a large icon file name - structural information about all included enterprise beans that is not specified through annotations - structural information about interceptor classes - a descriptor for container managed relationships, if any. - an optional application-assembly descriptor - an optional name of an ejb-client-jar file for the ejb-jar.
Java class for ejb-jarType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ejb-jarType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
<element name="enterprise-beans" type="{http://java.sun.com/xml/ns/javaee}enterprise-beansType" minOccurs="0"/>
<element name="interceptors" type="{http://java.sun.com/xml/ns/javaee}interceptorsType" minOccurs="0"/>
<element name="relationships" type="{http://java.sun.com/xml/ns/javaee}relationshipsType" minOccurs="0"/>
<element name="assembly-descriptor" type="{http://java.sun.com/xml/ns/javaee}assembly-descriptorType" minOccurs="0"/>
<element name="ejb-client-jar" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/>
</sequence>
<attribute name="version" use="required" type="{http://java.sun.com/xml/ns/javaee}dewey-versionType" fixed="3.0" />
<attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Method Summary | |
|---|---|
AssemblyDescriptorType |
getAssemblyDescriptor()
Gets the value of the assemblyDescriptor property. |
List<DescriptionType> |
getDescription()
Gets the value of the description property. |
List<DisplayNameType> |
getDisplayName()
Gets the value of the displayName property. |
PathType |
getEjbClientJar()
Gets the value of the ejbClientJar property. |
EnterpriseBeansType |
getEnterpriseBeans()
Gets the value of the enterpriseBeans property. |
List<IconType> |
getIcon()
Gets the value of the icon property. |
String |
getId()
Gets the value of the id property. |
InterceptorsType |
getInterceptors()
Gets the value of the interceptors property. |
RelationshipsType |
getRelationships()
Gets the value of the relationships property. |
String |
getVersion()
Gets the value of the version property. |
Boolean |
isMetadataComplete()
Gets the value of the metadataComplete property. |
void |
setAssemblyDescriptor(AssemblyDescriptorType value)
Sets the value of the assemblyDescriptor property. |
void |
setEjbClientJar(PathType value)
Sets the value of the ejbClientJar property. |
void |
setEnterpriseBeans(EnterpriseBeansType value)
Sets the value of the enterpriseBeans property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setInterceptors(InterceptorsType value)
Sets the value of the interceptors property. |
void |
setMetadataComplete(Boolean value)
Sets the value of the metadataComplete property. |
void |
setRelationships(RelationshipsType value)
Sets the value of the relationships property. |
void |
setVersion(String value)
Sets the value of the version property. |
| Method Detail |
|---|
List<DescriptionType> getDescription()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
List<DisplayNameType> getDisplayName()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the displayName property.
For example, to add a new item, do as follows:
getDisplayName().add(newItem);
Objects of the following type(s) are allowed in the list
DisplayNameType
List<IconType> getIcon()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the icon property.
For example, to add a new item, do as follows:
getIcon().add(newItem);
Objects of the following type(s) are allowed in the list
IconType
EnterpriseBeansType getEnterpriseBeans()
EnterpriseBeansTypevoid setEnterpriseBeans(EnterpriseBeansType value)
value - allowed object is
EnterpriseBeansTypeInterceptorsType getInterceptors()
InterceptorsTypevoid setInterceptors(InterceptorsType value)
value - allowed object is
InterceptorsTypeRelationshipsType getRelationships()
RelationshipsTypevoid setRelationships(RelationshipsType value)
value - allowed object is
RelationshipsTypeAssemblyDescriptorType getAssemblyDescriptor()
AssemblyDescriptorTypevoid setAssemblyDescriptor(AssemblyDescriptorType value)
value - allowed object is
AssemblyDescriptorTypePathType getEjbClientJar()
PathTypevoid setEjbClientJar(PathType value)
value - allowed object is
PathTypeString getVersion()
Stringvoid setVersion(String value)
value - allowed object is
StringBoolean isMetadataComplete()
Booleanvoid setMetadataComplete(Boolean value)
value - allowed object is
BooleanString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||