|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.config.store.Domain
@Entity public class Domain
| Constructor Summary | |
|---|---|
Domain()
Construct a Domain. |
|
Domain(String aName)
Construct a Domain. |
|
| Method Summary | |
|---|---|
Collection<Address> |
getAddresses()
Get a colection of addresses. |
Calendar |
getCreateTime()
Get the value of createTime. |
String |
getDomainName()
Get the value of domainName. |
Long |
getId()
Get the value of id. |
Long |
getPostmasterAddressId()
Get the value of postmasterAddressId. |
String |
getPostMasterEmail()
If we have an email address id, then search through the collection of addresses to find an id match and return it. |
EntityStatus |
getStatus()
Get the value of status. |
Calendar |
getUpdateTime()
Get the value of updateTime. |
boolean |
isValid()
Verify the Domain is valid. |
void |
setAddresses(Collection<Address> addresses)
Set the value of addresses. |
void |
setCreateTime(Calendar timestamp)
Set the value of createTime. |
void |
setDomainName(String aName)
Set the value of domainName. |
void |
setId(Long anId)
Set the value of id. |
void |
setPostmasterAddressId(Long anId)
Set the value of postmasterAddressId. |
void |
setPostMasterEmail(String email)
Process according to the following table: |
void |
setStatus(EntityStatus aStatus)
Set the value of status. |
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 |
|---|
public Domain()
public Domain(String aName)
aName - The domain name.| Method Detail |
|---|
public Long getId()
public void setId(Long anId)
anId - The value of id.public String getDomainName()
public Calendar getCreateTime()
public Long getPostmasterAddressId()
public void setPostmasterAddressId(Long anId)
anId - The value of postmasterAddressId.public Calendar getUpdateTime()
public EntityStatus getStatus()
public void setDomainName(String aName)
aName - The value of domainName.public void setCreateTime(Calendar timestamp)
timestamp - The value of createTime.public void setUpdateTime(Calendar timestamp)
timestamp - The value of updateTime.public void setStatus(EntityStatus aStatus)
aStatus - The value of status.public String getPostMasterEmail()
public void setPostMasterEmail(String email)
id name action
0/Null 0/Null None
Not Null 0/Null Set Id to null. Don't remove the Address
0/Null Not Null Add to Address if not there, set Id
Not Null Not Null if id.address = address then None, otherwise update id
email - The postmaster email address.public Collection<Address> getAddresses()
public void setAddresses(Collection<Address> addresses)
addresses - the value of addressespublic boolean isValid()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||