Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getPropertyName (0.05 sec)

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

            assertThat(propDesc.getPropertyName(), is("CCC"));
            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"));
    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/exception/PropertyNotFoundRuntimeException.java

         */
        public Class<?> getTargetClass() {
            return targetClass;
        }
    
        /**
         * Returns the property name.
         *
         * @return the property name
         */
        public String getPropertyName() {
            return propertyName;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java

        public void test() throws Exception {
            final ConverterRuntimeException e = new ConverterRuntimeException("hoge", "xxx", new RuntimeException("cause"));
            System.out.println(e.getMessage());
            assertThat(e.getPropertyName(), is("hoge"));
            assertThat(e.getValue(), is((Object) "xxx"));
            assertThat(e.getCause().getMessage(), is("cause"));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/ConverterRuntimeException.java

            this.propertyName = propertyName;
            this.value = value;
        }
    
        /**
         * Returns the property name.
         *
         * @return Property name
         */
        public String getPropertyName() {
            return propertyName;
        }
    
        /**
         * Returns the value.
         *
         * @return Value
         */
        public Object getValue() {
            return value;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/PropertyDesc.java

     * Interface for handling properties.
     *
     * @author higa
     */
    public interface PropertyDesc {
    
        /**
         * Returns the property name.
         *
         * @return the property name
         */
        String getPropertyName();
    
        /**
         * Returns the property type.
         *
         * @param <T>
         *            the property type
         * @return the property type
         */
        <T> Class<T> getPropertyType();
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

         */
        protected void addPropertyDesc(final PropertyDescImpl propertyDesc) {
            assertArgumentNotNull("propertyDesc", propertyDesc);
            propertyDescCache.put(propertyDesc.getPropertyName(), propertyDesc);
        }
    
        /**
         * Prepares the constructors.
         */
        protected void setupConstructorDescs() {
            for (final Constructor<?> constructor : beanClass.getConstructors()) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

                parameterizedClassDesc = ParameterizedClassDescFactory.createParameterizedClassDesc(writeMethod, 0, typeVariables);
            }
        }
    
        @Override
        public final String getPropertyName() {
            return propertyName;
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public final <T> Class<T> getPropertyType() {
            return (Class<T>) propertyType;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

            final BeanDesc destBeanDesc = BeanDescFactory.getBeanDesc(dest.getClass());
            for (final PropertyDesc srcPropertyDesc : srcBeanDesc.getPropertyDescs()) {
                final String srcPropertyName = srcPropertyDesc.getPropertyName();
                if (!srcPropertyDesc.isReadable() || !options.isTargetProperty(srcPropertyName)) {
                    continue;
                }
                final String destPropertyName = options.trimPrefix(srcPropertyName);
    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