Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isTargetProperty (0.06 sec)

  1. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            assertThat(option.isTargetProperty("hoge"), is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsTargetProperty_includes() throws Exception {
            final CopyOptions option = new CopyOptions().include(BeanNames.hoge());
            assertThat(option.isTargetProperty("hoge"), is(true));
            assertThat(option.isTargetProperty("hoge2"), is(not(true)));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

            for (final PropertyDesc srcPropertyDesc : srcBeanDesc.getPropertyDescs()) {
                final String srcPropertyName = srcPropertyDesc.getPropertyName();
                if (!srcPropertyDesc.isReadable() || !options.isTargetProperty(srcPropertyName)) {
                    continue;
                }
                final String destPropertyName = options.trimPrefix(srcPropertyName);
                if (!destBeanDesc.hasPropertyDesc(destPropertyName)) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

         * Returns whether the property is a target property.
         *
         * @param name
         *            The property name
         * @return Whether the property is a target property
         */
        protected boolean isTargetProperty(final String name) {
            if (prefix != null && !name.startsWith(prefix)) {
                return false;
            }
            if (!includePropertyNames.isEmpty()) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top