Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package ph.dot.engine.model
- import com.google.common.base.Objects
- import org.joda.time.DateTime
- class Domain implements Serializable {
- private Contact registrant
- Contact admin1
- Contact admin2
- Contact tech1
- Contact tech2
- Contact billing1
- Contact billing2
- DateTime startDate
- DateTime expirationDate
- DateTime lastTransferDate
- DateTime lastModifiedDate
- Registrar currentRegistrar
- Registrar createdBy
- Registrar lastModifiedBy
- String transferKey
- DomainStatus status
- // Domain properties from DomainCommand
- String name
- boolean autoRenew
- boolean hasChildNameServer
- @Override
- String toString() {
- return Objects.toStringHelper(this).add("name", name).add("autoRenew", autoRenew).add("hasChildNameServer", hasChildNameServer).toString()
- }
- Domain() {
- status = DomainStatus.ACTIVE
- }
- }
Add Comment
Please, Sign In to add comment