Package org.apache.calcite.runtime
Class Resources.StringProp
- java.lang.Object
-
- org.apache.calcite.runtime.Resources.Element
-
- org.apache.calcite.runtime.Resources.Prop
-
- org.apache.calcite.runtime.Resources.StringProp
-
- Enclosing class:
- Resources
public static class Resources.StringProp extends Resources.Prop
String property instance.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
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 StringProp(Resources.PropertyAccessor accessor, java.lang.reflect.Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
defaultValue()
java.lang.String
get()
Returns the value of this String property.java.lang.String
get(java.lang.String defaultValue)
Returns the value of this String 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
-
StringProp
public StringProp(Resources.PropertyAccessor accessor, java.lang.reflect.Method method)
-
-
Method Detail
-
get
public java.lang.String get()
Returns the value of this String property.
-
get
public java.lang.String get(java.lang.String defaultValue)
Returns the value of this String property, returning the given default value if the property is not set.
-
defaultValue
public java.lang.String defaultValue()
-
-