Class City
- java.lang.Object
-
- fr.paris.lutece.plugins.geocodes.business.City
-
- All Implemented Interfaces:
java.io.Serializable
public class City extends java.lang.Object implements java.io.SerializableThis is the business class for the object City- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTR_CODEstatic java.lang.StringATTR_CODE_COUNTRYstatic java.lang.StringATTR_CODE_ZONEstatic java.lang.StringATTR_DATE_CREATIONstatic java.lang.StringATTR_DATE_ENDstatic java.lang.StringATTR_IDstatic java.lang.StringATTR_VALUEstatic java.lang.StringATTR_VALUE_WITHOUT_ARTICLE
-
Constructor Summary
Constructors Constructor Description City()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()Returns the Codejava.lang.StringgetCodeCountry()Returns the CodeCountryjava.lang.StringgetCodeZone()Returns the CodeZonejava.util.DategetDateLastUpdate()Returns the dateLastUpdatejava.util.DategetDateValidityEnd()Returns the dateValidityEndjava.lang.StringgetDateValidityEndToString()Returns the dateValidityStartjava.util.DategetDateValidityStart()Returns the dateValidityStartjava.lang.StringgetDateValidityStartToString()Returns the dateValidityStartintgetId()Returns the Idjava.lang.StringgetValue()Returns the Valuejava.lang.StringgetValueMin()Returns the ValueMinjava.lang.StringgetValueMinComplete()Returns the ValueMinCompletebooleanisDeprecated()Returns the deprecatedvoidsetCode(java.lang.String strCode)Sets the CodevoidsetCodeCountry(java.lang.String strCodeCountry)Sets the CodeCountryvoidsetCodeZone(java.lang.String strCodeZone)Sets the CodeZonevoidsetDateLastUpdate(java.util.Date dateLastUpdate)Sets the dateLastUpdatevoidsetDateValidityEnd(java.util.Date dateValidityEnd)Sets the dateValidityEndvoidsetDateValidityStart(java.util.Date dateValidityStart)Sets the dateValidityStartvoidsetDeprecated(boolean _bDeprecated)Sets the deprecatedvoidsetId(int nId)Sets the IdvoidsetValue(java.lang.String strValue)Sets the ValuevoidsetValueMin(java.lang.String strValueMin)Sets the strValueMinvoidsetValueMinComplete(java.lang.String strValueMinComplete)Sets the strValueMinComplete
-
-
-
Field Detail
-
ATTR_CODE
public static final java.lang.String ATTR_CODE
- See Also:
- Constant Field Values
-
ATTR_ID
public static final java.lang.String ATTR_ID
- See Also:
- Constant Field Values
-
ATTR_DATE_CREATION
public static final java.lang.String ATTR_DATE_CREATION
- See Also:
- Constant Field Values
-
ATTR_DATE_END
public static final java.lang.String ATTR_DATE_END
- See Also:
- Constant Field Values
-
ATTR_VALUE_WITHOUT_ARTICLE
public static final java.lang.String ATTR_VALUE_WITHOUT_ARTICLE
- See Also:
- Constant Field Values
-
ATTR_VALUE
public static final java.lang.String ATTR_VALUE
- See Also:
- Constant Field Values
-
ATTR_CODE_ZONE
public static final java.lang.String ATTR_CODE_ZONE
- See Also:
- Constant Field Values
-
ATTR_CODE_COUNTRY
public static final java.lang.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 java.lang.String getCodeCountry()
Returns the CodeCountry- Returns:
- The CodeCountry
-
setCodeCountry
public void setCodeCountry(java.lang.String strCodeCountry)
Sets the CodeCountry- Parameters:
strCodeCountry- The CodeCountry
-
getCode
public java.lang.String getCode()
Returns the Code- Returns:
- The Code
-
setCode
public void setCode(java.lang.String strCode)
Sets the Code- Parameters:
strCode- The Code
-
getValue
public java.lang.String getValue()
Returns the Value- Returns:
- The Value
-
setValue
public void setValue(java.lang.String strValue)
Sets the Value- Parameters:
strValue- The Value
-
getCodeZone
public java.lang.String getCodeZone()
Returns the CodeZone- Returns:
- The CodeZone
-
setCodeZone
public void setCodeZone(java.lang.String strCodeZone)
Sets the CodeZone- Parameters:
strCodeZone- The CodeZone
-
getDateValidityStart
public java.util.Date getDateValidityStart()
Returns the dateValidityStart- Returns:
- The dateValidityStart
-
getDateValidityStartToString
public java.lang.String getDateValidityStartToString()
Returns the dateValidityStart- Returns:
- The dateValidityStart
-
setDateValidityStart
public void setDateValidityStart(java.util.Date dateValidityStart)
Sets the dateValidityStart- Parameters:
dateValidityStart- The dateValidityStart
-
getDateValidityEnd
public java.util.Date getDateValidityEnd()
Returns the dateValidityEnd- Returns:
- The dateValidityEnd
-
getDateValidityEndToString
public java.lang.String getDateValidityEndToString()
Returns the dateValidityStart- Returns:
- The dateValidityStart
-
setDateValidityEnd
public void setDateValidityEnd(java.util.Date dateValidityEnd)
Sets the dateValidityEnd- Parameters:
dateValidityEnd- The dateValidityEnd
-
getValueMin
public java.lang.String getValueMin()
Returns the ValueMin- Returns:
- The ValueMin
-
setValueMin
public void setValueMin(java.lang.String strValueMin)
Sets the strValueMin- Parameters:
strValueMin- The strValueMin
-
getValueMinComplete
public java.lang.String getValueMinComplete()
Returns the ValueMinComplete- Returns:
- The ValueMinComplete
-
setValueMinComplete
public void setValueMinComplete(java.lang.String strValueMinComplete)
Sets the strValueMinComplete- Parameters:
strValueMinComplete- The strValueMinComplete
-
getDateLastUpdate
public java.util.Date getDateLastUpdate()
Returns the dateLastUpdate- Returns:
- The dateLastUpdate
-
setDateLastUpdate
public void setDateLastUpdate(java.util.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
-
-