org.objectweb.easybeans.deployment.xml.struct.common
Class AbsResourceGroup

java.lang.Object
  extended by org.objectweb.easybeans.deployment.xml.struct.common.AbsResourceGroup
Direct Known Subclasses:
AbsEJBRef, ResourceEnvRef, ResourceRef

public class AbsResourceGroup
extends java.lang.Object

Defines the java EE resourceGroup type.
It defines mapped-name and injection-target

Author:
Florent Benoit

Field Summary
private  java.util.List<InjectionTarget> injectionTargetList
          Injection target (if any).
private  java.lang.String mappedName
          Mapped name.
 
Constructor Summary
AbsResourceGroup()
          Default constructor.
 
Method Summary
 void addInjectionTarget(InjectionTarget injectionTarget)
          Adds the igiven njection target value.
 java.util.List<InjectionTarget> getInjectionTargetList()
           
 java.lang.String getMappedName()
          Gets the mapped name.
 void setMappedName(java.lang.String mappedName)
          Set the mapped name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

injectionTargetList

private java.util.List<InjectionTarget> injectionTargetList
Injection target (if any).


mappedName

private java.lang.String mappedName
Mapped name.

Constructor Detail

AbsResourceGroup

public AbsResourceGroup()
Default constructor.

Method Detail

getMappedName

public java.lang.String getMappedName()
Gets the mapped name.

Returns:
the mapped name

setMappedName

public void setMappedName(java.lang.String mappedName)
Set the mapped name.

Parameters:
mappedName - the given mapped name.

getInjectionTargetList

public java.util.List<InjectionTarget> getInjectionTargetList()
Returns:
the injectionTarget list

addInjectionTarget

public void addInjectionTarget(InjectionTarget injectionTarget)
Adds the igiven njection target value.

Parameters:
injectionTarget - value of injectionTarget element