Class TimeField
java.lang.Object
org.cristalise.kernel.persistency.outcomebuilder.StructureWithAppInfo
org.cristalise.kernel.persistency.outcomebuilder.field.StringField
org.cristalise.kernel.persistency.outcomebuilder.field.TimeField
-
Field Summary
Fields inherited from class org.cristalise.kernel.persistency.outcomebuilder.StructureWithAppInfo
additional, exceptionFields, stringFields
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.json.JSONObject
generateNgDynamicForms
(Map<String, Object> inputs, boolean withModel, boolean withLayout) Returns the default value that is specific to the type, and required to create a valid xml.void
Overwrite this method to provide conversion code for each typeMethods inherited from class org.cristalise.kernel.persistency.outcomebuilder.field.StringField
generateNgDynamicFormsCls, getData, getField, getField, getFieldType, getModel, getName, getNgDynamicFormsAdditional, getNgDynamicFormsCommonFields, getText, hasValidator, isOptional, setAppInfoDynamicFormsExceptionValue, setData, setData, setData, setDecl, setDecl, setNgDynamicFormsErrorMessages, setNgDynamicFormsValidators, setText, updateNode, updateWithAdditional
Methods inherited from class org.cristalise.kernel.persistency.outcomebuilder.StructureWithAppInfo
getAppInfoNode, getAppInfoNodeElementValue, getValue, readAppInfoDynamicForms, setAppInfoDynamicFormsJson, setAppInfoDynamicFormsJsonValue
-
Constructor Details
-
TimeField
public TimeField()
-
-
Method Details
-
getDefaultValue
Description copied from class:StringField
Returns the default value that is specific to the type, and required to create a valid xml.- Overrides:
getDefaultValue
in classStringField
- Returns:
- zero length String
-
getNgDynamicFormsControlType
- Overrides:
getNgDynamicFormsControlType
in classStringField
-
generateNgDynamicForms
public org.json.JSONObject generateNgDynamicForms(Map<String, Object> inputs, boolean withModel, boolean withLayout) - Overrides:
generateNgDynamicForms
in classStringField
-
setValue
Description copied from class:StringField
Overwrite this method to provide conversion code for each type- Overrides:
setValue
in classStringField
- Parameters:
value
- the Object to be converted- Throws:
InvalidOutcomeException
-