org.springframework.test.context.transaction.ejb.model.TestEntity#setCount ( )源码实例Demo

下面列出了org.springframework.test.context.transaction.ejb.model.TestEntity#setCount ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

protected final int incrementCountInternal(String name) {
	TestEntity te = getTestEntity(name);
	int count = te.getCount();
	count++;
	te.setCount(count);
	return count;
}
 
protected final int incrementCountInternal(String name) {
	TestEntity te = getTestEntity(name);
	int count = te.getCount();
	count++;
	te.setCount(count);
	return count;
}
 
protected final int incrementCountInternal(String name) {
	TestEntity te = getTestEntity(name);
	int count = te.getCount();
	count++;
	te.setCount(count);
	return count;
}