Package com.exedio.cope.util
Class Properties.Field<E>
java.lang.Object
com.exedio.cope.util.Properties.Field<E>
- Enclosing class:
- Properties
-
Method Summary
Modifier and TypeMethodDescriptionget()
Do no applyObject.toString()
to the result, but usegetDefaultValueString()
instead.ReturnsgetString
(getDefaultValue()
).getKey()
Do no applyObject.toString()
to the result, but usegetMinimumString()
instead.ReturnsgetString
(getMinimum()
).Returns a string that would be parsed to the samevalue
someValue
by this field.getValue()
Never returns null.ReturnsgetString
(getValue()
).boolean
boolean
toString()
-
Method Details
-
getKey
-
getMinimum
Do no applyObject.toString()
to the result, but usegetMinimumString()
instead. -
getMinimumString
ReturnsgetString
(getMinimum()
). -
getDefaultValue
Do no applyObject.toString()
to the result, but usegetDefaultValueString()
instead. -
getDefaultValueString
ReturnsgetString
(getDefaultValue()
). -
getDefaultValueFailure
-
hasHiddenValue
public boolean hasHiddenValue() -
isSpecified
public boolean isSpecified() -
getValue
Never returns null.Do no apply
Object.toString()
to the result, but usegetValueString()
instead. -
getValueString
ReturnsgetString
(getValue()
). -
getString
Returns a string that would be parsed to the samevalue
someValue
by this field. Returnsnull
, ifsomeValue
isnull
.- Throws:
ClassCastException
- ifsomeValue
does not match class ofvalue
-
get
-
toString
-