Interface HasValueAndTypeRef<V>
-
- All Superinterfaces:
org.kie.workbench.common.dmn.api.definition.HasTypeRef,org.kie.workbench.common.dmn.api.definition.HasTypeRefs,org.kie.workbench.common.dmn.api.definition.HasValue<V>
- All Known Implementing Classes:
FunctionColumnNameHeaderMetaData,InputClauseColumnHeaderMetaData,InvocationColumnHeaderMetaData,LiteralExpressionColumnHeaderMetaData,NameAndDataTypeHeaderMetaData,NameColumnHeaderMetaData,OutputClauseColumnExpressionNameHeaderMetaData,OutputClauseColumnHeaderMetaData,RelationColumnHeaderMetaData,ValueAndDataTypeHeaderMetaData
public interface HasValueAndTypeRef<V> extends org.kie.workbench.common.dmn.api.definition.HasValue<V>, org.kie.workbench.common.dmn.api.definition.HasTypeRefDefinition of a domain model object that can be edited with aValueAndDataTypePopoverView.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StringgetPopoverTitle()Returns theStringfor theValueAndDataTypePopoverViewtitle used to to edit properties.StringgetValueLabel()Returns theStringfor the _value_ label in theValueAndDataTypePopoverViewStringnormaliseValue(String componentValue)Returns a _normalised_ value that can be used to populate the domain model from the value entered by Users.VtoModelValue(String componentValue)Converts the value in the UI to the domain model value.StringtoWidgetValue(V modelValue)Converts the value in the domain model to the UI value.-
Methods inherited from interface org.kie.workbench.common.dmn.api.definition.HasTypeRef
asDMNModelInstrumentedBase, getTypeRef, setTypeRef
-
-
-
-
Method Detail
-
getPopoverTitle
default String getPopoverTitle()
Returns theStringfor theValueAndDataTypePopoverViewtitle used to to edit properties.- Returns:
- null if no title is to be shown.
-
toModelValue
V toModelValue(String componentValue)
Converts the value in the UI to the domain model value.- Parameters:
componentValue-- Returns:
-
toWidgetValue
String toWidgetValue(V modelValue)
Converts the value in the domain model to the UI value.- Parameters:
modelValue-- Returns:
-
getValueLabel
String getValueLabel()
Returns theStringfor the _value_ label in theValueAndDataTypePopoverView- Returns:
-
-