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

📄 vostype.java

📁 网格agent平台(GAP ,Grid AgentsPlatform)开发包
💻 JAVA
字号:
/*
 ****************************************************************************************
 * Copyright ? Giovanni Novelli
 * All Rights Reserved.
 ****************************************************************************************
 *
 * License:      GPL - http://www.gnu.org/copyleft/gpl.html
 *
 * VOSType.java
 *
 * Created on 22 January 2008, 09.00 by Giovanni Novelli
 *
 * $Id$
 *
 */

package net.sf.gap.xml.types;

import java.util.LinkedList;

/**
 *
 * @author Giovanni Novelli
 */
public class VOSType {
	private LinkedList<VOType> voItems;

	public VOSType() {
		this.setVoItems(new LinkedList<VOType>());
	}

	public VOSType(GridType grid) {
		this.setVoItems(new LinkedList<VOType>());
		VOType aVO = new VOType();
		aVO.setGridElements(new LinkedList<String>());
		for (int i = 0; i < grid.getGridElements().size(); i++) {
			aVO.addGE(grid.getGridElements().get(i).getName());
		}
		this.addVO(aVO);
	}

	public boolean addVO(VOType aVO) {
		return this.getVoItems().add(aVO);
	}

	public LinkedList<VOType> getVoItems() {
		return voItems;
	}

	public void setVoItems(LinkedList<VOType> voItems) {
		this.voItems = voItems;
	}
}

⌨️ 快捷键说明

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