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