javax.enterprise.deploy.model
Interface DDBeanRoot

All Superinterfaces:
DDBean (src)

public interface DDBeanRoot
extends DDBean (src)

The root of a DDBean tree (a standard deployment descriptor)


Method Summary
 java.lang.String getDDBeanRootVersion()
          Return the version number of the j2ee xml document
 DeployableObject (src) getDeployableObject()
          Get the deployable object for this descriptor
 java.lang.String getFilename()
          Returns the filename relative to the root of the module this XML instance document.
 java.lang.String getModuleDTDVersion()
          Deprecated. use getDDBeanRootVersion
 ModuleType (src) getType()
          Return the module type of this descriptor
 java.lang.String getXpath()
          Returns the xpath, the root path is "/"
 
Methods inherited from interface javax.enterprise.deploy.model.DDBean (src)
addXpathListener, getAttributeNames, getAttributeValue, getChildBean, getId, getRoot, getText, getText, removeXpathListener
 

Method Detail

getType

public ModuleType (src)  getType()
Return the module type of this descriptor

Returns:
the module type

getDeployableObject

public DeployableObject (src)  getDeployableObject()
Get the deployable object for this descriptor

Returns:
the deployable object

getModuleDTDVersion

public java.lang.String getModuleDTDVersion()
Deprecated. use getDDBeanRootVersion

A convenience method for information on the deployable object

Returns:
the dtd version

getDDBeanRootVersion

public java.lang.String getDDBeanRootVersion()
Return the version number of the j2ee xml document

Returns:
the version

getXpath

public java.lang.String getXpath()
Returns the xpath, the root path is "/"

Specified by:
getXpath in interface DDBean (src)
Returns:
the root path "/"

getFilename

public java.lang.String getFilename()
Returns the filename relative to the root of the module this XML instance document.

Returns:
The file name relative to the root of the module