Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hasFieldDesc (0.16 sec)

  1. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            assertThat(beanDesc.hasFieldDesc("HOGE"), is(true));
            final FieldDesc fieldDesc = beanDesc.getFieldDesc("HOGE");
            assertThat(fieldDesc.getFieldName(), is("HOGE"));
            assertThat(beanDesc.hasFieldDesc("aaa"), is(true));
            assertThat(beanDesc.hasFieldDesc("aaA"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/BeanDesc.java

         *
         * @param fieldName
         *            The field name. Must not be {@literal null} or empty string
         * @return Whether the {@link FieldDesc} exists
         */
        boolean hasFieldDesc(String fieldName);
    
        /**
         * Returns the {@link FieldDesc}.
         *
         * @param fieldName
         *            The field name. Must not be {@literal null} or empty string
         * @return {@link FieldDesc}
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        }
    
        @Override
        public Iterable<PropertyDesc> getPropertyDescs() {
            return unmodifiableCollection(propertyDescCache.values());
        }
    
        @Override
        public boolean hasFieldDesc(final String fieldName) {
            assertArgumentNotEmpty("fieldName", fieldName);
    
            return fieldDescCache.containsKey(fieldName);
        }
    
        @Override
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
Back to top