com.evasion.ModuleProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of API Show documentation
Show all versions of API Show documentation
API de l'application modulaire evasion-en-ligne
The newest version!
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.evasion;
/**
*
* @author sglon
*/
class ModuleProperty {
private String key;
private String defaultValue;
private String value;
private String format;
private Level level;
public enum Level {
Global, Site, User;
}
public ModuleProperty(String key, String defaultValue, String value, String format, Level level) {
this.key = key;
this.defaultValue = defaultValue;
this.value = value;
this.format = format;
this.level = level;
}
public String getDefaultValue() {
return defaultValue;
}
public String getFormat() {
return format;
}
public String getKey() {
return key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public Level getLevel() {
return level;
}
}