cz.active24.client.fred.data.poll.domain.DomainTransferPollResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fred-client Show documentation
Show all versions of fred-client Show documentation
A Java EPP client for FRED (Free Registry for ENUM and Domains)
package cz.active24.client.fred.data.poll.domain;
import cz.active24.client.fred.data.poll.PollResponse;
import cz.active24.client.fred.eppclient.objectstrategy.PollMessageType;
import java.io.Serializable;
import java.util.Date;
/**
* Event: An object has been transferred to another registrar.
*
*
* - {@link DomainTransferPollResponse#name} - a domain name
* - {@link DomainTransferPollResponse#trDate} - the date of the transfer
* - {@link DomainTransferPollResponse#clID} - the handle of the registrar who requested the transfer
*
*
* @see FRED documentation
*/
public class DomainTransferPollResponse extends PollResponse implements Serializable {
private String name;
private Date trDate;
private String clID;
public DomainTransferPollResponse() {
setPollMessageType(PollMessageType.DOMAIN_TRANSFER);
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Date getTrDate() {
return trDate;
}
public void setTrDate(Date trDate) {
this.trDate = trDate;
}
public String getClID() {
return clID;
}
public void setClID(String clID) {
this.clID = clID;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("DomainTransferPollResponse{");
sb.append("name='").append(name).append('\'');
sb.append(", trDate=").append(trDate);
sb.append(", clID='").append(clID).append('\'');
sb.append(", messageId='").append(getMessageId()).append('\'');
sb.append(", messageCount=").append(getMessageCount());
sb.append(", messageQDate=").append(getMessageQDate());
sb.append(", pollMessageType=").append(getPollMessageType());
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