All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cz.active24.client.fred.data.create.domain.DomainCreateResponse Maven / Gradle / Ivy

There is a newer version: 2.50
Show newest version
package cz.active24.client.fred.data.create.domain;

import cz.active24.client.fred.data.create.CreateResponse;
import cz.active24.client.fred.data.EppResponse;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;

import java.io.Serializable;
import java.util.Date;

/**
 * Response for domain create command.
 *
 * 
    *
  • {@link DomainCreateResponse#name} - the domain name
  • *
  • {@link DomainCreateResponse#crDate} - the timestamp of creation
  • *
  • {@link DomainCreateResponse#exDate} - the date of expiration
  • *
* * * @see FRED documentation */ public class DomainCreateResponse extends EppResponse implements Serializable, CreateResponse { private String name; private Date crDate; private Date exDate; public DomainCreateResponse() { setServerObjectType(ServerObjectType.DOMAIN); } public String getName() { return name; } public void setName(String name) { this.name = name; } public Date getCrDate() { return crDate; } public void setCrDate(Date crDate) { this.crDate = crDate; } public Date getExDate() { return exDate; } public void setExDate(Date exDate) { this.exDate = exDate; } @Override public String toString() { final StringBuffer sb = new StringBuffer("DomainCreateResponse{"); sb.append("name='").append(name).append('\''); sb.append(", crDate=").append(crDate); sb.append(", exDate=").append(exDate); sb.append(", clientTransactionId='").append(getClientTransactionId()).append('\''); sb.append(", serverTransactionId='").append(getServerTransactionId()).append('\''); sb.append(", result=").append(getResult()); sb.append(", serverObjectType=").append(getServerObjectType()); sb.append('}'); return sb.toString(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy