Whois.java |
1 /** 2 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 3 * 4 * This library is free software; you can redistribute it and/or modify it under 5 * the terms of the GNU Lesser General Public License as published by the Free 6 * Software Foundation; either version 2.1 of the License, or (at your option) 7 * any later version. 8 * 9 * This library is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 12 * details. 13 */ 14 15 package com.liferay.portlet.network.model; 16 17 import java.io.Serializable; 18 19 /** 20 * <a href="Whois.java.html"><b><i>View Source</i></b></a> 21 * 22 * @author Brian Wing Shun Chan 23 */ 24 public class Whois implements Serializable { 25 26 public Whois() { 27 } 28 29 public Whois(String domain, String results) { 30 _domain = domain; 31 _results = results; 32 } 33 34 public String getDomain() { 35 return _domain; 36 } 37 38 public void setDomain(String domain) { 39 _domain = domain; 40 } 41 42 public String getResults() { 43 return _results; 44 } 45 46 public void setResults(String results) { 47 _results = results; 48 } 49 50 private String _domain; 51 private String _results; 52 53 }