public class JavamailConfiguration extends Object implements Serializable
Constructor and Description |
---|
JavamailConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addEnd2endMailConfig(End2endMailConfig vEnd2endMailConfig) |
void |
addEnd2endMailConfig(int index,
End2endMailConfig vEnd2endMailConfig) |
void |
addReadmailConfig(int index,
ReadmailConfig vReadmailConfig) |
void |
addReadmailConfig(ReadmailConfig vReadmailConfig) |
void |
addSendmailConfig(int index,
SendmailConfig vSendmailConfig) |
void |
addSendmailConfig(SendmailConfig vSendmailConfig) |
Enumeration<End2endMailConfig> |
enumerateEnd2endMailConfig()
Method enumerateEnd2endMailConfig.
|
Enumeration<ReadmailConfig> |
enumerateReadmailConfig()
Method enumerateReadmailConfig.
|
Enumeration<SendmailConfig> |
enumerateSendmailConfig()
Method enumerateSendmailConfig.
|
boolean |
equals(Object obj)
Overrides the java.lang.Object.equals method.
|
String |
getDefaultReadConfigName()
Returns the value of field 'defaultReadConfigName'.
|
String |
getDefaultSendConfigName()
Returns the value of field 'defaultSendConfigName'.
|
End2endMailConfig[] |
getEnd2endMailConfig()
Method getEnd2endMailConfig.Returns the contents of the
collection in an Array.
|
End2endMailConfig |
getEnd2endMailConfig(int index)
Method getEnd2endMailConfig.
|
List<End2endMailConfig> |
getEnd2endMailConfigCollection()
Method getEnd2endMailConfigCollection.Returns a reference to
'_end2endMailConfigList'.
|
int |
getEnd2endMailConfigCount()
Method getEnd2endMailConfigCount.
|
ReadmailConfig[] |
getReadmailConfig()
Method getReadmailConfig.Returns the contents of the
collection in an Array.
|
ReadmailConfig |
getReadmailConfig(int index)
Method getReadmailConfig.
|
List<ReadmailConfig> |
getReadmailConfigCollection()
Method getReadmailConfigCollection.Returns a reference to
'_readmailConfigList'.
|
int |
getReadmailConfigCount()
Method getReadmailConfigCount.
|
SendmailConfig[] |
getSendmailConfig()
Method getSendmailConfig.Returns the contents of the
collection in an Array.
|
SendmailConfig |
getSendmailConfig(int index)
Method getSendmailConfig.
|
List<SendmailConfig> |
getSendmailConfigCollection()
Method getSendmailConfigCollection.Returns a reference to
'_sendmailConfigList'.
|
int |
getSendmailConfigCount()
Method getSendmailConfigCount.
|
int |
hashCode()
Overrides the java.lang.Object.hashCode method.
|
boolean |
isValid()
Method isValid.
|
Iterator<End2endMailConfig> |
iterateEnd2endMailConfig()
Method iterateEnd2endMailConfig.
|
Iterator<ReadmailConfig> |
iterateReadmailConfig()
Method iterateReadmailConfig.
|
Iterator<SendmailConfig> |
iterateSendmailConfig()
Method iterateSendmailConfig.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllEnd2endMailConfig() |
void |
removeAllReadmailConfig() |
void |
removeAllSendmailConfig() |
boolean |
removeEnd2endMailConfig(End2endMailConfig vEnd2endMailConfig)
Method removeEnd2endMailConfig.
|
End2endMailConfig |
removeEnd2endMailConfigAt(int index)
Method removeEnd2endMailConfigAt.
|
boolean |
removeReadmailConfig(ReadmailConfig vReadmailConfig)
Method removeReadmailConfig.
|
ReadmailConfig |
removeReadmailConfigAt(int index)
Method removeReadmailConfigAt.
|
boolean |
removeSendmailConfig(SendmailConfig vSendmailConfig)
Method removeSendmailConfig.
|
SendmailConfig |
removeSendmailConfigAt(int index)
Method removeSendmailConfigAt.
|
void |
setDefaultReadConfigName(String defaultReadConfigName)
Sets the value of field 'defaultReadConfigName'.
|
void |
setDefaultSendConfigName(String defaultSendConfigName)
Sets the value of field 'defaultSendConfigName'.
|
void |
setEnd2endMailConfig(End2endMailConfig[] vEnd2endMailConfigArray) |
void |
setEnd2endMailConfig(int index,
End2endMailConfig vEnd2endMailConfig) |
void |
setEnd2endMailConfig(List<End2endMailConfig> vEnd2endMailConfigList)
Sets the value of '_end2endMailConfigList' by copying the
given Vector.
|
void |
setEnd2endMailConfigCollection(List<End2endMailConfig> end2endMailConfigList)
Deprecated.
|
void |
setReadmailConfig(int index,
ReadmailConfig vReadmailConfig) |
void |
setReadmailConfig(List<ReadmailConfig> vReadmailConfigList)
Sets the value of '_readmailConfigList' by copying the given
Vector.
|
void |
setReadmailConfig(ReadmailConfig[] vReadmailConfigArray) |
void |
setReadmailConfigCollection(List<ReadmailConfig> readmailConfigList)
Deprecated.
|
void |
setSendmailConfig(int index,
SendmailConfig vSendmailConfig) |
void |
setSendmailConfig(List<SendmailConfig> vSendmailConfigList)
Sets the value of '_sendmailConfigList' by copying the given
Vector.
|
void |
setSendmailConfig(SendmailConfig[] vSendmailConfigArray) |
void |
setSendmailConfigCollection(List<SendmailConfig> sendmailConfigList)
Deprecated.
|
static JavamailConfiguration |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addEnd2endMailConfig(End2endMailConfig vEnd2endMailConfig) throws IndexOutOfBoundsException
vEnd2endMailConfig
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addEnd2endMailConfig(int index, End2endMailConfig vEnd2endMailConfig) throws IndexOutOfBoundsException
index
- vEnd2endMailConfig
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addReadmailConfig(ReadmailConfig vReadmailConfig) throws IndexOutOfBoundsException
vReadmailConfig
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addReadmailConfig(int index, ReadmailConfig vReadmailConfig) throws IndexOutOfBoundsException
index
- vReadmailConfig
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSendmailConfig(SendmailConfig vSendmailConfig) throws IndexOutOfBoundsException
vSendmailConfig
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addSendmailConfig(int index, SendmailConfig vSendmailConfig) throws IndexOutOfBoundsException
index
- vSendmailConfig
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Enumeration<End2endMailConfig> enumerateEnd2endMailConfig()
public Enumeration<ReadmailConfig> enumerateReadmailConfig()
public Enumeration<SendmailConfig> enumerateSendmailConfig()
public boolean equals(Object obj)
public String getDefaultReadConfigName()
public String getDefaultSendConfigName()
public End2endMailConfig getEnd2endMailConfig(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic End2endMailConfig[] getEnd2endMailConfig()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<End2endMailConfig> getEnd2endMailConfigCollection()
public int getEnd2endMailConfigCount()
public ReadmailConfig getReadmailConfig(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic ReadmailConfig[] getReadmailConfig()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<ReadmailConfig> getReadmailConfigCollection()
public int getReadmailConfigCount()
public SendmailConfig getSendmailConfig(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic SendmailConfig[] getSendmailConfig()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<SendmailConfig> getSendmailConfigCollection()
public int getSendmailConfigCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public boolean isValid()
public Iterator<End2endMailConfig> iterateEnd2endMailConfig()
public Iterator<ReadmailConfig> iterateReadmailConfig()
public Iterator<SendmailConfig> iterateSendmailConfig()
public void marshal(Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllEnd2endMailConfig()
public void removeAllReadmailConfig()
public void removeAllSendmailConfig()
public boolean removeEnd2endMailConfig(End2endMailConfig vEnd2endMailConfig)
vEnd2endMailConfig
- public End2endMailConfig removeEnd2endMailConfigAt(int index)
index
- public boolean removeReadmailConfig(ReadmailConfig vReadmailConfig)
vReadmailConfig
- public ReadmailConfig removeReadmailConfigAt(int index)
index
- public boolean removeSendmailConfig(SendmailConfig vSendmailConfig)
vSendmailConfig
- public SendmailConfig removeSendmailConfigAt(int index)
index
- public void setDefaultReadConfigName(String defaultReadConfigName)
defaultReadConfigName
- the value of field
'defaultReadConfigName'.public void setDefaultSendConfigName(String defaultSendConfigName)
defaultSendConfigName
- the value of field
'defaultSendConfigName'.public void setEnd2endMailConfig(int index, End2endMailConfig vEnd2endMailConfig) throws IndexOutOfBoundsException
index
- vEnd2endMailConfig
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setEnd2endMailConfig(End2endMailConfig[] vEnd2endMailConfigArray)
vEnd2endMailConfigArray
- public void setEnd2endMailConfig(List<End2endMailConfig> vEnd2endMailConfigList)
vEnd2endMailConfigList
- the Vector to copy.public void setEnd2endMailConfigCollection(List<End2endMailConfig> end2endMailConfigList)
end2endMailConfigList
- the Vector to set.public void setReadmailConfig(int index, ReadmailConfig vReadmailConfig) throws IndexOutOfBoundsException
index
- vReadmailConfig
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setReadmailConfig(ReadmailConfig[] vReadmailConfigArray)
vReadmailConfigArray
- public void setReadmailConfig(List<ReadmailConfig> vReadmailConfigList)
vReadmailConfigList
- the Vector to copy.public void setReadmailConfigCollection(List<ReadmailConfig> readmailConfigList)
readmailConfigList
- the Vector to set.public void setSendmailConfig(int index, SendmailConfig vSendmailConfig) throws IndexOutOfBoundsException
index
- vSendmailConfig
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setSendmailConfig(SendmailConfig[] vSendmailConfigArray)
vSendmailConfigArray
- public void setSendmailConfig(List<SendmailConfig> vSendmailConfigList)
vSendmailConfigList
- the Vector to copy.public void setSendmailConfigCollection(List<SendmailConfig> sendmailConfigList)
sendmailConfigList
- the Vector to set.public static JavamailConfiguration unmarshal(Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
- if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2015. All rights reserved.