public class MailSessionTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, MailSessionType<T>
mail-sessionType
xsd typeConstructor 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 description
MailSessionType
public String getDescription()
description
elementgetDescription
in interface MailSessionType<T>
description
public MailSessionType<T> removeDescription()
description
elementremoveDescription
in interface MailSessionType<T>
MailSessionType
public MailSessionType<T> name(String name)
name
elementname
in interface MailSessionType<T>
name
- the value for the element name
MailSessionType
public String getName()
name
elementgetName
in interface MailSessionType<T>
name
public MailSessionType<T> removeName()
name
elementremoveName
in interface MailSessionType<T>
MailSessionType
public MailSessionType<T> storeProtocol(String storeProtocol)
store-protocol
elementstoreProtocol
in interface MailSessionType<T>
storeProtocol
- the value for the element store-protocol
MailSessionType
public String getStoreProtocol()
store-protocol
elementgetStoreProtocol
in interface MailSessionType<T>
store-protocol
public MailSessionType<T> removeStoreProtocol()
store-protocol
elementremoveStoreProtocol
in interface MailSessionType<T>
MailSessionType
public MailSessionType<T> storeProtocolClass(String storeProtocolClass)
store-protocol-class
elementstoreProtocolClass
in interface MailSessionType<T>
storeProtocolClass
- the value for the element store-protocol-class
MailSessionType
public String getStoreProtocolClass()
store-protocol-class
elementgetStoreProtocolClass
in interface MailSessionType<T>
store-protocol-class
public MailSessionType<T> removeStoreProtocolClass()
store-protocol-class
elementremoveStoreProtocolClass
in interface MailSessionType<T>
MailSessionType
public MailSessionType<T> transportProtocol(String transportProtocol)
transport-protocol
elementtransportProtocol
in interface MailSessionType<T>
transportProtocol
- the value for the element transport-protocol
MailSessionType
public String getTransportProtocol()
transport-protocol
elementgetTransportProtocol
in interface MailSessionType<T>
transport-protocol
public MailSessionType<T> removeTransportProtocol()
transport-protocol
elementremoveTransportProtocol
in interface MailSessionType<T>
MailSessionType
public MailSessionType<T> transportProtocolClass(String transportProtocolClass)
transport-protocol-class
elementtransportProtocolClass
in interface MailSessionType<T>
transportProtocolClass
- the value for the element transport-protocol-class
MailSessionType
public String getTransportProtocolClass()
transport-protocol-class
elementgetTransportProtocolClass
in interface MailSessionType<T>
transport-protocol-class
public MailSessionType<T> removeTransportProtocolClass()
transport-protocol-class
elementremoveTransportProtocolClass
in interface MailSessionType<T>
MailSessionType
public MailSessionType<T> host(String host)
host
elementhost
in interface MailSessionType<T>
host
- the value for the element host
MailSessionType
public String getHost()
host
elementgetHost
in interface MailSessionType<T>
host
public MailSessionType<T> removeHost()
host
elementremoveHost
in interface MailSessionType<T>
MailSessionType
public MailSessionType<T> user(String user)
user
elementuser
in interface MailSessionType<T>
user
- the value for the element user
MailSessionType
public String getUser()
user
elementgetUser
in interface MailSessionType<T>
user
public MailSessionType<T> removeUser()
user
elementremoveUser
in interface MailSessionType<T>
MailSessionType
public MailSessionType<T> password(String password)
password
elementpassword
in interface MailSessionType<T>
password
- the value for the element password
MailSessionType
public String getPassword()
password
elementgetPassword
in interface MailSessionType<T>
password
public MailSessionType<T> removePassword()
password
elementremovePassword
in interface MailSessionType<T>
MailSessionType
public MailSessionType<T> from(String from)
from
elementfrom
in interface MailSessionType<T>
from
- the value for the element from
MailSessionType
public String getFrom()
from
elementgetFrom
in interface MailSessionType<T>
from
public MailSessionType<T> removeFrom()
from
elementremoveFrom
in interface MailSessionType<T>
MailSessionType
public 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>
property
public PropertyType<MailSessionType<T>> createProperty()
property
elementcreateProperty
in interface MailSessionType<T>
PropertyType>
public List<PropertyType<MailSessionType<T>>> getAllProperty()
property
elementsgetAllProperty
in interface MailSessionType<T>
property
public 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 id
MailSessionType
public String getId()
id
attributegetId
in interface MailSessionType<T>
id
public MailSessionType<T> removeId()
id
attributeremoveId
in interface MailSessionType<T>
MailSessionType
Copyright © 2021 JBoss by Red Hat. All rights reserved.