Class SmtpConfigurationDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.system.configurations.SmtpConfigurationDTO
-
- All Implemented Interfaces:
Serializable
public class SmtpConfigurationDTO extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,SmtpConfigurationDTO>FROM_ADDRESSstatic BasicProperty<String,SmtpConfigurationDTO>HOSTstatic BasicProperty<Integer,SmtpConfigurationDTO>MAX_RECIPIENTSstatic BasicProperty<String,SmtpConfigurationDTO>PASSWORDstatic BasicProperty<Boolean,SmtpConfigurationDTO>PASSWORD_SETstatic BasicProperty<Integer,SmtpConfigurationDTO>PORTstatic BasicProperty<SmtpSecurity,SmtpConfigurationDTO>SECURITYstatic BasicProperty<String,SmtpConfigurationDTO>USER
-
Constructor Summary
Constructors Constructor Description SmtpConfigurationDTO()SmtpConfigurationDTO(Property<T,? super SmtpConfigurationDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetFromAddress()StringgetHost()IntegergetMaxRecipients()StringgetPassword()IntegergetPort()SmtpSecuritygetSecurity()StringgetUser()booleanisPasswordSet()voidsetFromAddress(String fromAddress)voidsetHost(String host)voidsetMaxRecipients(Integer maxRecipients)voidsetPassword(String password)voidsetPasswordSet(boolean passwordSet)voidsetPort(Integer port)voidsetSecurity(SmtpSecurity security)voidsetUser(String user)-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, set, setAttribute, setWithPropagationId
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
FROM_ADDRESS
public static final BasicProperty<String,SmtpConfigurationDTO> FROM_ADDRESS
-
HOST
public static final BasicProperty<String,SmtpConfigurationDTO> HOST
-
MAX_RECIPIENTS
public static final BasicProperty<Integer,SmtpConfigurationDTO> MAX_RECIPIENTS
-
PASSWORD
public static final BasicProperty<String,SmtpConfigurationDTO> PASSWORD
-
PASSWORD_SET
public static final BasicProperty<Boolean,SmtpConfigurationDTO> PASSWORD_SET
-
PORT
public static final BasicProperty<Integer,SmtpConfigurationDTO> PORT
-
SECURITY
public static final BasicProperty<SmtpSecurity,SmtpConfigurationDTO> SECURITY
-
USER
public static final BasicProperty<String,SmtpConfigurationDTO> USER
-
-
Constructor Detail
-
SmtpConfigurationDTO
public SmtpConfigurationDTO()
-
SmtpConfigurationDTO
public SmtpConfigurationDTO(Property<T,? super SmtpConfigurationDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getFromAddress
public String getFromAddress()
-
setFromAddress
public void setFromAddress(String fromAddress)
-
getHost
public String getHost()
-
setHost
public void setHost(String host)
-
getMaxRecipients
public Integer getMaxRecipients()
-
setMaxRecipients
public void setMaxRecipients(Integer maxRecipients)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
isPasswordSet
public boolean isPasswordSet()
-
setPasswordSet
public void setPasswordSet(boolean passwordSet)
-
getPort
public Integer getPort()
-
setPort
public void setPort(Integer port)
-
getSecurity
public SmtpSecurity getSecurity()
-
setSecurity
public void setSecurity(SmtpSecurity security)
-
getUser
public String getUser()
-
setUser
public void setUser(String user)
-
-