public interface MailSessionType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
mail-sessionType xsd type| Type | Property and Description |
|---|---|
PropertyType<MailSessionType<T>> |
create
Creates a new
property element |
MailSessionType<T> |
removeAll
Removes all
property elements |
| Modifier and Type | Method and Description |
|---|---|
PropertyType<MailSessionType<T>> |
createProperty()
Creates a new
property element |
MailSessionType<T> |
description(String description)
Sets the
description element |
MailSessionType<T> |
from(String from)
Sets the
from element |
List<PropertyType<MailSessionType<T>>> |
getAllProperty()
Returns all
property elements |
String |
getDescription()
Returns the
description element |
String |
getFrom()
Returns the
from element |
String |
getHost()
Returns the
host element |
String |
getId()
Returns the
id attribute |
String |
getName()
Returns the
name element |
PropertyType<MailSessionType<T>> |
getOrCreateProperty()
If not already created, a new
property element will be created and returned. |
String |
getPassword()
Returns the
password element |
String |
getStoreProtocol()
Returns the
store-protocol element |
String |
getStoreProtocolClass()
Returns the
store-protocol-class element |
String |
getTransportProtocol()
Returns the
transport-protocol element |
String |
getTransportProtocolClass()
Returns the
transport-protocol-class element |
String |
getUser()
Returns the
user element |
MailSessionType<T> |
host(String host)
Sets the
host element |
MailSessionType<T> |
id(String id)
Sets the
id attribute |
MailSessionType<T> |
name(String name)
Sets the
name element |
MailSessionType<T> |
password(String password)
Sets the
password element |
MailSessionType<T> |
removeAllProperty()
Removes all
property elements |
MailSessionType<T> |
removeDescription()
Removes the
description element |
MailSessionType<T> |
removeFrom()
Removes the
from element |
MailSessionType<T> |
removeHost()
Removes the
host element |
MailSessionType<T> |
removeId()
Removes the
id attribute |
MailSessionType<T> |
removeName()
Removes the
name element |
MailSessionType<T> |
removePassword()
Removes the
password element |
MailSessionType<T> |
removeStoreProtocol()
Removes the
store-protocol element |
MailSessionType<T> |
removeStoreProtocolClass()
Removes the
store-protocol-class element |
MailSessionType<T> |
removeTransportProtocol()
Removes the
transport-protocol element |
MailSessionType<T> |
removeTransportProtocolClass()
Removes the
transport-protocol-class element |
MailSessionType<T> |
removeUser()
Removes the
user element |
MailSessionType<T> |
storeProtocol(String storeProtocol)
Sets the
store-protocol element |
MailSessionType<T> |
storeProtocolClass(String storeProtocolClass)
Sets the
store-protocol-class element |
MailSessionType<T> |
transportProtocol(String transportProtocol)
Sets the
transport-protocol element |
MailSessionType<T> |
transportProtocolClass(String transportProtocolClass)
Sets the
transport-protocol-class element |
MailSessionType<T> |
user(String user)
Sets the
user element |
property elementPropertyType> property elementsPropertyType> MailSessionType<T> description(String description)
description elementdescription - the value for the element descriptionMailSessionTypeString getDescription()
description elementdescriptionMailSessionType<T> removeDescription()
description elementMailSessionTypeMailSessionType<T> name(String name)
name elementname - the value for the element nameMailSessionTypeString getName()
name elementnameMailSessionType<T> removeName()
name elementMailSessionTypeMailSessionType<T> storeProtocol(String storeProtocol)
store-protocol elementstoreProtocol - the value for the element store-protocolMailSessionTypeString getStoreProtocol()
store-protocol elementstore-protocolMailSessionType<T> removeStoreProtocol()
store-protocol elementMailSessionTypeMailSessionType<T> storeProtocolClass(String storeProtocolClass)
store-protocol-class elementstoreProtocolClass - the value for the element store-protocol-classMailSessionTypeString getStoreProtocolClass()
store-protocol-class elementstore-protocol-classMailSessionType<T> removeStoreProtocolClass()
store-protocol-class elementMailSessionTypeMailSessionType<T> transportProtocol(String transportProtocol)
transport-protocol elementtransportProtocol - the value for the element transport-protocolMailSessionTypeString getTransportProtocol()
transport-protocol elementtransport-protocolMailSessionType<T> removeTransportProtocol()
transport-protocol elementMailSessionTypeMailSessionType<T> transportProtocolClass(String transportProtocolClass)
transport-protocol-class elementtransportProtocolClass - the value for the element transport-protocol-classMailSessionTypeString getTransportProtocolClass()
transport-protocol-class elementtransport-protocol-classMailSessionType<T> removeTransportProtocolClass()
transport-protocol-class elementMailSessionTypeMailSessionType<T> host(String host)
host elementhost - the value for the element hostMailSessionTypeString getHost()
host elementhostMailSessionType<T> removeHost()
host elementMailSessionTypeMailSessionType<T> user(String user)
user elementuser - the value for the element userMailSessionTypeString getUser()
user elementuserMailSessionType<T> removeUser()
user elementMailSessionTypeMailSessionType<T> password(String password)
password elementpassword - the value for the element passwordMailSessionTypeString getPassword()
password elementpasswordMailSessionType<T> removePassword()
password elementMailSessionTypeMailSessionType<T> from(String from)
from elementfrom - the value for the element fromMailSessionTypeString getFrom()
from elementfromMailSessionType<T> removeFrom()
from elementMailSessionTypePropertyType<MailSessionType<T>> getOrCreateProperty()
property element will be created and returned.
Otherwise, the first existing property element will be returned.propertyPropertyType<MailSessionType<T>> createProperty()
property elementPropertyType> List<PropertyType<MailSessionType<T>>> getAllProperty()
property elementspropertyMailSessionType<T> removeAllProperty()
property elementsPropertyType> MailSessionType<T> id(String id)
id attributeid - the value for the attribute idMailSessionTypeString getId()
id attributeidMailSessionType<T> removeId()
id attributeMailSessionTypeCopyright © 2013 IronJacamar (http://www.ironjacamar.org)