JBoss Metadata EAR 7.2.0.Final

org.jboss.metadata.ear.spec
Class ModuleMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.NamedMetaData
          extended by org.jboss.metadata.ear.spec.ModuleMetaData
All Implemented Interfaces:
Serializable, Cloneable, IdMetaData, MappableMetaData

public class ModuleMetaData
extends NamedMetaData

Application module metadata

Version:
$Revision: 84989 $
Author:
Scott.Stark@jboss.org
See Also:
Serialized Form

Nested Class Summary
static class ModuleMetaData.ModuleType
           
 
Constructor Summary
ModuleMetaData()
           
 
Method Summary
 String getAlternativeDD()
           
 String getFileName()
           
 ModuleMetaData.ModuleType getType()
           
 String getUniqueName()
          Gets the unique name for this module, as assigned by a deployer in accordance with the EE 6 spec, Section EE.8.1.1.
 AbstractModule getValue()
           
 void setAlternativeDD(String altDD)
           
 void setUniqueName(String uniqueName)
          Sets the unique name for this module, as assigned by a deployer in accordance with the EE 6 spec, Section EE.8.1.1.
 void setValue(AbstractModule value)
           
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaData
equals, getKey, getName, hashCode, setName, toString
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, getId, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModuleMetaData

public ModuleMetaData()
Method Detail

getValue

public AbstractModule getValue()

setValue

public void setValue(AbstractModule value)

getAlternativeDD

public String getAlternativeDD()

setAlternativeDD

public void setAlternativeDD(String altDD)

getFileName

public String getFileName()

getType

public ModuleMetaData.ModuleType getType()

getUniqueName

public String getUniqueName()
Gets the unique name for this module, as assigned by a deployer in accordance with the EE 6 spec, Section EE.8.1.1. This value is not intended to be set via any deployment descriptor. See also https://jira.jboss.org/jira/browse/JBAS-7644

Returns:
the unique name of this module, distinct from the name of any other module associated with the same application, or null if the deployment processing logic has not assigned a unique name.

setUniqueName

public void setUniqueName(String uniqueName)
Sets the unique name for this module, as assigned by a deployer in accordance with the EE 6 spec, Section EE.8.1.1. This value is not intended to be set via any deployment descriptor. See also https://jira.jboss.org/jira/browse/JBAS-7644

param uniqueName the unique name of this module, distinct from the name of any other module associated with the same application


JBoss Metadata EAR 7.2.0.Final

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.