Builder to construct an Indexable
for a local business.
For reference, see: //schema.org/LocalBusiness.
Public Method Summary
LocalBusinessBuilder | |
LocalBusinessBuilder |
setAggregateRating(AggregateRatingBuilder
aggregateRating)
Sets the overall rating of the local business.
|
LocalBusinessBuilder | |
LocalBusinessBuilder | |
LocalBusinessBuilder |
Inherited Method Summary
final Indexable |
build()
Finalize building the object.
|
T | |
<S extends IndexableBuilder<?>> T | |
T |
put(String key,
Indexable...
values)
Sets one or multiple
Indexable
values for a property, replacing its previous values.
|
T | |
T | |
T | |
final T | |
T | |
final T | |
final <S extends IndexableBuilder<?>> T |
setIsPartOf(S... collections)
Sets the sub-group or collection that this Indexable is part of.
|
final T | |
T | |
final T | |
final T | |
final T |
Public Methods
public LocalBusinessBuilder setAddress (PostalAddressBuilder address)
Sets the physical address of the local business.
Parameters
address | The the physical address of the business. |
---|
public LocalBusinessBuilder setAggregateRating (AggregateRatingBuilder aggregateRating)
Sets the overall rating of the local business.
Parameters
aggregateRating | The overall rating, based on a collection of reviews or ratings. |
---|
public LocalBusinessBuilder setGeo (GeoShapeBuilder geoShape)
Sets the geo coordinates of the local business.
Parameters
geoShape | The geo coordinates of the local business. |
---|
public LocalBusinessBuilder setPriceRange (String priceRange)
Sets the price range of the local business.
Parameters
priceRange | The price range of the business. For example, "$11-30". |
---|
public LocalBusinessBuilder setTelephone (String telephone)
Sets the telephone number of the local business.
Parameters
telephone | The telephone number of the business. |
---|