public class PersonConverter extends Object
Modifier and Type | Field and Description |
---|---|
static PersonConverter |
FIRST_LEVEL_SUB
First level substitution converter.
|
static PersonConverter |
NO_SUB
No substitution converter.
|
Modifier and Type | Method and Description |
---|---|
List<Person> |
convert(Collection<? extends PersonEntity> persons)
Converts a person according to the given substitution level.
|
Person |
convert(PersonEntity person)
Converts a person according to the given substitution level.
|
static PersonConverter |
forLevel(int substitutionLevel)
Returns an instance of person converter for the given substitution level.
|
public static final PersonConverter NO_SUB
public static final PersonConverter FIRST_LEVEL_SUB
public static PersonConverter forLevel(int substitutionLevel)
substitutionLevel
- public Person convert(PersonEntity person)
person
- public List<Person> convert(Collection<? extends PersonEntity> persons)
persons
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.