public class SensitivityUtils extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
PROPERTIES_PATH
Properties file resource path.
|
protected static Properties |
sensitivityProperties
Cached properties.
|
Constructor and Description |
---|
SensitivityUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canBeContinue(Object value)
Return true if value can be defined in continuous factor.
|
static boolean |
canBeFactor(Class type)
Return if type can be defined as a factor.
|
static String |
espaceFactorName(String factorName)
Escape factor name.
|
static Properties |
getProperties()
Return cached properties file.
|
static boolean |
isContinue(Object value)
Return if value is is continue factor enable.
|
static boolean |
isSensitivityFactorEnabled(String sensitivityFactorName)
Is field sensitivity enabled.
|
protected static final String PROPERTIES_PATH
protected static Properties sensitivityProperties
public static String espaceFactorName(String factorName)
factorName
- factor name to escapepublic static boolean isSensitivityFactorEnabled(String sensitivityFactorName)
sensitivityFactorName
- namepublic static Properties getProperties()
public static boolean canBeContinue(Object value)
RangeOfValues
par exemple, seule la valeur
a un type Float... donc pas evident.value
- valuepublic static boolean isContinue(Object value)
value
- value to testtrue
if value is is continue factor enablepublic static boolean canBeFactor(Class type)
type
- typetrue
if type can be defined as a factorCopyright © 1999–2020 CodeLutin. All rights reserved.