org.nhindirect.config.model
Class Address

java.lang.Object
  extended by org.nhindirect.config.model.Address

public class Address
extends Object

A configured address or endpoint in the system.

Since:
1.0
Author:
Greg Meyer

Constructor Summary
Address()
          Construct an Address.
 
Method Summary
 Calendar getCreateTime()
          Gets the date/time the address was created.
 String getDisplayName()
          Gets the human readable display of the address.
 String getDomainName()
          Gets the email domain that the address is associated with.
 String getEmailAddress()
          Gets the email address associated to the end point.
 String getEndpoint()
          Gets the end point; generally an email address, but may also represent other types of end points such as an XD URL.
 long getId()
          Gets the internal id of the address.
 EntityStatus getStatus()
          Gets the status of the address.
 String getType()
          Gets the type of the address.
 Calendar getUpdateTime()
          Gets the date/time of the last update of the address.
 void setCreateTime(Calendar createTime)
          Sets the date/time the address was created.
 void setDisplayName(String displayName)
          Sets the human readable display of the address.
 void setDomainName(String domainName)
          Sets the email domain that the address is associated with.
 void setEmailAddress(String emailAddress)
          Sets the email address associated to the end point.
 void setEndpoint(String endpoint)
          Sets the end point.
 void setId(long id)
          Sets the internal id of the address.
 void setStatus(EntityStatus status)
          Sets the status of the address.
 void setType(String type)
          Sets the type of the address.
 void setUpdateTime(Calendar updateTime)
          Sets the date/time of the last update of the address.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Address

public Address()
Construct an Address.

Method Detail

getEmailAddress

public String getEmailAddress()
Gets the email address associated to the end point.

Returns:
The email address associated to the end point.

setEmailAddress

public void setEmailAddress(String emailAddress)
Sets the email address associated to the end point.

Parameters:
emailAddress - The email address associated to the end point.

getId

public long getId()
Gets the internal id of the address.

Returns:
The internal id of the address.

setId

public void setId(long id)
Sets the internal id of the address.

Parameters:
id - The interal id of the address.

getDisplayName

public String getDisplayName()
Gets the human readable display of the address.

Returns:
the human readable display of the address.

setDisplayName

public void setDisplayName(String displayName)
Sets the human readable display of the address.

Parameters:
displayName - The human readable display of the address.

getEndpoint

public String getEndpoint()
Gets the end point; generally an email address, but may also represent other types of end points such as an XD URL.

Returns:
The end point name.

setEndpoint

public void setEndpoint(String endpoint)
Sets the end point.

Parameters:
endpoint - The end point name.

getCreateTime

public Calendar getCreateTime()
Gets the date/time the address was created.

Returns:
The date/time the address was created.

setCreateTime

public void setCreateTime(Calendar createTime)
Sets the date/time the address was created.

Parameters:
createTime - The date/time the address was created.

getUpdateTime

public Calendar getUpdateTime()
Gets the date/time of the last update of the address.

Returns:
The date/time of the last update of the address.

setUpdateTime

public void setUpdateTime(Calendar updateTime)
Sets the date/time of the last update of the address.

Parameters:
updateTime - The date/time of the last update of the address.

getStatus

public EntityStatus getStatus()
Gets the status of the address.

Returns:
The status of the address.

setStatus

public void setStatus(EntityStatus status)
Sets the status of the address.

Parameters:
status - The status of the address.

getType

public String getType()
Gets the type of the address. This is an open free text field, but is generally associated to names such as XD or email.

Returns:
The type of the address

setType

public void setType(String type)
Sets the type of the address.

Parameters:
type - The type of the address.

getDomainName

public String getDomainName()
Gets the email domain that the address is associated with.

Returns:
The email domain that the address is associated with.

setDomainName

public void setDomainName(String domainName)
Sets the email domain that the address is associated with.

Parameters:
domainName - The email domain that the address is associated with.


Copyright © 2014. All Rights Reserved.