Class HtmlItemString

java.lang.Object
jp.ecuacion.splib.web.bean.HtmlItem
jp.ecuacion.splib.web.bean.HtmlItemString

public class HtmlItemString extends HtmlItem
Is used for string field.
  • Field Details

  • Constructor Details

    • HtmlItemString

      public HtmlItemString(String itemPropertyPath)
      Constructs a new instance.
      Parameters:
      itemPropertyPath - propertyPath
      See Also:
  • Method Details

    • itemNameKey

      public HtmlItemString itemNameKey(String itemNameKey)
      Description copied from class: HtmlItem
      Sets itemNameKey and returns this for method chain.

      The format of itemNameKey is the same as itemNameKey, 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 itemNameKeyClass is used instead. When itemNameKeyClass is null, rootRecordName is used instead.

      Overrides:
      itemNameKey in class HtmlItem
      Parameters:
      itemNameKey - itemNameKey
      Returns:
      HtmlItem
    • required

      @Deprecated public HtmlItemString required(boolean isRequired)
      Deprecated.
      Description copied from class: HtmlItem
      Sets required.
      Overrides:
      required in class HtmlItem
      Returns:
      HtmlItem
    • required

      @Deprecated public HtmlItemString required(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isRequired)
      Deprecated.
      Description copied from class: HtmlItem
      Sets isRequired with the conditions of HtmlItemConditionKeyEnum, authString.

      When you set multiple conditions to it, the order matters. First condition prioritized.

      Overrides:
      required in class HtmlItem
      Parameters:
      authKind - authKind
      authString - authString
      isRequired - isRequired
      Returns:
      HtmlItem
    • notEmpty

      public HtmlItemString notEmpty()
      Description copied from class: HtmlItem
      Sets isNotEmpty == true, which means you want the item to be not empty.
      Overrides:
      notEmpty in class HtmlItem
      Returns:
      HtmlItem
    • isNotEmpty

      public HtmlItemString isNotEmpty(boolean isNotEmpty)
      Description copied from class: HtmlItem
      Sets isNotEmpty.

      Set true when you want to the item is not empty.

      Overrides:
      isNotEmpty in class HtmlItem
      Parameters:
      isNotEmpty - isNotEmpty
      Returns:
      HtmlItem
    • isNotEmpty

      public HtmlItemString isNotEmpty(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isNotEmpty)
      Description copied from class: HtmlItem
      Sets isNotEmpty with the conditions of HtmlItemConditionKeyEnum, authString.

      When you set multiple conditions to it, the order matters. First condition prioritized.

      Overrides:
      isNotEmpty in class HtmlItem
      Parameters:
      authKind - authKind
      authString - authString
      isNotEmpty - isNotEmpty
      Returns:
      HtmlItem
    • notEmptyOnSearch

      public HtmlItemString notEmptyOnSearch()
      Description copied from class: HtmlItem
      Sets required.
      Overrides:
      notEmptyOnSearch in class HtmlItem
      Returns:
      HtmlItem
    • isNotEmptyOnSearch

      public HtmlItemString isNotEmptyOnSearch(boolean isNotEmpty)
      Description copied from class: HtmlItem
      Sets required.
      Overrides:
      isNotEmptyOnSearch in class HtmlItem
      Returns:
      HtmlItem
    • isNotEmptyOnSearch

      public HtmlItemString isNotEmptyOnSearch(HtmlItem.HtmlItemConditionKeyEnum authKind, String authString, boolean isNotEmpty)
      Description copied from class: HtmlItem
      Sets isRequiredOnSearch with the conditions of HtmlItemConditionKeyEnum, authString.

      When you set multiple conditions to it, the order matters. First condition prioritized.

      Overrides:
      isNotEmptyOnSearch in class HtmlItem
      Parameters:
      authKind - authKind
      authString - authString
      isNotEmpty - isRequired
      Returns:
      HtmlItem
    • stringMatchingCondition

      public HtmlItemString stringMatchingCondition(StringMatchingConditionBean.StringMatchingPatternEnum stringMatchingPattern, boolean ignoresCase)
      Offers the string search pattern.
      Parameters:
      stringMatchingPattern - stringMatchingPattern
      ignoresCase - ignoresCase
      Returns:
      HtmlItemString
    • getStringSearchPatternEnum

      public StringMatchingConditionBean.StringMatchingPatternEnum getStringSearchPatternEnum()
    • isIgnoresCase

      public boolean isIgnoresCase()