All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.shrinkwrap.descriptor.api.javaee7.MailSessionType Maven / Gradle / Ivy

The newest version!
package org.jboss.shrinkwrap.descriptor.api.javaee7; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.javaee7.PropertyType;
import org.jboss.shrinkwrap.descriptor.api.javaee.*;
/**
 * This interface defines the contract for the  mail-sessionType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 */
public interface MailSessionType extends Child, 
    JavaeeMailSessionCommonType,
    PropertyType>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MailSessionType ElementName: xsd:string ElementType : description
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the description element
    * @param description the value for the element description 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType description(String description);

   /**
    * Returns the description element
    * @return the node defined for the element description 
    */
   public String getDescription();

   /**
    * Removes the description element 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType removeDescription();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MailSessionType ElementName: xsd:token ElementType : name
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the name element
    * @param name the value for the element name 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType name(String name);

   /**
    * Returns the name element
    * @return the node defined for the element name 
    */
   public String getName();

   /**
    * Removes the name element 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType removeName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MailSessionType ElementName: xsd:token ElementType : store-protocol
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the store-protocol element
    * @param storeProtocol the value for the element store-protocol 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType storeProtocol(String storeProtocol);

   /**
    * Returns the store-protocol element
    * @return the node defined for the element store-protocol 
    */
   public String getStoreProtocol();

   /**
    * Removes the store-protocol element 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType removeStoreProtocol();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MailSessionType ElementName: xsd:token ElementType : store-protocol-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the store-protocol-class element
    * @param storeProtocolClass the value for the element store-protocol-class 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType storeProtocolClass(String storeProtocolClass);

   /**
    * Returns the store-protocol-class element
    * @return the node defined for the element store-protocol-class 
    */
   public String getStoreProtocolClass();

   /**
    * Removes the store-protocol-class element 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType removeStoreProtocolClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MailSessionType ElementName: xsd:token ElementType : transport-protocol
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the transport-protocol element
    * @param transportProtocol the value for the element transport-protocol 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType transportProtocol(String transportProtocol);

   /**
    * Returns the transport-protocol element
    * @return the node defined for the element transport-protocol 
    */
   public String getTransportProtocol();

   /**
    * Removes the transport-protocol element 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType removeTransportProtocol();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MailSessionType ElementName: xsd:token ElementType : transport-protocol-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the transport-protocol-class element
    * @param transportProtocolClass the value for the element transport-protocol-class 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType transportProtocolClass(String transportProtocolClass);

   /**
    * Returns the transport-protocol-class element
    * @return the node defined for the element transport-protocol-class 
    */
   public String getTransportProtocolClass();

   /**
    * Removes the transport-protocol-class element 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType removeTransportProtocolClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MailSessionType ElementName: xsd:token ElementType : host
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the host element
    * @param host the value for the element host 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType host(String host);

   /**
    * Returns the host element
    * @return the node defined for the element host 
    */
   public String getHost();

   /**
    * Removes the host element 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType removeHost();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MailSessionType ElementName: xsd:token ElementType : user
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the user element
    * @param user the value for the element user 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType user(String user);

   /**
    * Returns the user element
    * @return the node defined for the element user 
    */
   public String getUser();

   /**
    * Removes the user element 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType removeUser();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MailSessionType ElementName: xsd:token ElementType : password
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the password element
    * @param password the value for the element password 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType password(String password);

   /**
    * Returns the password element
    * @return the node defined for the element password 
    */
   public String getPassword();

   /**
    * Removes the password element 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType removePassword();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MailSessionType ElementName: xsd:token ElementType : from
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the from element
    * @param from the value for the element from 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType from(String from);

   /**
    * Returns the from element
    * @return the node defined for the element from 
    */
   public String getFrom();

   /**
    * Removes the from element 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType removeFrom();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MailSessionType ElementName: javaee:propertyType ElementType : property
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new property element will be created and returned.
    * Otherwise, the first existing property element will be returned.
    * @return the instance defined for the element property 
    */
   public PropertyType> getOrCreateProperty();

   /**
    * Creates a new property element 
    * @return the new created instance of PropertyType> 
    */
   public PropertyType> createProperty();

   /**
    * Returns all property elements
    * @return list of property 
    */
   public List>> getAllProperty();

   /**
    * Removes all property elements 
    * @return the current instance of PropertyType> 
    */
   public MailSessionType removeAllProperty();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: MailSessionType ElementName: xsd:ID ElementType : id
   // MaxOccurs: -  isGeneric: true   isAttribute: true isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the id attribute
    * @param id the value for the attribute id 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType id(String id);

   /**
    * Returns the id attribute
    * @return the value defined for the attribute id 
    */
   public String getId();

   /**
    * Removes the id attribute 
    * @return the current instance of MailSessionType 
    */
   public MailSessionType removeId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy