Class 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 Detail

      • 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 Detail

      • up

        public T up()
        Specified by:
        up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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