📄 packagetypevo.java
字号:
/*
* Copyright(C) 2008, NTT AT Co., Ltd.
* Project: AWGView
*
* Notes:
* N/A
*
* Record of change:
* Date Version Name Content
* 2008/12/15 1.0 TuanNA First create
*/
package jp.co.ntt.awgview.server.vo;
import java.io.Serializable;
/**
* Class name : PackageTypeVO <BR>
*
* Package : jp.co.nttat.awgstar.server.vo <BR>
*
* Description: Store information about package name, and list port of a package <BR>
*
* @author : AI&T
* @version : 1.0
*/
public class PackageTypeVO implements Serializable {
private static final long serialVersionUID = 8522410385344528108L;
/** Define fields of database table */
public static final String PACKAGETYPE_TBL = "packagetype_tbl";
public static final String PACKAGETYPE_ID = "packagetype_id";
public static final String PACKAGETYPE_NAME = "packagetype_name";
public static final String PACKAGETYPE_PORT = "packagetype_ports";
/* Package type ID*/
private long packagetypeID = -1;
/*Name of package*/
private String packageTypeName = "";
/*List port name of package*/
private String packageTypePorts = "";
/**
* Set package type ID
* @param value
* ID for package type
*/
public void setID(long value) {
this.packagetypeID = value;
}
/**
* Get package type ID
* @return package type ID
*/
public long getID() {
return (this.packagetypeID);// = value;
}
/**
* Set name for package
* @param s
* name of package
*/
public void setName(String s) {
this.packageTypeName = s;
}
/**
* Get name of package
* @return name of package
*/
public String getName() {
return (this.packageTypeName);// = value;
}
/**
* Set list port name for package
* @param s
* Contains list port name
*/
public void setDescPort(String s) {
this.packageTypePorts = s;
}
/**
* Get string contains list port
* @return string contains list port
*/
public String getDescPorts() {
return (this.packageTypePorts);
}
/**
* Return info of PackageTypeVO
* @return a String object contains info of PackageTypeVO
*/
public String toString() {
StringBuffer buff = new StringBuffer();
buff.append(" Package type <");
buff.append("Name: " + getName() + ", ");
buff.append("ListPort: " + getDescPorts());
buff.append(">");
return buff.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -