Class City
- java.lang.Object
-
- fr.paris.lutece.plugins.geocode.v1.web.rs.dto.City
-
- All Implemented Interfaces:
Serializable
public class City extends Object implements Serializable
- 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_LABELstatic StringATTR_LABEL_WITHOUT_ARTICLEstatic StringATTR_VALUE_DISPLAY
-
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 CodeZoneDategetDateValidityEnd()Returns the dateValidityEndStringgetDateValidityEndToString()Returns the dateValidityStartDategetDateValidityStart()Returns the dateValidityStartStringgetDateValidityStartToString()Returns the dateValidityStartStringgetDisplayValue()Returns the DisplayValueintgetId()Returns the IdStringgetValue()Returns the ValueStringgetValueMin()Returns the ValueMinvoidsetCode(String strCode)Sets the CodevoidsetCodeCountry(String strCodeCountry)Sets the CodeCountryvoidsetCodeZone(String strCodeZone)Sets the CodeZonevoidsetDateValidityEnd(Date dateValidityEnd)Sets the dateValidityEndvoidsetDateValidityStart(Date dateValidityStart)Sets the dateValidityStartvoidsetDisplayValue(String strDisplayValue)Sets the _strDisplayValuevoidsetId(int nId)Sets the IdvoidsetValue(String strValue)Sets the ValuevoidsetValueMin(String strValueMin)Sets the strValueMin
-
-
-
Field Detail
-
ATTR_CODE
public static final String ATTR_CODE
- 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_LABEL_WITHOUT_ARTICLE
public static final String ATTR_LABEL_WITHOUT_ARTICLE
- See Also:
- Constant Field Values
-
ATTR_LABEL
public static final String ATTR_LABEL
- 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
-
ATTR_VALUE_DISPLAY
public static final String ATTR_VALUE_DISPLAY
- 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
-
getDisplayValue
public String getDisplayValue()
Returns the DisplayValue- Returns:
- The DisplayValue
-
setDisplayValue
public void setDisplayValue(String strDisplayValue)
Sets the _strDisplayValue- Parameters:
strDisplayValue- The strDisplayValue
-
-