@Table public class Domain extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
MAGIC_POSTMASTER_ID |
| Constructor and Description |
|---|
Domain()
Construct a Domain.
|
Domain(String aName)
Construct a Domain.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
LocalDateTime |
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.
|
int |
getStatus()
Get the value of status.
|
LocalDateTime |
getUpdateTime()
Get the value of updateTime.
|
boolean |
isValid()
Verify the Domain is valid.
|
void |
setCreateTime(LocalDateTime 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 |
setStatus(int aStatus)
Set the value of status.
|
void |
setUpdateTime(LocalDateTime timestamp)
Set the value of updateTime.
|
String |
toString() |
public Domain()
public Domain(String aName)
aName - The domain name.public Long getId()
public void setId(Long anId)
anId - The value of id.public String getDomainName()
public LocalDateTime getCreateTime()
public Long getPostmasterAddressId()
public void setPostmasterAddressId(Long anId)
anId - The value of postmasterAddressId.public LocalDateTime getUpdateTime()
public int getStatus()
public void setDomainName(String aName)
aName - The value of domainName.public void setCreateTime(LocalDateTime timestamp)
timestamp - The value of createTime.public void setUpdateTime(LocalDateTime timestamp)
timestamp - The value of updateTime.public void setStatus(int aStatus)
aStatus - The value of status.public boolean isValid()
Copyright © 2020. All rights reserved.