public class MailSessionTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, MailSessionType<T>
mail-sessionType xsd type| Constructor and Description |
|---|
MailSessionTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
MailSessionTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) |
| 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 |
T |
up() |
MailSessionType<T> |
user(String user)
Sets the
user element |
public MailSessionTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public MailSessionType<T> description(String description)
description elementdescription in interface MailSessionType<T>description - the value for the element descriptionMailSessionTypepublic String getDescription()
description elementgetDescription in interface MailSessionType<T>descriptionpublic MailSessionType<T> removeDescription()
description elementremoveDescription in interface MailSessionType<T>MailSessionTypepublic MailSessionType<T> name(String name)
name elementname in interface MailSessionType<T>name - the value for the element nameMailSessionTypepublic String getName()
name elementgetName in interface MailSessionType<T>namepublic MailSessionType<T> removeName()
name elementremoveName in interface MailSessionType<T>MailSessionTypepublic MailSessionType<T> storeProtocol(String storeProtocol)
store-protocol elementstoreProtocol in interface MailSessionType<T>storeProtocol - the value for the element store-protocolMailSessionTypepublic String getStoreProtocol()
store-protocol elementgetStoreProtocol in interface MailSessionType<T>store-protocolpublic MailSessionType<T> removeStoreProtocol()
store-protocol elementremoveStoreProtocol in interface MailSessionType<T>MailSessionTypepublic MailSessionType<T> storeProtocolClass(String storeProtocolClass)
store-protocol-class elementstoreProtocolClass in interface MailSessionType<T>storeProtocolClass - the value for the element store-protocol-classMailSessionTypepublic String getStoreProtocolClass()
store-protocol-class elementgetStoreProtocolClass in interface MailSessionType<T>store-protocol-classpublic MailSessionType<T> removeStoreProtocolClass()
store-protocol-class elementremoveStoreProtocolClass in interface MailSessionType<T>MailSessionTypepublic MailSessionType<T> transportProtocol(String transportProtocol)
transport-protocol elementtransportProtocol in interface MailSessionType<T>transportProtocol - the value for the element transport-protocolMailSessionTypepublic String getTransportProtocol()
transport-protocol elementgetTransportProtocol in interface MailSessionType<T>transport-protocolpublic MailSessionType<T> removeTransportProtocol()
transport-protocol elementremoveTransportProtocol in interface MailSessionType<T>MailSessionTypepublic MailSessionType<T> transportProtocolClass(String transportProtocolClass)
transport-protocol-class elementtransportProtocolClass in interface MailSessionType<T>transportProtocolClass - the value for the element transport-protocol-classMailSessionTypepublic String getTransportProtocolClass()
transport-protocol-class elementgetTransportProtocolClass in interface MailSessionType<T>transport-protocol-classpublic MailSessionType<T> removeTransportProtocolClass()
transport-protocol-class elementremoveTransportProtocolClass in interface MailSessionType<T>MailSessionTypepublic MailSessionType<T> host(String host)
host elementhost in interface MailSessionType<T>host - the value for the element hostMailSessionTypepublic String getHost()
host elementgetHost in interface MailSessionType<T>hostpublic MailSessionType<T> removeHost()
host elementremoveHost in interface MailSessionType<T>MailSessionTypepublic MailSessionType<T> user(String user)
user elementuser in interface MailSessionType<T>user - the value for the element userMailSessionTypepublic String getUser()
user elementgetUser in interface MailSessionType<T>userpublic MailSessionType<T> removeUser()
user elementremoveUser in interface MailSessionType<T>MailSessionTypepublic MailSessionType<T> password(String password)
password elementpassword in interface MailSessionType<T>password - the value for the element passwordMailSessionTypepublic String getPassword()
password elementgetPassword in interface MailSessionType<T>passwordpublic MailSessionType<T> removePassword()
password elementremovePassword in interface MailSessionType<T>MailSessionTypepublic MailSessionType<T> from(String from)
from elementfrom in interface MailSessionType<T>from - the value for the element fromMailSessionTypepublic String getFrom()
from elementgetFrom in interface MailSessionType<T>frompublic MailSessionType<T> removeFrom()
from elementremoveFrom in interface MailSessionType<T>MailSessionTypepublic PropertyType<MailSessionType<T>> getOrCreateProperty()
property element will be created and returned.
Otherwise, the first existing property element will be returned.getOrCreateProperty in interface MailSessionType<T>propertypublic PropertyType<MailSessionType<T>> createProperty()
property elementcreateProperty in interface MailSessionType<T>PropertyType> public List<PropertyType<MailSessionType<T>>> getAllProperty()
property elementsgetAllProperty in interface MailSessionType<T>propertypublic MailSessionType<T> removeAllProperty()
property elementsremoveAllProperty in interface MailSessionType<T>PropertyType> public MailSessionType<T> id(String id)
id attributeid in interface MailSessionType<T>id - the value for the attribute idMailSessionTypepublic String getId()
id attributegetId in interface MailSessionType<T>idpublic MailSessionType<T> removeId()
id attributeremoveId in interface MailSessionType<T>MailSessionTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.