Package org.nuiton.config.plugin.model
Class OptionModel
- java.lang.Object
-
- org.nuiton.config.plugin.model.OptionModel
-
public class OptionModel extends Object
Created on 01/10/16.- Since:
- 3.0
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Constructor Summary
Constructors Constructor Description OptionModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefaultValue()
String
getDescription()
String
getKey()
String
getName()
String
getType()
boolean
isFinal()
boolean
isTransient()
static OptionModel
of(ConfigOptionDef configOptionDef)
void
setDefaultValue(String defaultValue)
void
setDescription(String description)
void
setFinal(boolean _final)
void
setKey(String key)
void
setName(String name)
void
setTransient(boolean _transient)
void
setType(Class type)
void
setType(String type)
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getType
public String getType()
-
setType
public void setType(String type)
-
setType
public void setType(Class type)
-
getDefaultValue
public String getDefaultValue()
-
setDefaultValue
public void setDefaultValue(String defaultValue)
-
isTransient
public boolean isTransient()
-
isFinal
public boolean isFinal()
-
setTransient
public void setTransient(boolean _transient)
-
setFinal
public void setFinal(boolean _final)
-
of
public static OptionModel of(ConfigOptionDef configOptionDef)
-
-