Class Server
- java.lang.Object
-
- net.anwiba.commons.mail.schema.account.Server
-
public class Server extends java.lang.ObjectJava class for Server complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Server"> <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"/> <element name="encryption" type="{http://www.anwiba.net/mail/account}Encryption"/> <element name="authorization" type="{http://www.anwiba.net/mail/account}Authorization"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Authorizationauthorizationprotected Encryptionencryptionprotected java.lang.Stringhostprotected intport
-
Constructor Summary
Constructors Constructor Description Server()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthorizationgetAuthorization()Gets the value of the authorization property.EncryptiongetEncryption()Gets the value of the encryption property.java.lang.StringgetHost()Gets the value of the host property.intgetPort()Gets the value of the port property.voidsetAuthorization(Authorization value)Sets the value of the authorization property.voidsetEncryption(Encryption value)Sets the value of the encryption property.voidsetHost(java.lang.String value)Sets the value of the host property.voidsetPort(int value)Sets the value of the port property.
-
-
-
Field Detail
-
host
protected java.lang.String host
-
port
protected int port
-
encryption
protected Encryption encryption
-
authorization
protected Authorization authorization
-
-
Method Detail
-
getHost
public java.lang.String getHost()
Gets the value of the host property.- Returns:
- possible object is
String
-
setHost
public void setHost(java.lang.String value)
Sets the value of the host property.- Parameters:
value- allowed object isString
-
getPort
public int getPort()
Gets the value of the port property.
-
setPort
public void setPort(int value)
Sets the value of the port property.
-
getEncryption
public Encryption getEncryption()
Gets the value of the encryption property.- Returns:
- possible object is
Encryption
-
setEncryption
public void setEncryption(Encryption value)
Sets the value of the encryption property.- Parameters:
value- allowed object isEncryption
-
getAuthorization
public Authorization getAuthorization()
Gets the value of the authorization property.- Returns:
- possible object is
Authorization
-
setAuthorization
public void setAuthorization(Authorization value)
Sets the value of the authorization property.- Parameters:
value- allowed object isAuthorization
-
-