Object ComplianceSpec
-
- All Implemented Interfaces:
-
com.uchuhimo.konf.Spec
public class ComplianceSpec extends ConfigSpec
A specification of the parameters regarding compliance to load from a config file.
-
-
Field Summary
Fields Modifier and Type Field Description private final RequiredItem<Double>
childMale
private final RequiredItem<Double>
adultMale
private final RequiredItem<Double>
elderlyMale
private final RequiredItem<Double>
childFemale
private final RequiredItem<Double>
adultFemale
private final RequiredItem<Double>
elderlyFemale
private final Set<Spec>
innerSpecs
private final Set<Item<?>>
items
private final String
prefix
public final static ComplianceSpec
INSTANCE
-
Method Summary
Modifier and Type Method Description final RequiredItem<Double>
getChildMale()
Compliance of a male child. final RequiredItem<Double>
getAdultMale()
Compliance of a male adult. final RequiredItem<Double>
getElderlyMale()
Compliance of a male elderly. final RequiredItem<Double>
getChildFemale()
Compliance of a female child. final RequiredItem<Double>
getAdultFemale()
Compliance of a female adult. final RequiredItem<Double>
getElderlyFemale()
Compliance of a female elderly. -
Methods inherited from class com.uchuhimo.konf.ConfigSpec
addInnerSpec, addItem, getInnerSpecs, getItems, getPrefix, lazy, optional, required
-
Methods inherited from class com.uchuhimo.konf.Spec
get, plus, qualify, withFallback, withPrefix
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getChildMale
final RequiredItem<Double> getChildMale()
Compliance of a male child.
-
getAdultMale
final RequiredItem<Double> getAdultMale()
Compliance of a male adult.
-
getElderlyMale
final RequiredItem<Double> getElderlyMale()
Compliance of a male elderly.
-
getChildFemale
final RequiredItem<Double> getChildFemale()
Compliance of a female child.
-
getAdultFemale
final RequiredItem<Double> getAdultFemale()
Compliance of a female adult.
-
getElderlyFemale
final RequiredItem<Double> getElderlyFemale()
Compliance of a female elderly.
-
-
-
-