+++ /dev/null
-/*--------------------------------------------------------------------------\r
- * Copyright 2007 Taro L. Saito\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *--------------------------------------------------------------------------*/\r
-//--------------------------------------\r
-// XerialJ\r
-//\r
-// CollectionParam.java\r
-// Since: Dec 19, 2007 6:30:16 PM\r
-//\r
-// $URL: http://www.xerial.org/svn/project/XerialJ/trunk/xerial-core/src/test/java/org/xerial/util/bean/sample/CollectionParam.java $\r
-// $Author: leo $\r
-//--------------------------------------\r
-package org.xerial.util.bean.sample;\r
-\r
-import java.util.ArrayList;\r
-import java.util.Vector;\r
-\r
-public class CollectionParam\r
-{\r
- Vector<String> nameList = new Vector<String>();\r
- ArrayList<Integer> idList = new ArrayList<Integer>();\r
-\r
- public CollectionParam(Vector<String> nameList, ArrayList<Integer> idList)\r
- {\r
- this.nameList = nameList;\r
- this.idList = idList;\r
- }\r
-\r
- public CollectionParam()\r
- {}\r
-\r
- public ArrayList<Integer> getId()\r
- {\r
- return idList;\r
- }\r
-\r
- public void addId(int id)\r
- {\r
- this.idList.add(id);\r
- }\r
-\r
- public Vector<String> getName()\r
- {\r
- return nameList;\r
- }\r
-\r
- public void addName(String name)\r
- {\r
- this.nameList.add(name);\r
- }\r
-}\r