cz.active24.client.fred.data.list.ListResultsResponse 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.list;
import cz.active24.client.fred.data.EppResponse;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashSet;
/**
* Response contains loaded data prepared by specific request.
*
*
* -
* {@link ListResultsResponse#results} - loaded data.
*
*
*
* @see FRED documentation
*/
public class ListResultsResponse extends EppResponse implements Serializable, ListResponse {
private Collection results;
public ListResultsResponse() {
results = new HashSet();
}
public Collection getResults() {
return results;
}
public void setResults(Collection results) {
this.results = results;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("ListResultsResponse{");
sb.append("results=").append(results);
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