org.codelabor.system.web.dto
Class ServerDTO

java.lang.Object
  extended by org.codelabor.system.web.dto.ServerDTO
All Implemented Interfaces:
Serializable

public class ServerDTO
extends Object
implements Serializable

서버 DTO

Author:
Shin Sang-jae
See Also:
Serialized Form

Field Summary
protected  String name
          서버명
protected  int port
          포트
 
Constructor Summary
ServerDTO()
           
 
Method Summary
 String getName()
          서버명을 가져온다.
 int getPort()
          포트를 가져온다.
 void setName(String name)
          서버명을 설정한다.
 void setPort(int port)
          포트를 설정한다.
 String toString()
          Constructs a String with all attributes in name = value format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name
서버명


port

protected int port
포트

Constructor Detail

ServerDTO

public ServerDTO()
Method Detail

getName

public String getName()
서버명을 가져온다.

Returns:
서버명

setName

public void setName(String name)
서버명을 설정한다.

Parameters:
name - 서버명

getPort

public int getPort()
포트를 가져온다.

Returns:
포트

setPort

public void setPort(int port)
포트를 설정한다.

Parameters:
port - 포트

toString

public String toString()
Constructs a String with all attributes in name = value format.

Overrides:
toString in class Object
Returns:
a String representation of this object.


Copyright © 2011 CODELABOR. All Rights Reserved.