Class Country
- java.lang.Object
-
- fr.paris.lutece.plugins.geocodes.business.Country
-
- All Implemented Interfaces:
java.io.Serializable
public class Country extends java.lang.Object implements java.io.SerializableThis is the business class for the object Country- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Country()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCode()Returns the Codejava.util.DategetDateValidityEnd()Returns the date attachedjava.util.DategetDateValidityStart()Returns the date attachedintgetId()Returns the Idjava.lang.StringgetValue()Returns the ValuebooleanisAttached()Returns the boolean attachedbooleanisDeprecated()Returns the boolean deprecatedvoidsetAttached(boolean _bAttached)Sets the boolean attachedvoidsetCode(java.lang.String strCode)Sets the CodevoidsetDateValidityEnd(java.util.Date _dateValidityEnd)Sets the date attachedvoidsetDateValidityStart(java.util.Date _dateValidityStart)Sets the date attachedvoidsetDeprecated(boolean _bDeprecated)Sets the boolean deprecatedvoidsetId(int nId)Sets the IdvoidsetValue(java.lang.String strValue)Sets the Value
-
-
-
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
-
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
-
isAttached
public boolean isAttached()
Returns the boolean attached- Returns:
- attached
-
setAttached
public void setAttached(boolean _bAttached)
Sets the boolean attached- Parameters:
_bAttached- The boolean attached
-
getDateValidityEnd
public java.util.Date getDateValidityEnd()
Returns the date attached- Returns:
- attached
-
setDateValidityEnd
public void setDateValidityEnd(java.util.Date _dateValidityEnd)
Sets the date attached- Parameters:
_dateValidityEnd- The date attached
-
getDateValidityStart
public java.util.Date getDateValidityStart()
Returns the date attached- Returns:
- attached
-
setDateValidityStart
public void setDateValidityStart(java.util.Date _dateValidityStart)
Sets the date attached- Parameters:
_dateValidityStart- The date attached
-
isDeprecated
public boolean isDeprecated()
Returns the boolean deprecated- Returns:
- deprecated
-
setDeprecated
public void setDeprecated(boolean _bDeprecated)
Sets the boolean deprecated- Parameters:
_bDeprecated- The boolean deprecated
-
-