org.ow2.easybeans.component.mail
Class MailAddress

java.lang.Object
  extended by org.ow2.easybeans.component.mail.MailAddress

public class MailAddress
extends java.lang.Object

Define a mail address.

Author:
Florent BENOIT

Constructor Summary
MailAddress()
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getType()
           
 void setName(java.lang.String name)
          Sets the name of this mail address.
 void setType(java.lang.String type)
          Sets the type of this mail address.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailAddress

public MailAddress()
Method Detail

getType

public java.lang.String getType()
Returns:
the type of the mail address.

setType

public void setType(java.lang.String type)
Sets the type of this mail address.

Parameters:
type - the type of this mail address.

getName

public java.lang.String getName()
Returns:
the name of this mail address.

setName

public void setName(java.lang.String name)
Sets the name of this mail address.

Parameters:
name - the given name


Copyright © 2006-2009 OW2 Consortium. All Rights Reserved.