public class MailServerConfigurationType extends Object implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
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>
Modifier and Type | Field and 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 and Description |
---|
MailServerConfigurationType()
Creates a new
MailServerConfigurationType instance. |
MailServerConfigurationType(MailServerConfigurationType o)
Creates a new
MailServerConfigurationType instance by deeply copying a given MailServerConfigurationType instance. |
Modifier and Type | Method and 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) |
finalize, getClass, notify, notifyAll, wait, wait, wait
visitPrismStructure
protected String host
protected Integer port
protected String username
protected ProtectedStringType password
protected MailTransportSecurityType transportSecurity
public static final QName COMPLEX_TYPE
public static final ItemName F_HOST
public static final ItemName F_PORT
public static final ItemName F_USERNAME
public static final ItemName F_PASSWORD
public static final ItemName F_TRANSPORT_SECURITY
public MailServerConfigurationType()
MailServerConfigurationType
instance.public MailServerConfigurationType(MailServerConfigurationType o)
MailServerConfigurationType
instance by deeply copying a given MailServerConfigurationType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public String getHost()
String
public void setHost(String value)
value
- allowed object is
String
public Integer getPort()
Integer
public void setPort(Integer value)
value
- allowed object is
Integer
public String getUsername()
String
public void setUsername(String value)
value
- allowed object is
String
public ProtectedStringType getPassword()
ProtectedStringType
public void setPassword(ProtectedStringType value)
value
- allowed object is
ProtectedStringType
public MailTransportSecurityType getTransportSecurity()
MailTransportSecurityType
public void setTransportSecurity(MailTransportSecurityType value)
value
- allowed object is
MailTransportSecurityType
public String toString()
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
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)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public MailServerConfigurationType host(String value)
public MailServerConfigurationType port(Integer value)
public MailServerConfigurationType username(String value)
public MailServerConfigurationType password(ProtectedStringType value)
public ProtectedStringType beginPassword()
public MailServerConfigurationType transportSecurity(MailTransportSecurityType value)
public void accept(JaxbVisitor visitor)
accept
in interface JaxbVisitable
public MailServerConfigurationType clone()
Copyright © 2021 Evolveum. All rights reserved.