- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for getPropertyDesc (0.12 seconds)
-
src/main/java/org/codelibs/core/beans/BeanDesc.java
* @return {@link PropertyDesc} */ PropertyDesc getPropertyDesc(String propertyName); /** * Returns the {@link PropertyDesc}. * * @param index * The index of the {@link PropertyDesc} * @return {@link PropertyDesc} */ PropertyDesc getPropertyDesc(int index); /** * Returns the number of {@link PropertyDesc}. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
assertArgumentNotEmpty("propertyName", propertyName); return propertyDescCache.get(propertyName) != null; } @Override public PropertyDesc getPropertyDesc(final String propertyName) { assertArgumentNotEmpty("propertyName", propertyName); final PropertyDesc pd = propertyDescCache.get(propertyName); if (pd == null) {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 25.8K bytes - Click Count (1) -
src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
propDesc.setValue(myBean, new Object()); } /** * @throws Exception */ @Test(expected = IllegalPropertyRuntimeException.class) public void testGetValue_notReable() throws Exception { final MyBean myBean = new MyBean(); final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final PropertyDesc propDesc = beanDesc.getPropertyDesc("iii");
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
propDesc = beanDesc.getPropertyDesc("CCC"); 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");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 13.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
if (!destBeanDesc.hasPropertyDesc(destPropertyName)) { continue; } final PropertyDesc destPropertyDesc = destBeanDesc.getPropertyDesc(destPropertyName); if (!destPropertyDesc.isWritable()) { continue; } final Object value = srcPropertyDesc.getValue(src);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 23.5K bytes - Click Count (0) -
README.md
import org.codelibs.core.beans.util.BeanUtil; import org.codelibs.core.beans.util.CopyOptions; // Bean metadata introspection BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class); PropertyDesc nameProperty = beanDesc.getPropertyDesc("name"); nameProperty.setValue(bean, "John Doe"); // Bean copying with flexible options BeanUtil.copyBeanToBean(source, destination); BeanUtil.copyBeanToBean(source, destination, options ->
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0)