Class EjbRefTypeImpl<T>

java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.j2ee14.EjbRefTypeImpl<T>
All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>, EjbRefType<T>

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

    • EjbRefTypeImpl

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

      public EjbRefTypeImpl(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>
    • description

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

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

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

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

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

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

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

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

      public EjbRefTypeType getEjbRefType()
      Returns the ejb-ref-type element
      Specified by:
      getEjbRefType in interface EjbRefType<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 EjbRefType<T>
      Returns:
      the value found for the element ejb-ref-type
    • removeEjbRefType

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

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

      public String getHome()
      Returns the home element
      Specified by:
      getHome in interface EjbRefType<T>
      Returns:
      the node defined for the element home
    • removeHome

      public EjbRefType<T> removeHome()
      Removes the home element
      Specified by:
      removeHome in interface EjbRefType<T>
      Returns:
      the current instance of EjbRefType
    • remote

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

      public String getRemote()
      Returns the remote element
      Specified by:
      getRemote in interface EjbRefType<T>
      Returns:
      the node defined for the element remote
    • removeRemote

      public EjbRefType<T> removeRemote()
      Removes the remote element
      Specified by:
      removeRemote in interface EjbRefType<T>
      Returns:
      the current instance of EjbRefType
    • ejbLink

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

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

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

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

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

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