public class UiTypeFinderImpl extends Object implements UiTypeFinder
UiTypeFinder.| Constructor and Description |
|---|
UiTypeFinderImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected List<UiType> |
addUiTypeToListLowMem(List<UiType> list,
UiType uiType) |
protected List<UiType> |
checkForMultiSelectionTypes(CsticModel model,
boolean isDebugEnabled,
boolean hasValueImages,
boolean isReadOnly) |
protected List<UiType> |
checkForSingelValueTypes(CsticModel model,
boolean isDebugEnabled) |
protected List<UiType> |
checkForSingleSelectionTypes(CsticModel model,
boolean isDebugEnabled,
boolean hasValueImages,
boolean isReadOnly) |
protected UiType |
chooseUiType(List<UiType> posibleTypes,
CsticModel model) |
protected UiValidationType |
chooseUiValidationType(List<UiValidationType> posibleTypes,
CsticModel model) |
protected List<UiType> |
collectPossibleTypes(CsticModel model,
CsticData data,
boolean isDebugEnabled) |
protected List<UiValidationType> |
collectPossibleValidationTypes(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
editableWithAdditionalValue(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
editableWithoutAdditionalValue(CsticModel model,
boolean isDebugEnabled) |
UiType |
findUiTypeForCstic(CsticModel model) |
UiType |
findUiTypeForCstic(CsticModel model,
CsticData data) |
UiValidationType |
findUiValidationTypeForCstic(CsticModel model) |
protected boolean |
hasCsticValueImages(CsticData data)
Checks cstic DTO whether it has at least one image on value level.
|
protected boolean |
hasValueImage(CsticValueData valueData)
Checks value DTO whether it has at least one image.
|
protected boolean |
isCheckbox(CsticModel model,
boolean isDebugEnabled,
boolean hasValueImages) |
protected boolean |
isCheckboxList(CsticModel model,
boolean isDebugEnabled,
boolean hasValueImages) |
protected boolean |
isConstrainedOrHasAssignableValues(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
isDDLB(CsticModel model,
boolean isDebugEnabled,
boolean hasValueImages) |
protected boolean |
isDDLBAdditionalValue(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
isInput(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
isMultiSelection(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
isMultiSelectionImage(CsticModel model,
boolean isDebugEnabled,
boolean hasValueImages) |
protected boolean |
isNumericInput(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
isRadioButton(CsticModel model,
boolean isDebugEnabled,
boolean hasValueImages) |
protected boolean |
isRadioButtonAdditionalValue(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
isReadonly(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
isSelection(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
isSimpleNumber(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
isSimpleString(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
isSingleSelection(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
isSingleSelectionImage(CsticModel model,
boolean isDebugEnabled,
boolean hasValueImages) |
protected boolean |
isStringInput(CsticModel model,
boolean isDebugEnabled) |
protected boolean |
isValueTypeSupported(CsticModel model,
boolean isDebugEnabled) |
protected List<UiType> |
mergeUiTypeListLowMem(List<UiType> list1,
List<UiType> list2) |
void |
setDropDownListThreshold(int dropDownListThreshold) |
public UiType findUiTypeForCstic(CsticModel model)
findUiTypeForCstic in interface UiTypeFinderpublic UiType findUiTypeForCstic(CsticModel model, CsticData data)
findUiTypeForCstic in interface UiTypeFinderprotected List<UiType> addUiTypeToListLowMem(List<UiType> list, UiType uiType)
protected List<UiType> mergeUiTypeListLowMem(List<UiType> list1, List<UiType> list2)
protected List<UiType> collectPossibleTypes(CsticModel model, CsticData data, boolean isDebugEnabled)
protected List<UiType> checkForSingleSelectionTypes(CsticModel model, boolean isDebugEnabled, boolean hasValueImages, boolean isReadOnly)
protected List<UiType> checkForMultiSelectionTypes(CsticModel model, boolean isDebugEnabled, boolean hasValueImages, boolean isReadOnly)
protected List<UiType> checkForSingelValueTypes(CsticModel model, boolean isDebugEnabled)
protected UiType chooseUiType(List<UiType> posibleTypes, CsticModel model)
protected List<UiValidationType> collectPossibleValidationTypes(CsticModel model, boolean isDebugEnabled)
protected UiValidationType chooseUiValidationType(List<UiValidationType> posibleTypes, CsticModel model)
protected boolean isReadonly(CsticModel model, boolean isDebugEnabled)
protected boolean isDDLB(CsticModel model, boolean isDebugEnabled, boolean hasValueImages)
protected boolean isDDLBAdditionalValue(CsticModel model, boolean isDebugEnabled)
protected boolean isSingleSelectionImage(CsticModel model, boolean isDebugEnabled, boolean hasValueImages)
protected boolean isRadioButton(CsticModel model, boolean isDebugEnabled, boolean hasValueImages)
protected boolean isRadioButtonAdditionalValue(CsticModel model, boolean isDebugEnabled)
protected boolean isCheckbox(CsticModel model, boolean isDebugEnabled, boolean hasValueImages)
protected boolean isCheckboxList(CsticModel model, boolean isDebugEnabled, boolean hasValueImages)
protected boolean isMultiSelectionImage(CsticModel model, boolean isDebugEnabled, boolean hasValueImages)
protected boolean isStringInput(CsticModel model, boolean isDebugEnabled)
protected boolean isNumericInput(CsticModel model, boolean isDebugEnabled)
protected boolean isSelection(CsticModel model, boolean isDebugEnabled)
protected boolean isConstrainedOrHasAssignableValues(CsticModel model, boolean isDebugEnabled)
protected boolean isMultiSelection(CsticModel model, boolean isDebugEnabled)
protected boolean isSingleSelection(CsticModel model, boolean isDebugEnabled)
protected boolean isInput(CsticModel model, boolean isDebugEnabled)
protected boolean editableWithoutAdditionalValue(CsticModel model, boolean isDebugEnabled)
protected boolean editableWithAdditionalValue(CsticModel model, boolean isDebugEnabled)
protected boolean isValueTypeSupported(CsticModel model, boolean isDebugEnabled)
protected boolean isSimpleString(CsticModel model, boolean isDebugEnabled)
protected boolean isSimpleNumber(CsticModel model, boolean isDebugEnabled)
public void setDropDownListThreshold(int dropDownListThreshold)
dropDownListThreshold - the dropDownListThreshold to setpublic UiValidationType findUiValidationTypeForCstic(CsticModel model)
findUiValidationTypeForCstic in interface UiTypeFinderprotected boolean hasCsticValueImages(CsticData data)
data - protected boolean hasValueImage(CsticValueData valueData)
valueData - Copyright © 2017 SAP SE. All Rights Reserved.