java.lang.Object
jp.ecuacion.splib.web.bean.HtmlItem
jp.ecuacion.splib.web.bean.HtmlItemString
Is used for string field.
-
Nested Class Summary
Nested classes/interfaces inherited from class jp.ecuacion.splib.web.bean.HtmlItem
HtmlItem.HtmlItemCondition<T>, HtmlItem.HtmlItemConditionContainer<T>, HtmlItem.HtmlItemConditionKeyEnum -
Field Summary
FieldsFields inherited from class jp.ecuacion.splib.web.bean.HtmlItem
isNotEmpty, itemKindIdClass, itemKindIdField, itemNameKeyClass, itemNameKeyField, itemPropertyPath -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisNotEmpty(boolean isNotEmpty) Sets isNotEmpty.isNotEmpty(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isNotEmpty) Sets isNotEmpty with the conditions ofHtmlItemConditionKeyEnum,authString.itemNameKey(String itemNameKey) SetsitemNameKeyand returns this for method chain.stringMatchingCondition(StringMatchingConditionBean.StringMatchingPatternEnum stringMatchingPattern, boolean ignoresCase) Offers the string search pattern.Methods inherited from class jp.ecuacion.splib.web.bean.HtmlItem
getIsNotEmpty, getItemKindId, getItemNameKey, getItemPropertyPath
-
Field Details
-
matchingCondition
-
-
Constructor Details
-
HtmlItemString
Constructs a new instance.- Parameters:
itemPropertyPath- propertyPath- See Also:
-
-
Method Details
-
itemNameKey
Description copied from class:HtmlItemSetsitemNameKeyand returns this for method chain.The format of itemNameKey is the same as itemKindId, which is like "acc.name", always has one dot (not more than one) in the middle of the string.
But the argument of the method can be like "name". In that case itemKindIdClass is used instead. When itemKindIdClass isnull, rootRecordName is used instead.- Overrides:
itemNameKeyin classHtmlItem- Parameters:
itemNameKey- itemNameKey- Returns:
- HtmlItem
-
isNotEmpty
Description copied from class:HtmlItemSets isNotEmpty.Set
truewhen you want to the item is required.- 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 with 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
-
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()
-