Calculate and return the default value for this parameter
()
| 110 | |
| 111 | /** Calculate and return the default value for this parameter */ |
| 112 | public Object calculateDefaultValue() throws ParameterException { |
| 113 | // if there's no default string and this is a builtin type, return null |
| 114 | if( |
| 115 | defaultValueString == null && typeName != null && |
| 116 | typeName.startsWith("java.") |
| 117 | ) |
| 118 | return null; |
| 119 | |
| 120 | return calculateValueFromString(defaultValueString); |
| 121 | } // calculateDefaultValue() |
| 122 | |
| 123 | /** Calculate and return the value for this parameter starting from a String |
| 124 | */ |