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 samevaluesomeValueby this field.getValue()Never returns null.ReturnsgetString(getValue()).booleanbooleantoString()
-
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 samevaluesomeValueby this field. Returnsnull, ifsomeValueisnull.- Throws:
ClassCastException- ifsomeValuedoes not match class ofvalue
-
get
-
toString
-