org.nhindirect.config.store
Class Address

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

@Entity
public class Address
extends Object


Constructor Summary
Address()
          Construct an Address.
Address(Address anAddress)
          Construct an Address.
Address(Domain aDomain, String anAddress)
          Construct an Address.
Address(Domain aDomain, String anAddress, String aName)
          Construct an Address.
 
Method Summary
 void afterUnmarshal(Unmarshaller u, Object parent)
          Actions to run after an unmarshal.
 Calendar getCreateTime()
          Get the value of createTime.
 String getDisplayName()
          Get the value of displayName.
 Domain getDomain()
          Get the value of domain.
 String getEmailAddress()
          Get the value of emailAddress.
 String getEndpoint()
          Get the value of endpoint.
 Long getId()
          Get the value of id.
 EntityStatus getStatus()
          Get the value of status.
 String getType()
          Get the value of type.
 Calendar getUpdateTime()
          Get the value of updateTime.
 void setCreateTime(Calendar timestamp)
          Set the value of createTime.
 void setDisplayName(String aName)
          Set the value of displayName.
 void setDomain(Domain anId)
          Set the value of domain.
 void setEmailAddress(String anEmail)
          Set the value of emailAddress.
 void setEndpoint(String anEndpoint)
          Set the value of endpoint.
 void setId(Long id)
          Set the value of id.
 void setStatus(EntityStatus aStatus)
          Set the value of status.
 void setType(String aType)
          Set the value of type.
 void setUpdateTime(Calendar timestamp)
          Set the value of updateTime.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Address

public Address()
Construct an Address.


Address

public Address(Domain aDomain,
               String anAddress)
Construct an Address.

Parameters:
aDomain - The Domain.
anAddress - The address.

Address

public Address(Domain aDomain,
               String anAddress,
               String aName)
Construct an Address.

Parameters:
aDomain - The Domain.
anAddress - The address.
aName - The display name.

Address

public Address(Address anAddress)
Construct an Address.

Parameters:
anAddress - The address.
Method Detail

getEmailAddress

public String getEmailAddress()
Get the value of emailAddress.

Returns:
the value of emailAddress.

setEmailAddress

public void setEmailAddress(String anEmail)
Set the value of emailAddress.

Parameters:
anEmail - The value of emailAddress.

getId

public Long getId()
Get the value of id.

Returns:
the value of id.

setId

public void setId(Long id)
Set the value of id.

Parameters:
id - The value of id.

getDomain

public Domain getDomain()
Get the value of domain.

Returns:
the value of domain.

setDomain

public void setDomain(Domain anId)
Set the value of domain.

Parameters:
anId - The value of domain.

getDisplayName

public String getDisplayName()
Get the value of displayName.

Returns:
the value of displayName.

setDisplayName

public void setDisplayName(String aName)
Set the value of displayName.

Parameters:
aName - The value of displayName.

getEndpoint

public String getEndpoint()
Get the value of endpoint.

Returns:
the value of entpoint.

setEndpoint

public void setEndpoint(String anEndpoint)
Set the value of endpoint.

Parameters:
anEndpoint - The value of endpoint.

getCreateTime

public Calendar getCreateTime()
Get the value of createTime.

Returns:
the value of createTime.

setCreateTime

public void setCreateTime(Calendar timestamp)
Set the value of createTime.

Parameters:
timestamp - The value of createTime.

getUpdateTime

public Calendar getUpdateTime()
Get the value of updateTime.

Returns:
the value of updateTime.

setUpdateTime

public void setUpdateTime(Calendar timestamp)
Set the value of updateTime.

Parameters:
timestamp - The value of updateTime.

getStatus

public EntityStatus getStatus()
Get the value of status.

Returns:
the value of status.

setStatus

public void setStatus(EntityStatus aStatus)
Set the value of status.

Parameters:
aStatus - The value of status.

getType

public String getType()
Get the value of type.

Returns:
the value of type.

setType

public void setType(String aType)
Set the value of type.

Parameters:
aType - The value of type.

toString

public String toString()
Overrides:
toString in class Object

afterUnmarshal

public void afterUnmarshal(Unmarshaller u,
                           Object parent)
Actions to run after an unmarshal.

Parameters:
u - The Unmarshaller.
parent - The paret.


Copyright © 2011. All Rights Reserved.