Class MailSessionTypeImpl<T>

java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee7.MailSessionTypeImpl<T>
All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>, MailSessionType<T>

public class MailSessionTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, MailSessionType<T>
This class implements the mail-sessionType xsd type
  • Constructor Details

    • MailSessionTypeImpl

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

      public MailSessionTypeImpl(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 MailSessionType<T> description(String description)
      Sets the description element
      Specified by:
      description in interface MailSessionType<T>
      Parameters:
      description - the value for the element description
      Returns:
      the current instance of MailSessionType
    • getDescription

      public String getDescription()
      Returns the description element
      Specified by:
      getDescription in interface MailSessionType<T>
      Returns:
      the node defined for the element description
    • removeDescription

      public MailSessionType<T> removeDescription()
      Removes the description element
      Specified by:
      removeDescription in interface MailSessionType<T>
      Returns:
      the current instance of MailSessionType
    • name

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

      public String getName()
      Returns the name element
      Specified by:
      getName in interface MailSessionType<T>
      Returns:
      the node defined for the element name
    • removeName

      public MailSessionType<T> removeName()
      Removes the name element
      Specified by:
      removeName in interface MailSessionType<T>
      Returns:
      the current instance of MailSessionType
    • storeProtocol

      public MailSessionType<T> storeProtocol(String storeProtocol)
      Sets the store-protocol element
      Specified by:
      storeProtocol in interface MailSessionType<T>
      Parameters:
      storeProtocol - the value for the element store-protocol
      Returns:
      the current instance of MailSessionType
    • getStoreProtocol

      public String getStoreProtocol()
      Returns the store-protocol element
      Specified by:
      getStoreProtocol in interface MailSessionType<T>
      Returns:
      the node defined for the element store-protocol
    • removeStoreProtocol

      public MailSessionType<T> removeStoreProtocol()
      Removes the store-protocol element
      Specified by:
      removeStoreProtocol in interface MailSessionType<T>
      Returns:
      the current instance of MailSessionType
    • storeProtocolClass

      public MailSessionType<T> storeProtocolClass(String storeProtocolClass)
      Sets the store-protocol-class element
      Specified by:
      storeProtocolClass in interface MailSessionType<T>
      Parameters:
      storeProtocolClass - the value for the element store-protocol-class
      Returns:
      the current instance of MailSessionType
    • getStoreProtocolClass

      public String getStoreProtocolClass()
      Returns the store-protocol-class element
      Specified by:
      getStoreProtocolClass in interface MailSessionType<T>
      Returns:
      the node defined for the element store-protocol-class
    • removeStoreProtocolClass

      public MailSessionType<T> removeStoreProtocolClass()
      Removes the store-protocol-class element
      Specified by:
      removeStoreProtocolClass in interface MailSessionType<T>
      Returns:
      the current instance of MailSessionType
    • transportProtocol

      public MailSessionType<T> transportProtocol(String transportProtocol)
      Sets the transport-protocol element
      Specified by:
      transportProtocol in interface MailSessionType<T>
      Parameters:
      transportProtocol - the value for the element transport-protocol
      Returns:
      the current instance of MailSessionType
    • getTransportProtocol

      public String getTransportProtocol()
      Returns the transport-protocol element
      Specified by:
      getTransportProtocol in interface MailSessionType<T>
      Returns:
      the node defined for the element transport-protocol
    • removeTransportProtocol

      public MailSessionType<T> removeTransportProtocol()
      Removes the transport-protocol element
      Specified by:
      removeTransportProtocol in interface MailSessionType<T>
      Returns:
      the current instance of MailSessionType
    • transportProtocolClass

      public MailSessionType<T> transportProtocolClass(String transportProtocolClass)
      Sets the transport-protocol-class element
      Specified by:
      transportProtocolClass in interface MailSessionType<T>
      Parameters:
      transportProtocolClass - the value for the element transport-protocol-class
      Returns:
      the current instance of MailSessionType
    • getTransportProtocolClass

      public String getTransportProtocolClass()
      Returns the transport-protocol-class element
      Specified by:
      getTransportProtocolClass in interface MailSessionType<T>
      Returns:
      the node defined for the element transport-protocol-class
    • removeTransportProtocolClass

      public MailSessionType<T> removeTransportProtocolClass()
      Removes the transport-protocol-class element
      Specified by:
      removeTransportProtocolClass in interface MailSessionType<T>
      Returns:
      the current instance of MailSessionType
    • host

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

      public String getHost()
      Returns the host element
      Specified by:
      getHost in interface MailSessionType<T>
      Returns:
      the node defined for the element host
    • removeHost

      public MailSessionType<T> removeHost()
      Removes the host element
      Specified by:
      removeHost in interface MailSessionType<T>
      Returns:
      the current instance of MailSessionType
    • user

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

      public String getUser()
      Returns the user element
      Specified by:
      getUser in interface MailSessionType<T>
      Returns:
      the node defined for the element user
    • removeUser

      public MailSessionType<T> removeUser()
      Removes the user element
      Specified by:
      removeUser in interface MailSessionType<T>
      Returns:
      the current instance of MailSessionType
    • password

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

      public String getPassword()
      Returns the password element
      Specified by:
      getPassword in interface MailSessionType<T>
      Returns:
      the node defined for the element password
    • removePassword

      public MailSessionType<T> removePassword()
      Removes the password element
      Specified by:
      removePassword in interface MailSessionType<T>
      Returns:
      the current instance of MailSessionType
    • from

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

      public String getFrom()
      Returns the from element
      Specified by:
      getFrom in interface MailSessionType<T>
      Returns:
      the node defined for the element from
    • removeFrom

      public MailSessionType<T> removeFrom()
      Removes the from element
      Specified by:
      removeFrom in interface MailSessionType<T>
      Returns:
      the current instance of MailSessionType
    • getOrCreateProperty

      public PropertyType<MailSessionType<T>> getOrCreateProperty()
      If not already created, a new property element will be created and returned. Otherwise, the first existing property element will be returned.
      Specified by:
      getOrCreateProperty in interface MailSessionType<T>
      Returns:
      the instance defined for the element property
    • createProperty

      public PropertyType<MailSessionType<T>> createProperty()
      Creates a new property element
      Specified by:
      createProperty in interface MailSessionType<T>
      Returns:
      the new created instance of PropertyTypeinvalid input: '<'MailSessionType>
    • getAllProperty

      public List<PropertyType<MailSessionType<T>>> getAllProperty()
      Returns all property elements
      Specified by:
      getAllProperty in interface MailSessionType<T>
      Returns:
      list of property
    • removeAllProperty

      public MailSessionType<T> removeAllProperty()
      Removes all property elements
      Specified by:
      removeAllProperty in interface MailSessionType<T>
      Returns:
      the current instance of PropertyTypeinvalid input: '<'MailSessionType>
    • id

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

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

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