Whois.java |
1 /** 2 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 3 * 4 * The contents of this file are subject to the terms of the Liferay Enterprise 5 * Subscription License ("License"). You may not use this file except in 6 * compliance with the License. You can obtain a copy of the License by 7 * contacting Liferay, Inc. See the License for the specific language governing 8 * permissions and limitations under the License, including but not limited to 9 * distribution rights of the Software. 10 * 11 * 12 * 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 }