Class EjbLocalRefTypeImpl<T>

java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee6.EjbLocalRefTypeImpl<T>
All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>, EjbLocalRefType<T>

public class EjbLocalRefTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, EjbLocalRefType<T>
This class implements the ejb-local-refType xsd type
  • Constructor Details

    • EjbLocalRefTypeImpl

      public EjbLocalRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
    • EjbLocalRefTypeImpl

      public EjbLocalRefTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
  • Method Details

    • up

      public T up()
      Specified by:
      up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
    • lookupName

      public EjbLocalRefType<T> lookupName(String lookupName)
      Sets the lookup-name element
      Specified by:
      lookupName in interface EjbLocalRefType<T>
      Parameters:
      lookupName - the value for the element lookup-name
      Returns:
      the current instance of EjbLocalRefType
    • getLookupName

      public String getLookupName()
      Returns the lookup-name element
      Specified by:
      getLookupName in interface EjbLocalRefType<T>
      Returns:
      the node defined for the element lookup-name
    • removeLookupName

      public EjbLocalRefType<T> removeLookupName()
      Removes the lookup-name element
      Specified by:
      removeLookupName in interface EjbLocalRefType<T>
      Returns:
      the current instance of EjbLocalRefType
    • mappedName

      public EjbLocalRefType<T> mappedName(String mappedName)
      Sets the mapped-name element
      Specified by:
      mappedName in interface EjbLocalRefType<T>
      Parameters:
      mappedName - the value for the element mapped-name
      Returns:
      the current instance of EjbLocalRefType
    • getMappedName

      public String getMappedName()
      Returns the mapped-name element
      Specified by:
      getMappedName in interface EjbLocalRefType<T>
      Returns:
      the node defined for the element mapped-name
    • removeMappedName

      public EjbLocalRefType<T> removeMappedName()
      Removes the mapped-name element
      Specified by:
      removeMappedName in interface EjbLocalRefType<T>
      Returns:
      the current instance of EjbLocalRefType
    • getOrCreateInjectionTarget

      public InjectionTargetType<EjbLocalRefType<T>> getOrCreateInjectionTarget()
      If not already created, a new injection-target element will be created and returned. Otherwise, the first existing injection-target element will be returned.
      Specified by:
      getOrCreateInjectionTarget in interface EjbLocalRefType<T>
      Returns:
      the instance defined for the element injection-target
    • createInjectionTarget

      public InjectionTargetType<EjbLocalRefType<T>> createInjectionTarget()
      Creates a new injection-target element
      Specified by:
      createInjectionTarget in interface EjbLocalRefType<T>
      Returns:
      the new created instance of InjectionTargetTypeinvalid input: '<'EjbLocalRefType>
    • getAllInjectionTarget

      public List<InjectionTargetType<EjbLocalRefType<T>>> getAllInjectionTarget()
      Returns all injection-target elements
      Specified by:
      getAllInjectionTarget in interface EjbLocalRefType<T>
      Returns:
      list of injection-target
    • removeAllInjectionTarget

      public EjbLocalRefType<T> removeAllInjectionTarget()
      Removes all injection-target elements
      Specified by:
      removeAllInjectionTarget in interface EjbLocalRefType<T>
      Returns:
      the current instance of InjectionTargetTypeinvalid input: '<'EjbLocalRefType>
    • description

      public EjbLocalRefType<T> description(String... values)
      Creates for all String objects representing description elements, a new description element
      Specified by:
      description in interface EjbLocalRefType<T>
      Parameters:
      values - list of description objects
      Returns:
      the current instance of EjbLocalRefType
    • getAllDescription

      public List<String> getAllDescription()
      Returns all description elements
      Specified by:
      getAllDescription in interface EjbLocalRefType<T>
      Returns:
      list of description
    • removeAllDescription

      public EjbLocalRefType<T> removeAllDescription()
      Removes the description element
      Specified by:
      removeAllDescription in interface EjbLocalRefType<T>
      Returns:
      the current instance of EjbLocalRefType
    • ejbRefName

      public EjbLocalRefType<T> ejbRefName(String ejbRefName)
      Sets the ejb-ref-name element
      Specified by:
      ejbRefName in interface EjbLocalRefType<T>
      Parameters:
      ejbRefName - the value for the element ejb-ref-name
      Returns:
      the current instance of EjbLocalRefType
    • getEjbRefName

      public String getEjbRefName()
      Returns the ejb-ref-name element
      Specified by:
      getEjbRefName in interface EjbLocalRefType<T>
      Returns:
      the node defined for the element ejb-ref-name
    • removeEjbRefName

      public EjbLocalRefType<T> removeEjbRefName()
      Removes the ejb-ref-name element
      Specified by:
      removeEjbRefName in interface EjbLocalRefType<T>
      Returns:
      the current instance of EjbLocalRefType
    • ejbRefType

      public EjbLocalRefType<T> ejbRefType(EjbRefTypeType ejbRefType)
      Sets the ejb-ref-type element
      Specified by:
      ejbRefType in interface EjbLocalRefType<T>
      Parameters:
      ejbRefType - the value for the element ejb-ref-type
      Returns:
      the current instance of EjbLocalRefType
    • ejbRefType

      public EjbLocalRefType<T> ejbRefType(String ejbRefType)
      Sets the ejb-ref-type element
      Specified by:
      ejbRefType in interface EjbLocalRefType<T>
      Parameters:
      ejbRefType - the value for the element ejb-ref-type
      Returns:
      the current instance of EjbLocalRefType
    • getEjbRefType

      public EjbRefTypeType getEjbRefType()
      Returns the ejb-ref-type element
      Specified by:
      getEjbRefType in interface EjbLocalRefType<T>
      Returns:
      the value found for the element ejb-ref-type
    • getEjbRefTypeAsString

      public String getEjbRefTypeAsString()
      Returns the ejb-ref-type element
      Specified by:
      getEjbRefTypeAsString in interface EjbLocalRefType<T>
      Returns:
      the value found for the element ejb-ref-type
    • removeEjbRefType

      public EjbLocalRefType<T> removeEjbRefType()
      Removes the ejb-ref-type attribute
      Specified by:
      removeEjbRefType in interface EjbLocalRefType<T>
      Returns:
      the current instance of EjbLocalRefType
    • localHome

      public EjbLocalRefType<T> localHome(String localHome)
      Sets the local-home element
      Specified by:
      localHome in interface EjbLocalRefType<T>
      Parameters:
      localHome - the value for the element local-home
      Returns:
      the current instance of EjbLocalRefType
    • getLocalHome

      public String getLocalHome()
      Returns the local-home element
      Specified by:
      getLocalHome in interface EjbLocalRefType<T>
      Returns:
      the node defined for the element local-home
    • removeLocalHome

      public EjbLocalRefType<T> removeLocalHome()
      Removes the local-home element
      Specified by:
      removeLocalHome in interface EjbLocalRefType<T>
      Returns:
      the current instance of EjbLocalRefType
    • local

      public EjbLocalRefType<T> local(String local)
      Sets the local element
      Specified by:
      local in interface EjbLocalRefType<T>
      Parameters:
      local - the value for the element local
      Returns:
      the current instance of EjbLocalRefType
    • getLocal

      public String getLocal()
      Returns the local element
      Specified by:
      getLocal in interface EjbLocalRefType<T>
      Returns:
      the node defined for the element local
    • removeLocal

      public EjbLocalRefType<T> removeLocal()
      Removes the local element
      Specified by:
      removeLocal in interface EjbLocalRefType<T>
      Returns:
      the current instance of EjbLocalRefType
    • ejbLink

      public EjbLocalRefType<T> ejbLink(String ejbLink)
      Sets the ejb-link element
      Specified by:
      ejbLink in interface EjbLocalRefType<T>
      Parameters:
      ejbLink - the value for the element ejb-link
      Returns:
      the current instance of EjbLocalRefType
    • getEjbLink

      public String getEjbLink()
      Returns the ejb-link element
      Specified by:
      getEjbLink in interface EjbLocalRefType<T>
      Returns:
      the node defined for the element ejb-link
    • removeEjbLink

      public EjbLocalRefType<T> removeEjbLink()
      Removes the ejb-link element
      Specified by:
      removeEjbLink in interface EjbLocalRefType<T>
      Returns:
      the current instance of EjbLocalRefType
    • id

      public EjbLocalRefType<T> id(String id)
      Sets the id attribute
      Specified by:
      id in interface EjbLocalRefType<T>
      Parameters:
      id - the value for the attribute id
      Returns:
      the current instance of EjbLocalRefType
    • getId

      public String getId()
      Returns the id attribute
      Specified by:
      getId in interface EjbLocalRefType<T>
      Returns:
      the value defined for the attribute id
    • removeId

      public EjbLocalRefType<T> removeId()
      Removes the id attribute
      Specified by:
      removeId in interface EjbLocalRefType<T>
      Returns:
      the current instance of EjbLocalRefType