public class RecipientEntry extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
properties
Contains all properties that are not
covered by the special properties.
|
protected String |
toEmail
The address part of To: mail address.
|
protected String |
toName
The address part of To: name.
|
Constructor and Description |
---|
RecipientEntry() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getProperties() |
Object |
getProperty(String name) |
String |
getToEmail() |
String |
getToName() |
void |
setProperty(String name,
Object value)
Sets the name/value pair in the
properties
map. |
void |
setToEmail(String toEmail) |
void |
setToName(String toName) |
String |
toString()
Provides a short representation of this recipient object
(e.g. |
protected String toEmail
protected String toName
public void setProperty(String name, Object value) throws ClassCastException
properties
map. Some properties are put into
special attributes (e.g., toEmail
when
the property name is '0076').name
- The property name (i.e., the class
of the document entry).value
- The value of the field.ClassCastException
- Thrown if the detected data
type does not match the expected data type.public String getToEmail()
public void setToEmail(String toEmail)
toEmail
- the to email to be setpublic String getToName()
public void setToName(String toName)
toName
- the to name to be setpublic String toString()
toString
in class Object
Object.toString()
public Set<String> getProperties()
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.