Modifier and Type | Field and Description |
---|---|
protected int |
accountId |
protected String |
address |
protected String |
city |
protected String |
contactName |
protected String |
country |
protected String |
description |
protected int |
id |
protected int |
isActive |
protected int |
locationId |
protected String |
postalCode |
protected String |
state |
Constructor and Description |
---|
Address.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
accountId(int accountId) |
T |
address(String address) |
Address |
build() |
T |
city(String city) |
T |
contactName(String contactName) |
T |
country(String country) |
T |
description(String description) |
T |
fromAddress(Address in) |
T |
id(int id) |
T |
isActive(int isActive) |
T |
locationId(int locationId) |
T |
postalCode(String postalCode) |
protected abstract T |
self() |
T |
state(String state) |
protected int id
protected String country
protected String state
protected String description
protected int accountId
protected String address
protected String city
protected String contactName
protected int isActive
protected int locationId
protected String postalCode
protected abstract T self()
public T id(int id)
Address.getId()
public T country(String country)
Address.getCountry()
public T state(String state)
Address.getState()
public T description(String description)
Address.getDescription()
public T accountId(int accountId)
Address.getAccountId()
public T address(String address)
Address.getAddress1()
public T city(String city)
Address.getCity()
public T contactName(String contactName)
Address.getContactName()
public T isActive(int isActive)
Address.isActive()
public T locationId(int locationId)
Address.getLocationId()
public T postalCode(String postalCode)
Address.getPostalCode()
public Address build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.