org.springframework.batch.sample.domain.person

## Class PersonService

- java.lang.Object
- - org.springframework.batch.sample.domain.person.PersonService

-     public class PersonService
      extends java.lang.Object

  Custom class that contains logic that would normally be be contained in `ItemReader` and `ItemWriter`.
  Author:
    tomas.slanina, Robert Kasanicky

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PersonService()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Person` | `getData()`
    `int` | `getReceivedCount()`
    `int` | `getReturnedCount()`
    `void` | `processPerson(java.lang.String name, java.lang.String city)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PersonService

          public PersonService()

  - ### Method Detail

    - #### getData

          public Person getData()

    - #### processPerson

          public void processPerson(java.lang.String name,
                                    java.lang.String city)

    - #### getReturnedCount

          public int getReturnedCount()

    - #### getReceivedCount

          public int getReceivedCount()