📄 testclassassiimpl.java
字号:
/**
* (c) Copyright 2007 computer01
*
* FILENAME : TestClassAssiImpl.java
* PACKAGE : com.computer03.test
* CREATE DATE : 2007-11-21
* AUTHOR : yufeng
* DESCRIPTION : classAssiImpl单元测试类
*/
package com.computer03.test;
import java.util.Iterator;
import java.util.List;
import com.computer03.entity.AllEntity;
import com.computer03.entity.TAB_CLASS;
import com.computer03.entitysupport.ClassAssiImpl;
public class TestClassAssiImpl {
public void TestGetEntityList(AllEntity condition) {
ClassAssiImpl claimpl = new ClassAssiImpl();
List calList = claimpl.getEntityList(condition);
Iterator iter = calList.iterator();
while (iter.hasNext()) {
AllEntity allentity =
(AllEntity)iter.next();
TAB_CLASS cla =
allentity.getTabclass();
// //打印
System.out.print("班号 "+
cla.getCLASSNO());
System.out.print("班级名 "+
cla.getCLASSNAME());
System.out.println();
}
}
public static void main(String[] args) {
// TODO Auto-generated method stub
TestClassAssiImpl clatest =
new TestClassAssiImpl();
AllEntity condition = new AllEntity();
clatest.TestGetEntityList(condition);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -