org.jboss.metadata.javaee.spec
Class AbstractEJBReferenceMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.NamedMetaData
          extended by org.jboss.metadata.javaee.spec.ResourceInjectionMetaData
              extended by org.jboss.metadata.javaee.support.ResourceInjectionMetaDataWithDescriptions
                  extended by org.jboss.metadata.javaee.spec.AbstractEJBReferenceMetaData
All Implemented Interfaces:
Serializable, Cloneable, IdMetaData, MappableMetaData
Direct Known Subclasses:
AnnotatedEJBReferenceMetaData, EJBLocalReferenceMetaData, EJBReferenceMetaData

public abstract class AbstractEJBReferenceMetaData
extends ResourceInjectionMetaDataWithDescriptions

AbstractEJBReferenceMetaData.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
AbstractEJBReferenceMetaData()
          Create a new EJBReferenceMetaData.
 
Method Summary
 String getEjbRefName()
          Get the ejbRefName.
 EJBReferenceType getEjbRefType()
          Get the type.
 String getLink()
          Get the link.
 String getType()
          Get the type.
 void merge(AbstractEJBReferenceMetaData override, AbstractEJBReferenceMetaData original)
          Merge the contents of override with original into this.
 void setEjbRefName(String ejbRefName)
          Set the ejbRefName.
 void setEjbRefType(EJBReferenceType type)
          Set the type.
 void setLink(String link)
          Set the link.
 
Methods inherited from class org.jboss.metadata.javaee.support.ResourceInjectionMetaDataWithDescriptions
getDescriptions, merge, setDescriptions
 
Methods inherited from class org.jboss.metadata.javaee.spec.ResourceInjectionMetaData
getIgnoreDependency, getInjectionTargets, getJndiName, getMappedName, getName, getResolvedJndiName, isDependencyIgnored, merge, setIgnoreDependency, setInjectionTargets, setJndiName, setMappedName, setResolvedJndiName
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaData
equals, getKey, hashCode, merge, setName, toString
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, getId, merge, merge, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractEJBReferenceMetaData

public AbstractEJBReferenceMetaData()
Create a new EJBReferenceMetaData.

Method Detail

getEjbRefName

public String getEjbRefName()
Get the ejbRefName.

Returns:
the ejbRefName.

setEjbRefName

public void setEjbRefName(String ejbRefName)
Set the ejbRefName.

Parameters:
ejbRefName - the ejbRefName.
Throws:
IllegalArgumentException - for a null ejbRefName

getEjbRefType

public EJBReferenceType getEjbRefType()
Get the type.

Returns:
the type.

setEjbRefType

public void setEjbRefType(EJBReferenceType type)
Set the type.

Parameters:
type - the type.
Throws:
IllegalArgumentException - for a null type

getType

public String getType()
Get the type.

Returns:
the type.

getLink

public String getLink()
Get the link.

Returns:
the link.

setLink

public void setLink(String link)
Set the link.

Parameters:
link - the link.
Throws:
IllegalArgumentException - for a null link

merge

public void merge(AbstractEJBReferenceMetaData override,
                  AbstractEJBReferenceMetaData original)
Merge the contents of override with original into this.

Parameters:
override - data which overrides original
original - the original data


Copyright © 2009 JBoss Inc.. All Rights Reserved.