Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getPropertyType (0.08 sec)

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

            assertThat(propDesc.getPropertyType(), is(sameClass(boolean.class)));
            assertThat(propDesc.getReadMethod(), is(notNullValue()));
            assertThat(propDesc.getWriteMethod(), is(nullValue()));
    
            propDesc = beanDesc.getPropertyDesc("eee");
            assertThat(propDesc.getPropertyName(), is("eee"));
            assertThat(propDesc.getPropertyType(), is(sameClass(String.class)));
    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/impl/BeanDescImpl.java

            if (propDesc == null) {
                propDesc = new PropertyDescImpl(propertyName, propertyType, readMethod, null, null, this);
                addPropertyDesc(propDesc);
            } else if (propDesc.getPropertyType() != propertyType) {
                invalidPropertyNames.add(propertyName);
            } else {
                propDesc.setReadMethod(readMethod);
            }
        }
    
        /**
         * Prepares the setter method.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/core/beans/PropertyDesc.java

         */
        String getPropertyName();
    
        /**
         * Returns the property type.
         *
         * @param <T>
         *            the property type
         * @return the property type
         */
        <T> Class<T> getPropertyType();
    
        /**
         * Returns the getter method.
         *
         * @return the getter method
         */
        Method getReadMethod();
    
        /**
         * Returns whether the property has a getter method.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            }
        }
    
        @Override
        public final String getPropertyName() {
            return propertyName;
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public final <T> Class<T> getPropertyType() {
            return (Class<T>) propertyType;
        }
    
        @Override
        public final Method getReadMethod() {
            return readMethod;
        }
    
        /**
         * Sets the getter method.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

                if (!options.isTargetValue(value)) {
                    continue;
                }
                final Object convertedValue = options.convertValue(value, destPropertyName, destPropertyDesc.getPropertyType());
                destPropertyDesc.setValue(dest, convertedValue);
            }
        }
    
        /**
         * Copies from a Bean to a {@literal Map}.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.5K bytes
    - Viewed (0)
Back to top