cz.active24.client.fred.data.info.domain.DomainInfoResponse 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.info.domain;
import cz.active24.client.fred.data.common.domain.EnumValData;
import cz.active24.client.fred.data.EppResponse;
import cz.active24.client.fred.data.info.InfoResponse;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* Response for command info for domain.
*
* - {@link DomainInfoResponse#name} - the domain name
* - {@link DomainInfoResponse#roid} - the domain repository identifier
* - {@link DomainInfoResponse#status} - the state name, {@link DomainStatusValueType}
* - {@link DomainInfoResponse#registrant} - the domain owner handle
* - {@link DomainInfoResponse#admin} - an administrative contact handle
* - {@link DomainInfoResponse#nsset} - the nsset handle
* - {@link DomainInfoResponse#keyset} - the keyset handle
* - {@link DomainInfoResponse#clID} - the designated registrar’s handle
* - {@link DomainInfoResponse#crID} - the handle of the registrar who created this domain
* - {@link DomainInfoResponse#crDate} - the timestamp of creation
* - {@link DomainInfoResponse#upID} - the handle of the registrar who was the last to update this domain
* - {@link DomainInfoResponse#upDate} - the timestamp of the last update
* - {@link DomainInfoResponse#exDate} - the date of expiration
* - {@link DomainInfoResponse#trDate} - the timestamp of the last transfer
* - {@link DomainInfoResponse#authInfo} - authorization information (transfer password) - is displayed only to the designated registrar
* - {@link DomainInfoResponse#tempcontact} - a temporary contact handle
*
*
* @see FRED documentation
*/
public class DomainInfoResponse extends EppResponse implements Serializable, InfoResponse {
private String name;
private String roid;
private List status;
private String registrant;
private List admin;
private String nsset;
private String keyset;
private String clID;
private String crID;
private Date crDate;
private String upID;
private Date upDate;
private Date exDate;
private Date trDate;
private String authInfo;
private List tempcontact;
private EnumValData enumval;
public DomainInfoResponse() {
setServerObjectType(ServerObjectType.DOMAIN);
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getRoid() {
return roid;
}
public void setRoid(String roid) {
this.roid = roid;
}
public String getRegistrant() {
return registrant;
}
public void setRegistrant(String registrant) {
this.registrant = registrant;
}
public List getAdmin() {
return admin;
}
public void setAdmin(List admin) {
this.admin = admin;
}
public String getNsset() {
return nsset;
}
public void setNsset(String nsset) {
this.nsset = nsset;
}
public String getKeyset() {
return keyset;
}
public void setKeyset(String keyset) {
this.keyset = keyset;
}
public String getClID() {
return clID;
}
public void setClID(String clID) {
this.clID = clID;
}
public String getCrID() {
return crID;
}
public void setCrID(String crID) {
this.crID = crID;
}
public Date getCrDate() {
return crDate;
}
public void setCrDate(Date crDate) {
this.crDate = crDate;
}
public String getUpID() {
return upID;
}
public void setUpID(String upID) {
this.upID = upID;
}
public Date getUpDate() {
return upDate;
}
public void setUpDate(Date upDate) {
this.upDate = upDate;
}
public Date getExDate() {
return exDate;
}
public void setExDate(Date exDate) {
this.exDate = exDate;
}
public Date getTrDate() {
return trDate;
}
public void setTrDate(Date trDate) {
this.trDate = trDate;
}
public String getAuthInfo() {
return authInfo;
}
public void setAuthInfo(String authInfo) {
this.authInfo = authInfo;
}
public List getTempcontact() {
return tempcontact;
}
public void setTempcontact(List tempcontact) {
this.tempcontact = tempcontact;
}
public List getStatus() {
return status;
}
public void setStatus(List status) {
this.status = status;
}
public EnumValData getEnumval() {
return enumval;
}
public void setEnumval(EnumValData enumval) {
this.enumval = enumval;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("DomainInfoResponse{");
sb.append("name='").append(name).append('\'');
sb.append(", roid='").append(roid).append('\'');
sb.append(", status=").append(status);
sb.append(", registrant='").append(registrant).append('\'');
sb.append(", admin=").append(admin);
sb.append(", nsset='").append(nsset).append('\'');
sb.append(", keyset='").append(keyset).append('\'');
sb.append(", clID='").append(clID).append('\'');
sb.append(", crID='").append(crID).append('\'');
sb.append(", crDate=").append(crDate);
sb.append(", upID='").append(upID).append('\'');
sb.append(", upDate=").append(upDate);
sb.append(", exDate=").append(exDate);
sb.append(", trDate=").append(trDate);
sb.append(", authInfo='").append(authInfo).append('\'');
sb.append(", tempcontact=").append(tempcontact);
sb.append(", enumval=").append(enumval);
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