@Generated(value="org.jsonschema2pojo") public class Person extends BasicMessage
| Constructor and Description |
|---|
Person() |
| Modifier and Type | Method and Description |
|---|---|
Address |
getAddress()
The home address of this person.
|
Integer |
getAge()
Age in years.
|
List<String> |
getBooks()
A list of books owned by this person.
|
Set<String> |
getFavoriteColors()
A set of colors that this person likes.
|
String |
getFirstName() |
String |
getLastName() |
Set<PhoneNumber> |
getPhoneNumbers()
Phone numbers associated with this person.
|
void |
setAddress(Address address)
The home address of this person.
|
void |
setAge(Integer age)
Age in years.
|
void |
setBooks(List<String> books)
A list of books owned by this person.
|
void |
setFavoriteColors(Set<String> favoriteColors)
A set of colors that this person likes.
|
void |
setFirstName(String firstName) |
void |
setLastName(String lastName) |
void |
setPhoneNumbers(Set<PhoneNumber> phoneNumbers)
Phone numbers associated with this person.
|
createGsonBuilder, fromJSON, getCorrelationId, getHeaders, getMessageId, setCorrelationId, setHeaders, setMessageId, toJSON, toStringpublic String getFirstName()
public void setFirstName(String firstName)
firstName - The firstNamepublic String getLastName()
public void setLastName(String lastName)
lastName - The lastNamepublic Integer getAge()
public void setAge(Integer age)
age - The agepublic Set<String> getFavoriteColors()
public void setFavoriteColors(Set<String> favoriteColors)
favoriteColors - The favoriteColorspublic void setBooks(List<String> books)
books - The bookspublic Address getAddress()
public void setAddress(Address address)
address - The addresspublic Set<PhoneNumber> getPhoneNumbers()
public void setPhoneNumbers(Set<PhoneNumber> phoneNumbers)
phoneNumbers - The phoneNumbersCopyright © 2015 Red Hat, Inc.. All rights reserved.