Package org.apache.calcite.runtime
Class Resources.BooleanProp
- java.lang.Object
-
- org.apache.calcite.runtime.Resources.Element
-
- org.apache.calcite.runtime.Resources.Prop
-
- org.apache.calcite.runtime.Resources.BooleanProp
-
- Enclosing class:
- Resources
public static class Resources.BooleanProp extends Resources.Prop
Boolean property instance.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
defaultValue
-
Fields inherited from class org.apache.calcite.runtime.Resources.Prop
accessor, hasDefault
-
Fields inherited from class org.apache.calcite.runtime.Resources.Element
key, method
-
-
Constructor Summary
Constructors Constructor Description BooleanProp(Resources.PropertyAccessor accessor, java.lang.reflect.Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
defaultValue()
boolean
get()
Returns the value of this boolean property.boolean
get(boolean defaultValue)
Returns the value of this boolean property, returning the given default value if the property is not set.-
Methods inherited from class org.apache.calcite.runtime.Resources.Prop
checkDefault, checkDefault2, hasDefault, isSet
-
Methods inherited from class org.apache.calcite.runtime.Resources.Element
deriveKey
-
-
-
-
Constructor Detail
-
BooleanProp
public BooleanProp(Resources.PropertyAccessor accessor, java.lang.reflect.Method method)
-
-