⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 catalogbo.java

📁 《基于Eclipse的开源框架技术与实战》[第5章]随书源码
💻 JAVA
字号:
package com.free.struts.storefront.businessobjects;import java.util.List;import java.util.ArrayList;/** * <p>Title: Eclipse Plugin Development</p> * <p>Description: Free download</p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: Free</p> * @author gan.shu.man * @version 1.0 */public class CatalogBO extends BaseBusinessObject {  String isFeatured = null;  List assignedItems = null;  public CatalogBO() {    super();    assignedItems = new ArrayList();  }  public void setIsFeatured( String featuredCatalog ){    this.isFeatured = featuredCatalog;  }  public String getIsFeatured(){    if( this.isFeatured == null ){      this.isFeatured = "N";    }    return this.isFeatured;  }  public void setAssignedItems( List aList ){    this.assignedItems = aList;  }  public List getAssignedItems(){    return this.assignedItems;  }  public String toString(){    StringBuffer buf = new StringBuffer();    buf.append( "id:"+getId() );    buf.append( " displayLabel:"+getDisplayLabel());    buf.append( " isFeatured:"+getIsFeatured());    return buf.toString();  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -