Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for beanDesc (0.09 sec)

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

            final PropertyDesc propDesc = beanDesc.getPropertyDesc("URL");
            propDesc.setValue(myBean, "http://www.seasar.org");
            assertThat(myBean.getURL(), is(notNullValue()));
        }
    
        /**
         *
         */
        public void testConvertWithString() {
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyDto.class);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

         *            setterメソッド
         * @param beanDesc
         *            {@link BeanDesc}。{@literal null}であってはいけません
         */
        public PropertyDescImpl(final String propertyName, final Class<?> propertyType, final Method readMethod, final Method writeMethod,
                final BeanDesc beanDesc) {
            this(propertyName, propertyType, readMethod, writeMethod, null, beanDesc);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(Integer.class);
            assertThat((Integer) beanDesc.newInstance(10), is(10));
            assertThat((Integer) beanDesc.newInstance("10"), is(10));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testNewInstance2() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(Integer.class);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(closeableHttpClient.getClass());
                for (final Map.Entry<String, Object> entry : httpClientPropertyMap.entrySet()) {
                    final String propertyName = entry.getKey();
                    if (beanDesc.hasPropertyDesc(propertyName)) {
                        final PropertyDesc propertyDesc = beanDesc.getPropertyDesc(propertyName);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(target.getClass());
            final PropertyDesc sessionIdProp = beanDesc.getPropertyDesc(URL);
            final Object sessionId = sessionIdProp.getValue(target);
            return sessionId == null ? null : sessionId.toString();
        }
    
        private String getSessionId(final Object target) {
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(target.getClass());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

    import org.codelibs.core.lang.ClassUtil;
    import org.codelibs.core.lang.FieldUtil;
    import org.codelibs.core.lang.StringUtil;
    
    /**
     * {@link BeanDesc}の実装クラスです。
     *
     * @author higa
     */
    public class BeanDescImpl implements BeanDesc {
    
        /** 空のオブジェクト配列 */
        protected static final Object[] EMPTY_ARGS = new Object[0];
    
        /** 空のクラス配列 */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

            assertArgumentNotNull("src", src);
            assertArgumentNotNull("dest", dest);
            assertArgumentNotNull("option", options);
    
            final BeanDesc srcBeanDesc = BeanDescFactory.getBeanDesc(src.getClass());
            final BeanDesc destBeanDesc = BeanDescFactory.getBeanDesc(dest.getClass());
            for (final PropertyDesc srcPropertyDesc : srcBeanDesc.getPropertyDescs()) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(closeableHttpClient.getClass());
                for (final Map.Entry<String, Object> entry : httpClientPropertyMap.entrySet()) {
                    final String propertyName = entry.getKey();
                    if (beanDesc.hasPropertyDesc(propertyName)) {
                        final PropertyDesc propertyDesc = beanDesc.getPropertyDesc(propertyName);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
Back to top