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 QName
COMPLEX_TYPE
static ItemName
F_HOST
static ItemName
F_PASSWORD
static ItemName
F_PORT
static ItemName
F_TRANSPORT_SECURITY
static ItemName
F_USERNAME
protected String
host
protected ProtectedStringType
password
protected Integer
port
protected MailTransportSecurityType
transportSecurity
protected String
username
-
Constructor Summary
Constructors Constructor Description MailServerConfigurationType()
Creates a newMailServerConfigurationType
instance.MailServerConfigurationType(MailServerConfigurationType o)
Creates a newMailServerConfigurationType
instance by deeply copying a givenMailServerConfigurationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ProtectedStringType
beginPassword()
MailServerConfigurationType
clone()
Creates and returns a deep copy of this object.boolean
equals(Object object)
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)
String
getHost()
Gets the value of the host property.ProtectedStringType
getPassword()
Gets the value of the password property.Integer
getPort()
Gets the value of the port property.MailTransportSecurityType
getTransportSecurity()
Gets the value of the transportSecurity property.String
getUsername()
Gets the value of the username property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
MailServerConfigurationType
host(String value)
MailServerConfigurationType
password(ProtectedStringType value)
MailServerConfigurationType
port(Integer value)
void
setHost(String value)
Sets the value of the host property.void
setPassword(ProtectedStringType value)
Sets the value of the password property.void
setPort(Integer value)
Sets the value of the port property.void
setTransportSecurity(MailTransportSecurityType value)
Sets the value of the transportSecurity property.void
setUsername(String value)
Sets the value of the username property.String
toString()
Generates a String representation of the contents of this type.MailServerConfigurationType
transportSecurity(MailTransportSecurityType value)
MailServerConfigurationType
username(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 newMailServerConfigurationType
instance.
-
MailServerConfigurationType
public MailServerConfigurationType(MailServerConfigurationType o)
Creates a newMailServerConfigurationType
instance by deeply copying a givenMailServerConfigurationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
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:
hashCode
in 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:
equals
in 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:
accept
in interfaceJaxbVisitable
-
clone
public MailServerConfigurationType clone()
Creates and returns a deep copy of this object.
-
-