Class City
java.lang.Object
fr.paris.lutece.plugins.geocodes.business.City
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CityChanges
This is the business class for the object City
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Returns the CodeReturns the CodeCountryReturns the CodeZoneReturns the dateLastUpdateReturns the dateValidityEndReturns the dateValidityStartReturns the dateValidityStartReturns the dateValidityStartintgetId()Returns the IdintgetValue()Returns the ValueReturns the ValueMinReturns the ValueMinCompletebooleanReturns the deprecatedvoidsetCityChanges(CityChanges changes) voidSets 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 IdvoidsetPendingChanges(int pendingChanges) voidSets the ValuevoidsetValueMin(String strValueMin) Sets the strValueMinvoidsetValueMinComplete(String strValueMinComplete) Sets the strValueMinComplete
-
Field Details
-
ATTR_CODE
- See Also:
-
ATTR_ID
- See Also:
-
ATTR_DATE_CREATION
- See Also:
-
ATTR_DATE_END
- See Also:
-
ATTR_VALUE_WITHOUT_ARTICLE
- See Also:
-
ATTR_VALUE
- See Also:
-
ATTR_CODE_ZONE
- See Also:
-
ATTR_CODE_COUNTRY
- See Also:
-
-
Constructor Details
-
City
public City()
-
-
Method Details
-
getId
public int getId()Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId) Sets the Id- Parameters:
nId- The Id
-
getCodeCountry
Returns the CodeCountry- Returns:
- The CodeCountry
-
setCodeCountry
Sets the CodeCountry- Parameters:
strCodeCountry- The CodeCountry
-
getCode
Returns the Code- Returns:
- The Code
-
setCode
Sets the Code- Parameters:
strCode- The Code
-
getValue
Returns the Value- Returns:
- The Value
-
setValue
Sets the Value- Parameters:
strValue- The Value
-
getCodeZone
Returns the CodeZone- Returns:
- The CodeZone
-
setCodeZone
Sets the CodeZone- Parameters:
strCodeZone- The CodeZone
-
getDateValidityStart
Returns the dateValidityStart- Returns:
- The dateValidityStart
-
getDateValidityStartToString
Returns the dateValidityStart- Returns:
- The dateValidityStart
-
setDateValidityStart
Sets the dateValidityStart- Parameters:
dateValidityStart- The dateValidityStart
-
getDateValidityEnd
Returns the dateValidityEnd- Returns:
- The dateValidityEnd
-
getDateValidityEndToString
Returns the dateValidityStart- Returns:
- The dateValidityStart
-
setDateValidityEnd
Sets the dateValidityEnd- Parameters:
dateValidityEnd- The dateValidityEnd
-
getValueMin
Returns the ValueMin- Returns:
- The ValueMin
-
setValueMin
Sets the strValueMin- Parameters:
strValueMin- The strValueMin
-
getValueMinComplete
Returns the ValueMinComplete- Returns:
- The ValueMinComplete
-
setValueMinComplete
Sets the strValueMinComplete- Parameters:
strValueMinComplete- The strValueMinComplete
-
getDateLastUpdate
Returns the dateLastUpdate- Returns:
- The dateLastUpdate
-
setDateLastUpdate
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
-
getCityChanges
-
setCityChanges
-
getPendingChanges
public int getPendingChanges() -
setPendingChanges
public void setPendingChanges(int pendingChanges)
-