Created
July 4, 2012 00:00
-
-
Save donatasnicequestion/3044247 to your computer and use it in GitHub Desktop.
Snippet of CRUDPersonsTaskFlowController.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CRUDPersonsTaskFlowController { | |
private List<Person> personList; | |
.. getter and setter omitted.. | |
/** Copy person by using copy constructor | |
* | |
* @param person person to copy | |
*/ | |
public void copyPerson(Person person) { | |
personList.add(new Person(person)); | |
} | |
.. test data initialization code omitted.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment