Class MailSessionTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee7.MailSessionTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,MailSessionType<T>
public class MailSessionTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, MailSessionType<T>
This class implements the
mail-sessionType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionMailSessionTypeImpl(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) -
Method Summary
Modifier and TypeMethodDescriptionCreates a newpropertyelementdescription(String description) Sets thedescriptionelementSets thefromelementReturns allpropertyelementsReturns thedescriptionelementgetFrom()Returns thefromelementgetHost()Returns thehostelementgetId()Returns theidattributegetName()Returns thenameelementIf not already created, a newpropertyelement will be created and returned.Returns thepasswordelementReturns thestore-protocolelementReturns thestore-protocol-classelementReturns thetransport-protocolelementReturns thetransport-protocol-classelementgetUser()Returns theuserelementSets thehostelementSets theidattributeSets thenameelementSets thepasswordelementRemoves allpropertyelementsRemoves thedescriptionelementRemoves thefromelementRemoves thehostelementremoveId()Removes theidattributeRemoves thenameelementRemoves thepasswordelementRemoves thestore-protocolelementRemoves thestore-protocol-classelementRemoves thetransport-protocolelementRemoves thetransport-protocol-classelementRemoves theuserelementstoreProtocol(String storeProtocol) Sets thestore-protocolelementstoreProtocolClass(String storeProtocolClass) Sets thestore-protocol-classelementtransportProtocol(String transportProtocol) Sets thetransport-protocolelementtransportProtocolClass(String transportProtocolClass) Sets thetransport-protocol-classelementup()Sets theuserelement
-
Constructor Details
-
MailSessionTypeImpl
-
MailSessionTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
description
Sets thedescriptionelement- Specified by:
descriptionin interfaceMailSessionType<T>- Parameters:
description- the value for the elementdescription- Returns:
- the current instance of
MailSessionType
-
getDescription
Returns thedescriptionelement- Specified by:
getDescriptionin interfaceMailSessionType<T>- Returns:
- the node defined for the element
description
-
removeDescription
Removes thedescriptionelement- Specified by:
removeDescriptionin interfaceMailSessionType<T>- Returns:
- the current instance of
MailSessionType
-
name
Sets thenameelement- Specified by:
namein interfaceMailSessionType<T>- Parameters:
name- the value for the elementname- Returns:
- the current instance of
MailSessionType
-
getName
Returns thenameelement- Specified by:
getNamein interfaceMailSessionType<T>- Returns:
- the node defined for the element
name
-
removeName
Removes thenameelement- Specified by:
removeNamein interfaceMailSessionType<T>- Returns:
- the current instance of
MailSessionType
-
storeProtocol
Sets thestore-protocolelement- Specified by:
storeProtocolin interfaceMailSessionType<T>- Parameters:
storeProtocol- the value for the elementstore-protocol- Returns:
- the current instance of
MailSessionType
-
getStoreProtocol
Returns thestore-protocolelement- Specified by:
getStoreProtocolin interfaceMailSessionType<T>- Returns:
- the node defined for the element
store-protocol
-
removeStoreProtocol
Removes thestore-protocolelement- Specified by:
removeStoreProtocolin interfaceMailSessionType<T>- Returns:
- the current instance of
MailSessionType
-
storeProtocolClass
Sets thestore-protocol-classelement- Specified by:
storeProtocolClassin interfaceMailSessionType<T>- Parameters:
storeProtocolClass- the value for the elementstore-protocol-class- Returns:
- the current instance of
MailSessionType
-
getStoreProtocolClass
Returns thestore-protocol-classelement- Specified by:
getStoreProtocolClassin interfaceMailSessionType<T>- Returns:
- the node defined for the element
store-protocol-class
-
removeStoreProtocolClass
Removes thestore-protocol-classelement- Specified by:
removeStoreProtocolClassin interfaceMailSessionType<T>- Returns:
- the current instance of
MailSessionType
-
transportProtocol
Sets thetransport-protocolelement- Specified by:
transportProtocolin interfaceMailSessionType<T>- Parameters:
transportProtocol- the value for the elementtransport-protocol- Returns:
- the current instance of
MailSessionType
-
getTransportProtocol
Returns thetransport-protocolelement- Specified by:
getTransportProtocolin interfaceMailSessionType<T>- Returns:
- the node defined for the element
transport-protocol
-
removeTransportProtocol
Removes thetransport-protocolelement- Specified by:
removeTransportProtocolin interfaceMailSessionType<T>- Returns:
- the current instance of
MailSessionType
-
transportProtocolClass
Sets thetransport-protocol-classelement- Specified by:
transportProtocolClassin interfaceMailSessionType<T>- Parameters:
transportProtocolClass- the value for the elementtransport-protocol-class- Returns:
- the current instance of
MailSessionType
-
getTransportProtocolClass
Returns thetransport-protocol-classelement- Specified by:
getTransportProtocolClassin interfaceMailSessionType<T>- Returns:
- the node defined for the element
transport-protocol-class
-
removeTransportProtocolClass
Removes thetransport-protocol-classelement- Specified by:
removeTransportProtocolClassin interfaceMailSessionType<T>- Returns:
- the current instance of
MailSessionType
-
host
Sets thehostelement- Specified by:
hostin interfaceMailSessionType<T>- Parameters:
host- the value for the elementhost- Returns:
- the current instance of
MailSessionType
-
getHost
Returns thehostelement- Specified by:
getHostin interfaceMailSessionType<T>- Returns:
- the node defined for the element
host
-
removeHost
Removes thehostelement- Specified by:
removeHostin interfaceMailSessionType<T>- Returns:
- the current instance of
MailSessionType
-
user
Sets theuserelement- Specified by:
userin interfaceMailSessionType<T>- Parameters:
user- the value for the elementuser- Returns:
- the current instance of
MailSessionType
-
getUser
Returns theuserelement- Specified by:
getUserin interfaceMailSessionType<T>- Returns:
- the node defined for the element
user
-
removeUser
Removes theuserelement- Specified by:
removeUserin interfaceMailSessionType<T>- Returns:
- the current instance of
MailSessionType
-
password
Sets thepasswordelement- Specified by:
passwordin interfaceMailSessionType<T>- Parameters:
password- the value for the elementpassword- Returns:
- the current instance of
MailSessionType
-
getPassword
Returns thepasswordelement- Specified by:
getPasswordin interfaceMailSessionType<T>- Returns:
- the node defined for the element
password
-
removePassword
Removes thepasswordelement- Specified by:
removePasswordin interfaceMailSessionType<T>- Returns:
- the current instance of
MailSessionType
-
from
Sets thefromelement- Specified by:
fromin interfaceMailSessionType<T>- Parameters:
from- the value for the elementfrom- Returns:
- the current instance of
MailSessionType
-
getFrom
Returns thefromelement- Specified by:
getFromin interfaceMailSessionType<T>- Returns:
- the node defined for the element
from
-
removeFrom
Removes thefromelement- Specified by:
removeFromin interfaceMailSessionType<T>- Returns:
- the current instance of
MailSessionType
-
getOrCreateProperty
If not already created, a newpropertyelement will be created and returned. Otherwise, the first existingpropertyelement will be returned.- Specified by:
getOrCreatePropertyin interfaceMailSessionType<T>- Returns:
- the instance defined for the element
property
-
createProperty
Creates a newpropertyelement- Specified by:
createPropertyin interfaceMailSessionType<T>- Returns:
- the new created instance of
PropertyType<MailSessionType>
-
getAllProperty
Returns allpropertyelements- Specified by:
getAllPropertyin interfaceMailSessionType<T>- Returns:
- list of
property
-
removeAllProperty
Removes allpropertyelements- Specified by:
removeAllPropertyin interfaceMailSessionType<T>- Returns:
- the current instance of
PropertyType<MailSessionType>
-
id
Sets theidattribute- Specified by:
idin interfaceMailSessionType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
MailSessionType
-
getId
Returns theidattribute- Specified by:
getIdin interfaceMailSessionType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfaceMailSessionType<T>- Returns:
- the current instance of
MailSessionType
-