org.jboss.shrinkwrap.descriptor.api.jbosscommon51
Interface InjectionTargetType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
InjectionTargetTypeImpl

public interface InjectionTargetType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for the injection-targetType xsd type

Since:
Generation date :2011-07-19T22:54:35.59+02:00
Author:
Ralf Battenfeld

Method Summary
 java.lang.String getInjectionTargetClass()
          Returns the injection-target-class element
 java.lang.String getInjectionTargetName()
          Returns the injection-target-name element
 InjectionTargetType<T> removeInjectionTargetClass()
          Removes the injection-target-class element
 InjectionTargetType<T> removeInjectionTargetName()
          Removes the injection-target-name element
 InjectionTargetType<T> setInjectionTargetClass(java.lang.String injectionTargetClass)
          If not already created, a new injection-target-class element with the given value will be created.
 InjectionTargetType<T> setInjectionTargetName(java.lang.String injectionTargetName)
          If not already created, a new injection-target-name element with the given value will be created.
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

setInjectionTargetClass

InjectionTargetType<T> setInjectionTargetClass(java.lang.String injectionTargetClass)
If not already created, a new injection-target-class element with the given value will be created. Otherwise, the existing injection-target-class element will be updated with the given value.

Returns:
the current instance of InjectionTargetType

removeInjectionTargetClass

InjectionTargetType<T> removeInjectionTargetClass()
Removes the injection-target-class element

Returns:
the current instance of InjectionTargetType

getInjectionTargetClass

java.lang.String getInjectionTargetClass()
Returns the injection-target-class element

Returns:
the node defined for the element injection-target-class

setInjectionTargetName

InjectionTargetType<T> setInjectionTargetName(java.lang.String injectionTargetName)
If not already created, a new injection-target-name element with the given value will be created. Otherwise, the existing injection-target-name element will be updated with the given value.

Returns:
the current instance of InjectionTargetType

removeInjectionTargetName

InjectionTargetType<T> removeInjectionTargetName()
Removes the injection-target-name element

Returns:
the current instance of InjectionTargetType

getInjectionTargetName

java.lang.String getInjectionTargetName()
Returns the injection-target-name element

Returns:
the node defined for the element injection-target-name