Class HtmlItemString
java.lang.Object
jp.ecuacion.lib.core.item.EclibItem
jp.ecuacion.splib.web.item.HtmlItem
jp.ecuacion.splib.web.item.HtmlItemString
Is used for string item.
-
Nested Class Summary
Nested classes/interfaces inherited from class HtmlItem
HtmlItem.HtmlItemCondition<T>, HtmlItem.HtmlItemConditionContainer<T>, HtmlItem.HtmlItemConditionKeyEnum -
Field Summary
FieldsFields inherited from class HtmlItem
isNotEmpty, isNotEmptyOnSearchFields inherited from class jp.ecuacion.lib.core.item.EclibItem
itemNameKeyClass, itemNameKeyField, itemPropertyPath, showsValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisNotEmpty(boolean isNotEmpty) Sets isNotEmpty toisNotEmpty.isNotEmpty(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isNotEmpty) Sets isNotEmpty toisNotEmptywith the conditions ofHtmlItemConditionKeyEnum,authString.isNotEmptyOnSearch(boolean isNotEmpty) Sets required.isNotEmptyOnSearch(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isNotEmpty) Sets isNotEmptyOnSearch with the conditions ofHtmlItemConditionKeyEnum,authString.itemNameKey(String itemNameKey) notEmpty()Sets isNotEmpty == true, which means you want the item to be not empty.Sets required.stringMatchingCondition(StringMatchingConditionBean.StringMatchingPatternEnum stringMatchingPattern, boolean ignoresCase) Offers the string search pattern.Methods inherited from class HtmlItem
getIsNotEmpty, getIsNotEmptyOnSearchMethods inherited from class jp.ecuacion.lib.core.item.EclibItem
getItemNameKey, getItemNameKey, getItemPropertyPath, getShowsValue, setsItemNameKeyClassExplicitly
-
Field Details
-
matchingCondition
-
-
Constructor Details
-
HtmlItemString
Constructs a new instance.- Parameters:
itemPropertyPath- itemPropertyPath- See Also:
-
-
Method Details
-
itemNameKey
- Overrides:
itemNameKeyin classHtmlItem
-
hideValue
-
notEmpty
Description copied from class:HtmlItemSets isNotEmpty == true, which means you want the item to be not empty. -
isNotEmpty
Description copied from class:HtmlItemSets isNotEmpty toisNotEmpty.- Overrides:
isNotEmptyin classHtmlItem- Parameters:
isNotEmpty- isNotEmpty- Returns:
- HtmlItem
-
isNotEmpty
public HtmlItemString isNotEmpty(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isNotEmpty) Description copied from class:HtmlItemSets isNotEmpty toisNotEmptywith the conditions ofHtmlItemConditionKeyEnum,authString.When you set multiple conditions to it, the order matters. First condition prioritized.
- Overrides:
isNotEmptyin classHtmlItem- Parameters:
authKind- authKindauthString- authStringisNotEmpty- isNotEmpty- Returns:
- HtmlItem
-
notEmptyOnSearch
Description copied from class:HtmlItemSets required.- Overrides:
notEmptyOnSearchin classHtmlItem- Returns:
- HtmlItem
-
isNotEmptyOnSearch
Description copied from class:HtmlItemSets required.- Overrides:
isNotEmptyOnSearchin classHtmlItem- Returns:
- HtmlItem
-
isNotEmptyOnSearch
public HtmlItemString isNotEmptyOnSearch(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isNotEmpty) Description copied from class:HtmlItemSets isNotEmptyOnSearch with the conditions ofHtmlItemConditionKeyEnum,authString.When you set multiple conditions to it, the order matters. First condition prioritized.
- Overrides:
isNotEmptyOnSearchin classHtmlItem- Parameters:
authKind- authKindauthString- authStringisNotEmpty- isRequired- Returns:
- HtmlItem
-
stringMatchingCondition
public HtmlItemString stringMatchingCondition(StringMatchingConditionBean.StringMatchingPatternEnum stringMatchingPattern, boolean ignoresCase) Offers the string search pattern.- Parameters:
stringMatchingPattern- stringMatchingPatternignoresCase- ignoresCase- Returns:
- HtmlItemString
-
getStringSearchPatternEnum
-
isIgnoresCase
public boolean isIgnoresCase()
-