public class MailConfigurationType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Java class for MailConfigurationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MailConfigurationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="server" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MailServerConfigurationType" maxOccurs="unbounded" minOccurs="0"/> <element name="defaultFrom" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="debug" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="redirectToFile" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="logToFile" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
protected Boolean |
debug |
protected String |
defaultFrom |
static QName |
F_DEBUG |
static QName |
F_DEFAULT_FROM |
static QName |
F_LOG_TO_FILE |
static QName |
F_REDIRECT_TO_FILE |
static QName |
F_SERVER |
protected String |
logToFile |
protected String |
redirectToFile |
protected List<MailServerConfigurationType> |
server |
Constructor and Description |
---|
MailConfigurationType()
Creates a new
MailConfigurationType instance. |
MailConfigurationType(MailConfigurationType o)
Creates a new
MailConfigurationType instance by deeply copying a given MailConfigurationType instance. |
Modifier and Type | Method and Description |
---|---|
MailServerConfigurationType |
beginServer() |
MailConfigurationType |
clone()
Creates and returns a deep copy of this object.
|
MailConfigurationType |
debug(Boolean value) |
MailConfigurationType |
defaultFrom(String value) |
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 |
getDefaultFrom()
Gets the value of the defaultFrom property.
|
String |
getLogToFile()
Gets the value of the logToFile property.
|
String |
getRedirectToFile()
Gets the value of the redirectToFile property.
|
List<MailServerConfigurationType> |
getServer()
Gets the value of the server property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
Boolean |
isDebug()
Gets the value of the debug property.
|
MailConfigurationType |
logToFile(String value) |
MailConfigurationType |
redirectToFile(String value) |
MailConfigurationType |
server(MailServerConfigurationType value) |
void |
setDebug(Boolean value)
Sets the value of the debug property.
|
void |
setDefaultFrom(String value)
Sets the value of the defaultFrom property.
|
void |
setLogToFile(String value)
Sets the value of the logToFile property.
|
void |
setRedirectToFile(String value)
Sets the value of the redirectToFile property.
|
String |
toString()
Generates a String representation of the contents of this type.
|
protected List<MailServerConfigurationType> server
protected String defaultFrom
protected Boolean debug
protected String redirectToFile
protected String logToFile
public static final QName COMPLEX_TYPE
public static final QName F_SERVER
public static final QName F_DEFAULT_FROM
public static final QName F_DEBUG
public static final QName F_REDIRECT_TO_FILE
public static final QName F_LOG_TO_FILE
public MailConfigurationType()
MailConfigurationType
instance.public MailConfigurationType(MailConfigurationType o)
MailConfigurationType
instance by deeply copying a given MailConfigurationType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.public List<MailServerConfigurationType> getServer()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the server property.
For example, to add a new item, do as follows:
getServer().add(newItem);
Objects of the following type(s) are allowed in the list
MailServerConfigurationType
public String getDefaultFrom()
String
public void setDefaultFrom(String value)
value
- allowed object is
String
public Boolean isDebug()
Boolean
public void setDebug(Boolean value)
value
- allowed object is
Boolean
public String getRedirectToFile()
String
public void setRedirectToFile(String value)
value
- allowed object is
String
public String getLogToFile()
String
public void setLogToFile(String value)
value
- allowed object is
String
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 MailConfigurationType server(MailServerConfigurationType value)
public MailServerConfigurationType beginServer()
public MailConfigurationType defaultFrom(String value)
public MailConfigurationType debug(Boolean value)
public MailConfigurationType redirectToFile(String value)
public MailConfigurationType logToFile(String value)
public MailConfigurationType clone()
Copyright © 2019 Evolveum. All rights reserved.