Class EnabledDependency
java.lang.Object
com.motivewave.platform.sdk.common.desc.InputDependency
com.motivewave.platform.sdk.common.desc.EnabledDependency
-
Field Summary
Fields inherited from class com.motivewave.platform.sdk.common.desc.InputDependency
dependentFields, sources -
Constructor Summary
ConstructorsConstructorDescriptionEnabledDependency(boolean srcTriggerValue, String src, String... dependentFields) EnabledDependency(String src, String... dependentFields) EnabledDependency(List<String> srcList, String... dependentFields) -
Method Summary
Modifier and TypeMethodDescriptionbooleanareConditionsMet(SettingsBase settings) booleanvoidonSourceUpdated(SettingsBase settings, Map<String, Object> fields) Override this method to implement a dependency between fields.static EnabledDependencyvoidsetOrCompare(boolean b) voidsetSource2(String src, boolean triggerValue) Sets an option secondary source.voidsetSource3(String src, boolean triggerValue) Sets an option secondary source.Methods inherited from class com.motivewave.platform.sdk.common.desc.InputDependency
getDependentFields, getSettingsDescriptor, getSource, getSource2, getSource3, getSources, isHideControl, isRebuildForm, setHideControl, setSettingsDescriptor, setSource2, setSource3
-
Constructor Details
-
EnabledDependency
-
EnabledDependency
-
EnabledDependency
-
-
Method Details
-
or
-
setOrCompare
public void setOrCompare(boolean b) -
isOrCompare
public boolean isOrCompare() -
setSource2
Sets an option secondary source. If set the fields will be enabled if the source and source2 are enabled.- Parameters:
src- identifier of the secondary source
-
setSource3
Sets an option secondary source. If set the fields will be enabled if the source and source2 are enabled.- Parameters:
src- identifier of the secondary source
-
onSourceUpdated
Description copied from class:InputDependencyOverride this method to implement a dependency between fields.- Overrides:
onSourceUpdatedin classInputDependency
-
areConditionsMet
- Overrides:
areConditionsMetin classInputDependency
-