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

cz.active24.client.fred.data.create.keyset.KeysetCreateResponse Maven / Gradle / Ivy

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

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 keyset create command.
 *
 * 
    *
  • {@link KeysetCreateResponse#id} - the keyset handle
  • *
  • {@link KeysetCreateResponse#crDate} - the timestamp of creation
  • *
* * @see FRED documentation */ public class KeysetCreateResponse extends EppResponse implements Serializable, CreateResponse { private String id; private Date crDate; public KeysetCreateResponse() { setServerObjectType(ServerObjectType.KEYSET); } public String getId() { return id; } public void setId(String id) { this.id = id; } public Date getCrDate() { return crDate; } public void setCrDate(Date crDate) { this.crDate = crDate; } @Override public String toString() { final StringBuffer sb = new StringBuffer("KeysetCreateResponse{"); sb.append("id='").append(id).append('\''); sb.append(", crDate=").append(crDate); 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