Package ch.ivyteam.ivy.location
Class LocationBuilder
- java.lang.Object
-
- ch.ivyteam.ivy.location.LocationBuilder
-
public class LocationBuilder extends Object
Creates a new location.
- See Also:
ILocationService.add(LocationBuilder),ILocation.create(GeoPosition)- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationBuilderwithAddress(String address)Sets the postal address.LocationBuilderwithName(String name)Sets the name.LocationBuilderwithNote(String note)Sets the note.LocationBuilderwithType(String type)Sets the type.
-
-
-
Method Detail
-
withName
public LocationBuilder withName(String name)
Sets the name.- Parameters:
name-- Returns:
- builder
- See Also:
ILocation.getName()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
withAddress
public LocationBuilder withAddress(String address)
Sets the postal address.- Parameters:
address-- Returns:
- builder
- See Also:
ILocation.getAddress()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
withNote
public LocationBuilder withNote(String note)
Sets the note.- Parameters:
note-- Returns:
- builder
- See Also:
ILocation.getNote()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
withType
public LocationBuilder withType(String type)
Sets the type.- Parameters:
type-- Returns:
- builder
- See Also:
ILocation.getType()- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
-