public static class Address.Builder extends SpecificRecordBuilderBase<Address> implements RecordBuilder<Address>
Modifier and Type | Method and Description |
---|---|
Address |
build() |
Address.Builder |
clearCity()
Clears the value of the 'city' field
|
Address.Builder |
clearState()
Clears the value of the 'state' field
|
Address.Builder |
clearStreet()
Clears the value of the 'street' field
|
Address.Builder |
clearZip()
Clears the value of the 'zip' field
|
String |
getCity()
Gets the value of the 'city' field
|
String |
getState()
Gets the value of the 'state' field
|
String |
getStreet()
Gets the value of the 'street' field
|
Integer |
getZip()
Gets the value of the 'zip' field
|
boolean |
hasCity()
Checks whether the 'city' field has been set
|
boolean |
hasState()
Checks whether the 'state' field has been set
|
boolean |
hasStreet()
Checks whether the 'street' field has been set
|
boolean |
hasZip()
Checks whether the 'zip' field has been set
|
Address.Builder |
setCity(String value)
Sets the value of the 'city' field
|
Address.Builder |
setState(String value)
Sets the value of the 'state' field
|
Address.Builder |
setStreet(String value)
Sets the value of the 'street' field
|
Address.Builder |
setZip(int value)
Sets the value of the 'zip' field
|
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
public String getStreet()
public Address.Builder setStreet(String value)
public boolean hasStreet()
public Address.Builder clearStreet()
public String getCity()
public Address.Builder setCity(String value)
public boolean hasCity()
public Address.Builder clearCity()
public String getState()
public Address.Builder setState(String value)
public boolean hasState()
public Address.Builder clearState()
public Integer getZip()
public Address.Builder setZip(int value)
public boolean hasZip()
public Address.Builder clearZip()
public Address build()
build
in interface RecordBuilder<Address>
Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.