Class TemporaryCodeConfig
- java.lang.Object
-
- fr.paris.lutece.plugins.temporarycode.business.TemporaryCodeConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class TemporaryCodeConfig extends java.lang.Object implements java.io.SerializableThis is the business class for the object TemporaryCodeConfig- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TemporaryCodeConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCharacterType()Returns the CharacterintgetCodeLength()Returns the CodeLengthintgetId()Returns the IdintgetValidityTime()Returns the ValidityTimebooleanisDefault()voidsetCharacterType(java.lang.String character)Sets the CharactervoidsetCodeLength(int nCodeLength)Sets the CodeLengthvoidsetDefault(boolean bDefault)voidsetId(int nId)Sets the IdvoidsetValidityTime(int nValidityTime)Sets the ValidityTime
-
-
-
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
-
getCodeLength
public int getCodeLength()
Returns the CodeLength- Returns:
- The CodeLength
-
setCodeLength
public void setCodeLength(int nCodeLength)
Sets the CodeLength- Parameters:
nCodeLength- The CodeLength
-
getValidityTime
public int getValidityTime()
Returns the ValidityTime- Returns:
- The ValidityTime
-
setValidityTime
public void setValidityTime(int nValidityTime)
Sets the ValidityTime- Parameters:
nValidityTime- The ValidityTime
-
getCharacterType
public java.lang.String getCharacterType()
Returns the Character- Returns:
- The Character
-
setCharacterType
public void setCharacterType(java.lang.String character)
Sets the Character- Parameters:
strCharacter- The Character
-
isDefault
public boolean isDefault()
- Returns:
- the _bDefault
-
setDefault
public void setDefault(boolean bDefault)
- Parameters:
bDefault- the _bDefault to set
-
-