Class City
- java.lang.Object
-
- fr.paris.lutece.plugins.geocodes.business.City
-
- All Implemented Interfaces:
Serializable
public class City extends Object implements Serializable
This is the business class for the object City- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_CODEstatic StringATTR_CODE_COUNTRYstatic StringATTR_CODE_ZONEstatic StringATTR_DATE_CREATIONstatic StringATTR_DATE_ENDstatic StringATTR_IDstatic StringATTR_VALUEstatic StringATTR_VALUE_WITHOUT_ARTICLE
-
Constructor Summary
Constructors Constructor Description City()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()Returns the CodeStringgetCodeCountry()Returns the CodeCountryStringgetCodeZone()Returns the CodeZoneDategetDateLastUpdate()Returns the dateLastUpdateDategetDateValidityEnd()Returns the dateValidityEndStringgetDateValidityEndToString()Returns the dateValidityStartDategetDateValidityStart()Returns the dateValidityStartStringgetDateValidityStartToString()Returns the dateValidityStartintgetId()Returns the IdStringgetValue()Returns the ValueStringgetValueMin()Returns the ValueMinStringgetValueMinComplete()Returns the ValueMinCompletebooleanisDeprecated()Returns the deprecatedvoidsetCode(String strCode)Sets the CodevoidsetCodeCountry(String strCodeCountry)Sets the CodeCountryvoidsetCodeZone(String strCodeZone)Sets the CodeZonevoidsetDateLastUpdate(Date dateLastUpdate)Sets the dateLastUpdatevoidsetDateValidityEnd(Date dateValidityEnd)Sets the dateValidityEndvoidsetDateValidityStart(Date dateValidityStart)Sets the dateValidityStartvoidsetDeprecated(boolean _bDeprecated)Sets the deprecatedvoidsetId(int nId)Sets the IdvoidsetValue(String strValue)Sets the ValuevoidsetValueMin(String strValueMin)Sets the strValueMinvoidsetValueMinComplete(String strValueMinComplete)Sets the strValueMinComplete
-
-
-
Field Detail
-
ATTR_CODE
public static final String ATTR_CODE
- See Also:
- Constant Field Values
-
ATTR_ID
public static final String ATTR_ID
- See Also:
- Constant Field Values
-
ATTR_DATE_CREATION
public static final String ATTR_DATE_CREATION
- See Also:
- Constant Field Values
-
ATTR_DATE_END
public static final String ATTR_DATE_END
- See Also:
- Constant Field Values
-
ATTR_VALUE_WITHOUT_ARTICLE
public static final String ATTR_VALUE_WITHOUT_ARTICLE
- See Also:
- Constant Field Values
-
ATTR_VALUE
public static final String ATTR_VALUE
- See Also:
- Constant Field Values
-
ATTR_CODE_ZONE
public static final String ATTR_CODE_ZONE
- See Also:
- Constant Field Values
-
ATTR_CODE_COUNTRY
public static final String ATTR_CODE_COUNTRY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public int getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId)
Sets the Id- Parameters:
nId- The Id
-
getCodeCountry
public String getCodeCountry()
Returns the CodeCountry- Returns:
- The CodeCountry
-
setCodeCountry
public void setCodeCountry(String strCodeCountry)
Sets the CodeCountry- Parameters:
strCodeCountry- The CodeCountry
-
getCode
public String getCode()
Returns the Code- Returns:
- The Code
-
setCode
public void setCode(String strCode)
Sets the Code- Parameters:
strCode- The Code
-
getValue
public String getValue()
Returns the Value- Returns:
- The Value
-
setValue
public void setValue(String strValue)
Sets the Value- Parameters:
strValue- The Value
-
getCodeZone
public String getCodeZone()
Returns the CodeZone- Returns:
- The CodeZone
-
setCodeZone
public void setCodeZone(String strCodeZone)
Sets the CodeZone- Parameters:
strCodeZone- The CodeZone
-
getDateValidityStart
public Date getDateValidityStart()
Returns the dateValidityStart- Returns:
- The dateValidityStart
-
getDateValidityStartToString
public String getDateValidityStartToString()
Returns the dateValidityStart- Returns:
- The dateValidityStart
-
setDateValidityStart
public void setDateValidityStart(Date dateValidityStart)
Sets the dateValidityStart- Parameters:
dateValidityStart- The dateValidityStart
-
getDateValidityEnd
public Date getDateValidityEnd()
Returns the dateValidityEnd- Returns:
- The dateValidityEnd
-
getDateValidityEndToString
public String getDateValidityEndToString()
Returns the dateValidityStart- Returns:
- The dateValidityStart
-
setDateValidityEnd
public void setDateValidityEnd(Date dateValidityEnd)
Sets the dateValidityEnd- Parameters:
dateValidityEnd- The dateValidityEnd
-
getValueMin
public String getValueMin()
Returns the ValueMin- Returns:
- The ValueMin
-
setValueMin
public void setValueMin(String strValueMin)
Sets the strValueMin- Parameters:
strValueMin- The strValueMin
-
getValueMinComplete
public String getValueMinComplete()
Returns the ValueMinComplete- Returns:
- The ValueMinComplete
-
setValueMinComplete
public void setValueMinComplete(String strValueMinComplete)
Sets the strValueMinComplete- Parameters:
strValueMinComplete- The strValueMinComplete
-
getDateLastUpdate
public Date getDateLastUpdate()
Returns the dateLastUpdate- Returns:
- The dateLastUpdate
-
setDateLastUpdate
public void setDateLastUpdate(Date dateLastUpdate)
Sets the dateLastUpdate- Parameters:
dateLastUpdate- The dateLastUpdate
-
isDeprecated
public boolean isDeprecated()
Returns the deprecated- Returns:
- The deprecated
-
setDeprecated
public void setDeprecated(boolean _bDeprecated)
Sets the deprecated- Parameters:
_bDeprecated- The deprecated
-
-