+++ /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
-// SampleList.java\r
-// Since: Dec 19, 2007 5:25:46 PM\r
-//\r
-// $URL: http://www.xerial.org/svn/project/XerialJ/trunk/xerial-core/src/test/java/org/xerial/util/bean/impl/SampleList.java $\r
-// $Author: leo $\r
-//--------------------------------------\r
-package org.xerial.util.bean.impl;\r
-\r
-import java.util.ArrayList;\r
-\r
-import org.xerial.util.log.Logger;\r
-\r
-public class SampleList\r
-{\r
- private static Logger _logger = Logger.getLogger(SampleList.class); \r
- private ArrayList<Sample> sampleList = new ArrayList<Sample>(); \r
- private String listName;\r
- \r
- public String getListName()\r
- {\r
- return listName;\r
- }\r
-\r
- public void setListName(String listName)\r
- {\r
- this.listName = listName;\r
- }\r
-\r
- public SampleList()\r
- {}\r
- \r
- public void addSample(Sample s)\r
- {\r
- _logger.trace("add: " + s);\r
- sampleList.add(s);\r
- }\r
-\r
- public ArrayList<Sample> getSampleList()\r
- {\r
- return sampleList;\r
- }\r
-\r
- \r
-}\r