Package PamModel.parametermanager
Class PrivatePamParameterData
java.lang.Object
PamModel.parametermanager.PamParameterData
PamModel.parametermanager.PrivatePamParameterData
- Direct Known Subclasses:
PamParameterDataGetter
,SimplePamParameterData
Abstract instance of PamParameterDataInterface which implements everything
apart from the getData() function
- Author:
- dg50
-
Constructor Summary
ConstructorDescriptionPrivatePamParameterData
(Object parentObject, Field field) PrivatePamParameterData
(Object parentObject, Field field, String shortName, String toolTip) -
Method Summary
Modifier and TypeMethodDescriptionconvertStringType
(Object value) convert a string type to a different type appropriate for the field in question.boolean
Set the data in the field.Methods inherited from class PamModel.parametermanager.PamParameterData
getData, getDataClass, getField, getFieldLength, getFieldName, getParentObject, getPostTitle, getShortName, getToolTip, setFieldLength, setInfo, setInfo, setPostTitle, setShortName, setToolTip, toString
-
Constructor Details
-
PrivatePamParameterData
- Parameters:
parentObject
-field
-shortName
-toolTip
-
-
PrivatePamParameterData
- Parameters:
parentObject
-field
-
-
-
Method Details
-
setData
Description copied from class:PamParameterData
Set the data in the field.- Specified by:
setData
in classPamParameterData
- Returns:
- true if successful, false if null, Exception if data are wrong type
- Throws:
IllegalArgumentException
IllegalAccessException
-
convertStringType
convert a string type to a different type appropriate for the field in question.- Parameters:
value
-- Returns:
-