Class MailServerConfigurationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.MailServerConfigurationType
-
- All Implemented Interfaces:
JaxbVisitable,Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.Equals,org.jvnet.jaxb2_commons.lang.HashCode
public class MailServerConfigurationType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Configuration of a particular mail server host.Java class for MailServerConfigurationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MailServerConfigurationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="host" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="port" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="username" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="password" type="{http://prism.evolveum.com/xml/ns/public/types-3}ProtectedStringType" minOccurs="0"/> <element name="transportSecurity" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MailTransportSecurityType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_HOSTstatic ItemNameF_PASSWORDstatic ItemNameF_PORTstatic ItemNameF_TRANSPORT_SECURITYstatic ItemNameF_USERNAMEprotected Stringhostprotected ProtectedStringTypepasswordprotected Integerportprotected MailTransportSecurityTypetransportSecurityprotected Stringusername
-
Constructor Summary
Constructors Constructor Description MailServerConfigurationType()Creates a newMailServerConfigurationTypeinstance.MailServerConfigurationType(MailServerConfigurationType o)Creates a newMailServerConfigurationTypeinstance by deeply copying a givenMailServerConfigurationTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)ProtectedStringTypebeginPassword()MailServerConfigurationTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)StringgetHost()Gets the value of the host property.ProtectedStringTypegetPassword()Gets the value of the password property.IntegergetPort()Gets the value of the port property.MailTransportSecurityTypegetTransportSecurity()Gets the value of the transportSecurity property.StringgetUsername()Gets the value of the username property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)MailServerConfigurationTypehost(String value)MailServerConfigurationTypepassword(ProtectedStringType value)MailServerConfigurationTypeport(Integer value)voidsetHost(String value)Sets the value of the host property.voidsetPassword(ProtectedStringType value)Sets the value of the password property.voidsetPort(Integer value)Sets the value of the port property.voidsetTransportSecurity(MailTransportSecurityType value)Sets the value of the transportSecurity property.voidsetUsername(String value)Sets the value of the username property.StringtoString()Generates a String representation of the contents of this type.MailServerConfigurationTypetransportSecurity(MailTransportSecurityType value)MailServerConfigurationTypeusername(String value)
-
-
-
Field Detail
-
host
protected String host
-
port
protected Integer port
-
username
protected String username
-
password
protected ProtectedStringType password
-
transportSecurity
protected MailTransportSecurityType transportSecurity
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_HOST
public static final ItemName F_HOST
-
F_PORT
public static final ItemName F_PORT
-
F_USERNAME
public static final ItemName F_USERNAME
-
F_PASSWORD
public static final ItemName F_PASSWORD
-
F_TRANSPORT_SECURITY
public static final ItemName F_TRANSPORT_SECURITY
-
-
Constructor Detail
-
MailServerConfigurationType
public MailServerConfigurationType()
Creates a newMailServerConfigurationTypeinstance.
-
MailServerConfigurationType
public MailServerConfigurationType(MailServerConfigurationType o)
Creates a newMailServerConfigurationTypeinstance by deeply copying a givenMailServerConfigurationTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
getHost
public String getHost()
Gets the value of the host property.- Returns:
- possible object is
String
-
setHost
public void setHost(String value)
Sets the value of the host property.- Parameters:
value- allowed object isString
-
getPort
public Integer getPort()
Gets the value of the port property.- Returns:
- possible object is
Integer
-
setPort
public void setPort(Integer value)
Sets the value of the port property.- Parameters:
value- allowed object isInteger
-
getUsername
public String getUsername()
Gets the value of the username property.- Returns:
- possible object is
String
-
setUsername
public void setUsername(String value)
Sets the value of the username property.- Parameters:
value- allowed object isString
-
getPassword
public ProtectedStringType getPassword()
Gets the value of the password property.- Returns:
- possible object is
ProtectedStringType
-
setPassword
public void setPassword(ProtectedStringType value)
Sets the value of the password property.- Parameters:
value- allowed object isProtectedStringType
-
getTransportSecurity
public MailTransportSecurityType getTransportSecurity()
Gets the value of the transportSecurity property.- Returns:
- possible object is
MailTransportSecurityType
-
setTransportSecurity
public void setTransportSecurity(MailTransportSecurityType value)
Sets the value of the transportSecurity property.- Parameters:
value- allowed object isMailTransportSecurityType
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals
-
host
public MailServerConfigurationType host(String value)
-
port
public MailServerConfigurationType port(Integer value)
-
username
public MailServerConfigurationType username(String value)
-
password
public MailServerConfigurationType password(ProtectedStringType value)
-
beginPassword
public ProtectedStringType beginPassword()
-
transportSecurity
public MailServerConfigurationType transportSecurity(MailTransportSecurityType value)
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable
-
clone
public MailServerConfigurationType clone()
Creates and returns a deep copy of this object.
-
-