|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gisgraphy.domain.geoloc.entity.OpenStreetMap
public class OpenStreetMap
Represents a street in OpenStreetMap. it is different from Street
that represent a street in Geonames.
Field Summary | |
---|---|
static java.lang.String |
FULLTEXTSEARCH_COLUMN_NAME
Name of the column that is equals to store a string that is used for fulltext search. it deffer form the @ FULLTEXTSEARCH_COLUMN_NAME
because Hibernate, by default, lowercase the property to get the column
name This value should be change if the getter and the setter of the
getTextsearchVector() change |
static java.lang.String |
FULLTEXTSEARCH_PROPERTY_NAME
Name of the field property in hibernate. |
static java.lang.String |
FULLTEXTSEARCH_VECTOR_PROPERTY_NAME
Name of the column that is equals to to_tsvector( FULLTEXTSEARCH_COLUMN_NAME It is used to do Fulltext search with
the postgres text search module (to use the index). |
static java.lang.String |
LOCATION_COLUMN_NAME
|
static java.lang.String |
PARTIALSEARCH_COLUMN_NAME
Name of the column that is used to store a string used for partial search with postgres fulltext engine This value should be change if the getter and the setter of the getPartialsearchVector() change |
static java.lang.String |
PARTIALSEARCH_VECTOR_PROPERTY_NAME
(Experimental) Name of the column that is equals to to_tsvector( PARTIALSEARCH_COLUMN_NAME It is used to do Fulltext search with
the postgres text search module (to use the index) This value should be
change if the getter and the setter of the partialSearchName
change |
static java.lang.String |
SHAPE_COLUMN_NAME
|
Constructor Summary | |
---|---|
OpenStreetMap()
Needed by CGLib |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getCountryCode()
|
java.lang.Long |
getGid()
|
java.lang.Long |
getId()
|
java.lang.Double |
getLength()
|
com.vividsolutions.jts.geom.Point |
getLocation()
Returns The JTS location point of the current street : The Geometry representation for the latitude, longitude. |
java.lang.String |
getName()
|
boolean |
getOneWay()
|
java.lang.String |
getPartialSearchName()
(Experimental) This String is used to search for a part of a street name |
java.lang.String |
getPartialsearchVector()
IT DOES NOTHING. |
com.vividsolutions.jts.geom.LineString |
getShape()
|
StreetType |
getStreetType()
|
java.lang.String |
getTextSearchName()
This value is use to do a Fulltext search for a street name with index |
java.lang.String |
getTextsearchVector()
IT DOES NOTHING. |
int |
hashCode()
|
void |
setCountryCode(java.lang.String countryCode)
|
void |
setGid(java.lang.Long gid)
|
void |
setId(java.lang.Long id)
|
void |
setLength(java.lang.Double length)
|
void |
setLocation(com.vividsolutions.jts.geom.Point location)
|
void |
setName(java.lang.String name)
|
void |
setOneWay(boolean oneWay)
|
void |
setPartialSearchName(java.lang.String partialSearchName)
|
void |
setPartialsearchVector(java.lang.String partialsearchVector)
IT DOES NOTHING. |
void |
setShape(com.vividsolutions.jts.geom.LineString shape)
|
void |
setStreetType(StreetType streetType)
|
void |
setTextSearchName(java.lang.String textSearchName)
|
void |
setTextsearchVector(java.lang.String textsearchVector)
IT DOES NOTHING. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SHAPE_COLUMN_NAME
public static final java.lang.String FULLTEXTSEARCH_VECTOR_PROPERTY_NAME
FULLTEXTSEARCH_COLUMN_NAME
It is used to do Fulltext search with
the postgres text search module (to use the index). This value should be
change if the getter and the setter of the textSearchName
change
public static final java.lang.String PARTIALSEARCH_VECTOR_PROPERTY_NAME
PARTIALSEARCH_COLUMN_NAME
It is used to do Fulltext search with
the postgres text search module (to use the index) This value should be
change if the getter and the setter of the partialSearchName
change
GisgraphyConfig.PARTIAL_SEARH_EXPERIMENTAL
,
Constant Field Valuespublic static final java.lang.String FULLTEXTSEARCH_PROPERTY_NAME
getTextsearchVector()
change
StreetSearchMode.FULLTEXT
,
Constant Field Valuespublic static final java.lang.String FULLTEXTSEARCH_COLUMN_NAME
FULLTEXTSEARCH_COLUMN_NAME
because Hibernate, by default, lowercase the property to get the column
name This value should be change if the getter and the setter of the
getTextsearchVector()
change
StreetSearchMode.FULLTEXT
public static final java.lang.String PARTIALSEARCH_COLUMN_NAME
getPartialsearchVector()
change
GisgraphyConfig.PARTIAL_SEARH_EXPERIMENTAL
,
StreetSearchMode.CONTAINS
,
Constant Field Valuespublic static final java.lang.String LOCATION_COLUMN_NAME
Constructor Detail |
---|
public OpenStreetMap()
Method Detail |
---|
public java.lang.String getPartialSearchName()
StreetSearchMode.CONTAINS
,
GisgraphyConfig.PARTIAL_SEARH_EXPERIMENTAL
public void setPartialSearchName(java.lang.String partialSearchName)
partialSearchName
- the partialSearchName to setpublic java.lang.String getTextSearchName()
public void setTextSearchName(java.lang.String textSearchName)
textSearchName
- the textSearchName to setpublic java.lang.String getTextsearchVector()
public void setTextsearchVector(java.lang.String textsearchVector)
textsearchVector
- the textsearchVector to setpublic java.lang.String getPartialsearchVector()
public void setPartialsearchVector(java.lang.String partialsearchVector)
partialsearchVector
- the ilikesearch to setpublic java.lang.Long getId()
public void setId(java.lang.Long id)
id
- the id to setpublic java.lang.Long getGid()
public void setGid(java.lang.Long gid)
gid
- the gid to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic StreetType getStreetType()
public void setStreetType(StreetType streetType)
streetType
- the streetType to setpublic boolean getOneWay()
public void setOneWay(boolean oneWay)
oneWay
- the oneWay to setpublic com.vividsolutions.jts.geom.Point getLocation()
SRID
SRID
public void setLocation(com.vividsolutions.jts.geom.Point location)
location
- the location to setpublic com.vividsolutions.jts.geom.LineString getShape()
public void setShape(com.vividsolutions.jts.geom.LineString shape)
shape
- the shape to setpublic java.lang.String getCountryCode()
public void setCountryCode(java.lang.String countryCode)
countryCode
- the countryCode to setpublic java.lang.Double getLength()
public void setLength(java.lang.Double length)
length
- the length to setpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |