public class AlternateOsmName extends Object
Constructor and Description |
---|
AlternateOsmName()
Default constructor (Needed by CGLib)
|
AlternateOsmName(String name,
AlternateNameSource source) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getAlternateNameId()
Returns the alternate name id.
|
Long |
getId()
The datastore id
|
String |
getLanguage() |
String |
getName() |
AlternateNameSource |
getSource()
It tells from which files / gazetteers it has been imported
|
OpenStreetMap |
getStreet()
The GisFeature, the Alternate name refers to
|
int |
hashCode() |
void |
setAlternateNameId(Integer alternateNameId)
Set the alternateName id
|
void |
setId(Long id)
Set the datastore id.
|
void |
setLanguage(String language)
Set the the iso 639 alpha2 or alpha 3 languageCode for the current
alternate name
|
void |
setName(String name)
Set the name of the current alternate name
|
void |
setSource(AlternateNameSource source)
Set the source from which the alternate name come from
|
void |
setStreet(OpenStreetMap street)
Set the gisFeature, the alternate name refers to
|
String |
toString() |
public AlternateOsmName(String name, AlternateNameSource source)
name
- The name of the alternate namesource
- what is the source the alternate nameAlternateNameSource
public AlternateOsmName()
public Long getId()
public void setId(Long id)
id
- The datastore idpublic String getName()
public void setName(String name)
name
- The name to setpublic OpenStreetMap getStreet()
public void setStreet(OpenStreetMap street)
street
- The street, the alternate name refers topublic AlternateNameSource getSource()
AlternateNameSource
public void setSource(AlternateNameSource source)
public Integer getAlternateNameId()
public void setAlternateNameId(Integer alternateNameId)
alternateNameId
- The id to setpublic String getLanguage()
AlternateOsmName
public void setLanguage(String language)
language
- The language to set, it will be automaticaly upercasedCopyright © 2015. All rights reserved.