com.gisgraphy.domain.geoloc.entity
Class ZipCode
java.lang.Object
com.gisgraphy.domain.geoloc.entity.ZipCode
public class ZipCode
- extends java.lang.Object
Represents a ZipCode
.
- Author:
- David Masclet
Constructor Summary |
ZipCode()
/**
Default Constructor |
ZipCode(java.lang.String code)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ZipCode
public ZipCode()
- /**
Default Constructor
ZipCode
public ZipCode(java.lang.String code)
- Parameters:
code
- the code of the zipcode
getId
public java.lang.Long getId()
- The datastore id
- Returns:
- The datastore id, it is not a domain value, just a technical One
setId
public void setId(java.lang.Long id)
- Parameters:
id
- the id to set
getCode
public java.lang.String getCode()
- Returns:
- the code
setCode
public void setCode(java.lang.String code)
- Parameters:
code
- the code to set
setGisFeature
public void setGisFeature(GisFeature gisFeature)
- Parameters:
gisFeature
- the gisfeature of the zipcode
getGisFeature
public GisFeature getGisFeature()
- Returns:
- the gisFeature associated to this zip code
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
Copyright © 2010. All Rights Reserved.