Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CopyOptions (0.06 sec)

  1. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         */
        public CopyOptions exclude(final CharSequence... propertyNames) {
            assertArgumentNotEmpty("propertyNames", propertyNames);
    
            excludePropertyNames.addAll(toStringList(propertyNames));
            return this;
        }
    
        /**
         * {@literal null}値のプロパティを操作の対象外にします。
         *
         * @return このインスタンス自身
         */
        public CopyOptions excludeNull() {
            excludesNull = true;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

            final CopyOptions copyOptions = new CopyOptions();
            option.accept(copyOptions);
            return copyOptions;
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            assertThat(new CopyOptions().findDefaultConverter(Time.class), is(CopyOptions.DEFAULT_TIME_CONVERTER));
            assertThat(new CopyOptions().findDefaultConverter(Timestamp.class), is(CopyOptions.DEFAULT_TIMESTAMP_CONVERTER));
            assertThat(new CopyOptions().findDefaultConverter(java.util.Date.class), is(CopyOptions.DEFAULT_TIMESTAMP_CONVERTER));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            hoge.aaa = "1";
            hoge.search_bbb = "2";
            hoge.search_ccc$ddd = "3";
            hoge.search_employee$name = "4";
            final Map<String, Object> map = BeanUtil.copyBeanToNewMap(hoge, new CopyOptions().prefix("search_"));
            assertThat(map.size(), is(3));
            assertThat(map.get("bbb"), is((Object) "2"));
            assertThat(map.get("ccc.ddd"), is((Object) "3"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top