public interface MailSessionType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
mail-sessionType
xsd typeType | 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 description
MailSessionType
String getDescription()
description
elementdescription
MailSessionType<T> removeDescription()
description
elementMailSessionType
MailSessionType<T> name(String name)
name
elementname
- the value for the element name
MailSessionType
String getName()
name
elementname
MailSessionType<T> removeName()
name
elementMailSessionType
MailSessionType<T> storeProtocol(String storeProtocol)
store-protocol
elementstoreProtocol
- the value for the element store-protocol
MailSessionType
String getStoreProtocol()
store-protocol
elementstore-protocol
MailSessionType<T> removeStoreProtocol()
store-protocol
elementMailSessionType
MailSessionType<T> storeProtocolClass(String storeProtocolClass)
store-protocol-class
elementstoreProtocolClass
- the value for the element store-protocol-class
MailSessionType
String getStoreProtocolClass()
store-protocol-class
elementstore-protocol-class
MailSessionType<T> removeStoreProtocolClass()
store-protocol-class
elementMailSessionType
MailSessionType<T> transportProtocol(String transportProtocol)
transport-protocol
elementtransportProtocol
- the value for the element transport-protocol
MailSessionType
String getTransportProtocol()
transport-protocol
elementtransport-protocol
MailSessionType<T> removeTransportProtocol()
transport-protocol
elementMailSessionType
MailSessionType<T> transportProtocolClass(String transportProtocolClass)
transport-protocol-class
elementtransportProtocolClass
- the value for the element transport-protocol-class
MailSessionType
String getTransportProtocolClass()
transport-protocol-class
elementtransport-protocol-class
MailSessionType<T> removeTransportProtocolClass()
transport-protocol-class
elementMailSessionType
MailSessionType<T> host(String host)
host
elementhost
- the value for the element host
MailSessionType
String getHost()
host
elementhost
MailSessionType<T> removeHost()
host
elementMailSessionType
MailSessionType<T> user(String user)
user
elementuser
- the value for the element user
MailSessionType
String getUser()
user
elementuser
MailSessionType<T> removeUser()
user
elementMailSessionType
MailSessionType<T> password(String password)
password
elementpassword
- the value for the element password
MailSessionType
String getPassword()
password
elementpassword
MailSessionType<T> removePassword()
password
elementMailSessionType
MailSessionType<T> from(String from)
from
elementfrom
- the value for the element from
MailSessionType
String getFrom()
from
elementfrom
MailSessionType<T> removeFrom()
from
elementMailSessionType
PropertyType<MailSessionType<T>> getOrCreateProperty()
property
element will be created and returned.
Otherwise, the first existing property
element will be returned.property
PropertyType<MailSessionType<T>> createProperty()
property
elementPropertyType>
List<PropertyType<MailSessionType<T>>> getAllProperty()
property
elementsproperty
MailSessionType<T> removeAllProperty()
property
elementsPropertyType>
MailSessionType<T> id(String id)
id
attributeid
- the value for the attribute id
MailSessionType
String getId()
id
attributeid
MailSessionType<T> removeId()
id
attributeMailSessionType
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)