Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getPropertyName (0.26 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"));
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  2. 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"));
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/PropertyNotFoundRuntimeException.java

         * @return ターゲットクラス
         */
        public Class<?> getTargetClass() {
            return targetClass;
        }
    
        /**
         * プロパティ名を返します。
         *
         * @return プロパティ名
         */
        public String getPropertyName() {
            return propertyName;
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/PropertyDesc.java

    import java.util.Map;
    
    /**
     * プロパティを扱うためのインターフェースです。
     *
     * @author higa
     */
    public interface PropertyDesc {
    
        /**
         * プロパティ名を返します。
         *
         * @return プロパティ名
         */
        String getPropertyName();
    
        /**
         * プロパティの型を返します。
         *
         * @param <T>
         *            プロパティの型
         * @return プロパティの型
         */
        <T> Class<T> getPropertyType();
    
        /**
         * getterメソッドを返します。
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/ConverterRuntimeException.java

            this.propertyName = propertyName;
            this.value = value;
        }
    
        /**
         * プロパティ名を返します。
         *
         * @return プロパティ名
         */
        public String getPropertyName() {
            return propertyName;
        }
    
        /**
         * 値を返します。
         *
         * @return 値
         */
        public Object getValue() {
            return value;
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/IllegalPropertyRuntimeException.java

         * @return ターゲットクラス
         */
        public Class<?> getTargetClass() {
            return targetClass;
        }
    
        /**
         * プロパティ名を返します。
         *
         * @return プロパティ名
         */
        public String getPropertyName() {
            return propertyName;
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

            this.replacedAccessors = ImmutableList.copyOf(replacedAccessors);
        }
    
        public String getContainingType() {
            return containingType;
        }
    
        public String getPropertyName() {
            return propertyName;
        }
    
        public String getMethodName() {
            return methodName;
        }
    
        public String getMethodDescriptor() {
            return methodDescriptor;
        }
    
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. 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;
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. 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);
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

         */
        protected void addPropertyDesc(final PropertyDescImpl propertyDesc) {
            assertArgumentNotNull("propertyDesc", propertyDesc);
            propertyDescCache.put(propertyDesc.getPropertyName(), propertyDesc);
        }
    
        /**
         * コンストラクタを準備します。
         */
        protected void setupConstructorDescs() {
            for (final Constructor<?> constructor : beanClass.getConstructors()) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top