Interface MailSessionType<T>

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

public interface MailSessionType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the mail-sessionType xsd type
  • Method Details

    • description

      MailSessionType<T> description(String description)
      Sets the description element
      Parameters:
      description - the value for the element description
      Returns:
      the current instance of MailSessionType
    • getDescription

      String getDescription()
      Returns the description element
      Returns:
      the node defined for the element description
    • removeDescription

      MailSessionType<T> removeDescription()
      Removes the description element
      Returns:
      the current instance of MailSessionType
    • name

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

      String getName()
      Returns the name element
      Returns:
      the node defined for the element name
    • removeName

      MailSessionType<T> removeName()
      Removes the name element
      Returns:
      the current instance of MailSessionType
    • storeProtocol

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

      String getStoreProtocol()
      Returns the store-protocol element
      Returns:
      the node defined for the element store-protocol
    • removeStoreProtocol

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

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

      String getStoreProtocolClass()
      Returns the store-protocol-class element
      Returns:
      the node defined for the element store-protocol-class
    • removeStoreProtocolClass

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

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

      String getTransportProtocol()
      Returns the transport-protocol element
      Returns:
      the node defined for the element transport-protocol
    • removeTransportProtocol

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

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

      String getTransportProtocolClass()
      Returns the transport-protocol-class element
      Returns:
      the node defined for the element transport-protocol-class
    • removeTransportProtocolClass

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

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

      String getHost()
      Returns the host element
      Returns:
      the node defined for the element host
    • removeHost

      MailSessionType<T> removeHost()
      Removes the host element
      Returns:
      the current instance of MailSessionType
    • user

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

      String getUser()
      Returns the user element
      Returns:
      the node defined for the element user
    • removeUser

      MailSessionType<T> removeUser()
      Removes the user element
      Returns:
      the current instance of MailSessionType
    • password

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

      String getPassword()
      Returns the password element
      Returns:
      the node defined for the element password
    • removePassword

      MailSessionType<T> removePassword()
      Removes the password element
      Returns:
      the current instance of MailSessionType
    • from

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

      String getFrom()
      Returns the from element
      Returns:
      the node defined for the element from
    • removeFrom

      MailSessionType<T> removeFrom()
      Removes the from element
      Returns:
      the current instance of MailSessionType
    • getOrCreateProperty

      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.
      Returns:
      the instance defined for the element property
    • createProperty

      PropertyType<MailSessionType<T>> createProperty()
      Creates a new property element
      Returns:
      the new created instance of PropertyType<MailSessionType>
    • getAllProperty

      List<PropertyType<MailSessionType<T>>> getAllProperty()
      Returns all property elements
      Returns:
      list of property
    • removeAllProperty

      MailSessionType<T> removeAllProperty()
      Removes all property elements
      Returns:
      the current instance of PropertyType<MailSessionType>
    • id

      Sets the id attribute
      Parameters:
      id - the value for the attribute id
      Returns:
      the current instance of MailSessionType
    • getId

      String getId()
      Returns the id attribute
      Returns:
      the value defined for the attribute id
    • removeId

      MailSessionType<T> removeId()
      Removes the id attribute
      Returns:
      the current instance of MailSessionType