// Path: src/main/java/com/getit/todoapp/repository/UserRepository.java
// @Repository
// @RooJpaRepository(domainType = Userinfo.class)
// public interface UserRepository extends JpaSpecificationExecutor<Userinfo>, JpaRepository<Userinfo, Long> {
// 	
// 	List<Userinfo> findByUserName(String userName);
// }
// 
// Path: src/main/java/com/getit/todoapp/service/UserService.java
// @RooService(domainTypes = { com.getit.todoapp.domain.Userinfo.class })
// public interface UserService {
// 
// 	List<Userinfo> findByUserName(String userName);
// 
// 	public abstract long countAllUserinfoes();
// 
// 
// 	public abstract void deleteUserinfo(Userinfo userinfo);
// 
// 
// 	public abstract Userinfo findUserinfo(Long id);
// 
// 
// 	public abstract List<Userinfo> findAllUserinfoes();
// 
// 
// 	public abstract List<Userinfo> findUserinfoEntries(int firstResult, int maxResults);
// 
// 
// 	public abstract void saveUserinfo(Userinfo userinfo);
// 
// 
// 	public abstract Userinfo updateUserinfo(Userinfo userinfo);
// 
// }


import com.getit.todoapp.repository.UserRepository;
import com.getit.todoapp.service.UserService;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import javax.validation.ConstraintViolation;
import javax.validation.ConstraintViolationException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.roo.addon.dod.RooDataOnDemand;
import org.springframework.stereotype.Component;
package com.getit.todoapp.domain;

@Component
@Configurable
@RooDataOnDemand(entity = Userinfo.class)
public class UserinfoDataOnDemand {

	private Random rnd = new SecureRandom();

	private List<Userinfo> data;

	@Autowired
// Path: src/main/java/com/getit/todoapp/repository/UserRepository.java
// @Repository
// @RooJpaRepository(domainType = Userinfo.class)
// public interface UserRepository extends JpaSpecificationExecutor<Userinfo>, JpaRepository<Userinfo, Long> {
// 	
// 	List<Userinfo> findByUserName(String userName);
// }
// 
// Path: src/main/java/com/getit/todoapp/service/UserService.java
// @RooService(domainTypes = { com.getit.todoapp.domain.Userinfo.class })
// public interface UserService {
// 
// 	List<Userinfo> findByUserName(String userName);
// 
// 	public abstract long countAllUserinfoes();
// 
// 
// 	public abstract void deleteUserinfo(Userinfo userinfo);
// 
// 
// 	public abstract Userinfo findUserinfo(Long id);
// 
// 
// 	public abstract List<Userinfo> findAllUserinfoes();
// 
// 
// 	public abstract List<Userinfo> findUserinfoEntries(int firstResult, int maxResults);
// 
// 
// 	public abstract void saveUserinfo(Userinfo userinfo);
// 
// 
// 	public abstract Userinfo updateUserinfo(Userinfo userinfo);
// 
// }


// Path: src/test/java/com/getit/todoapp/domain/UserinfoDataOnDemand.java
import com.getit.todoapp.repository.UserRepository;
import com.getit.todoapp.service.UserService;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import javax.validation.ConstraintViolation;
import javax.validation.ConstraintViolationException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.roo.addon.dod.RooDataOnDemand;
import org.springframework.stereotype.Component;

package com.getit.todoapp.domain;

@Component
@Configurable
@RooDataOnDemand(entity = Userinfo.class)
public class UserinfoDataOnDemand {

	private Random rnd = new SecureRandom();

	private List<Userinfo> data;

	@Autowired
    UserService userService;