Example usage for org.apache.commons.beanutils Address setCity

List of usage examples for org.apache.commons.beanutils Address setCity

Introduction

In this page you can find the example usage for org.apache.commons.beanutils Address setCity.

Prototype

public void setCity(String city) 

Source Link

Usage

From source file:org.sipfoundry.sipxconfig.phonebook.PhonebookGoogleEntryHelper.java

private void extractPostalAddress(Address phonebookAddress, StructuredPostalAddress addressGmail) {
    phonebookAddress.setCity(getGDataValue(addressGmail, CITY));
    phonebookAddress.setCountry(getGDataValue(addressGmail, COUNTRY));
    phonebookAddress.setState(getGDataValue(addressGmail, REGION));
    phonebookAddress.setStreet(getGDataValue(addressGmail, STREET));
    phonebookAddress.setZip(getGDataValue(addressGmail, POSTCODE));
}