org.productivity.java.habitat4j.junit.examples.propertybean
Class SampleCommProtocolBean

java.lang.Object
  extended by org.productivity.java.habitat4j.junit.examples.propertybean.SampleCommProtocolBean
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SampleLDAPBean

public class SampleCommProtocolBean
extends java.lang.Object
implements java.io.Serializable

This is a sample PropertyBean.

## LICENSE INFORMATION ##

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Version:
$Id: SampleCommProtocolBean.html,v 1.2 2008/11/24 15:15:26 cvs Exp $
Author:
Justin Yunke <habitat4j@productivity.org>
See Also:
Serialized Form

Constructor Summary
SampleCommProtocolBean()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getHost()
           
 int getPort()
           
 java.lang.String getService()
           
 void setDescription(java.lang.String description)
           
 void setHost(java.lang.String host)
           
 void setPort(int port)
           
 void setService(java.lang.String service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleCommProtocolBean

public SampleCommProtocolBean()
Method Detail

getHost

public java.lang.String getHost()
Returns:
Returns the host.

setHost

public void setHost(java.lang.String host)
Parameters:
host - The host to set.

getPort

public int getPort()
Returns:
Returns the port.

setPort

public void setPort(int port)
Parameters:
port - The port to set.

getService

public java.lang.String getService()
Returns:
Returns the service.

setService

public void setService(java.lang.String service)
Parameters:
service - The service to set.

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.