- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MyBean (0.03 sec)
-
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
final MyBean src = new MyBean(); src.aaa = "aaa"; final MyBean dest = BeanUtil.copyBeanToNewBean(src, MyBean.class); assertThat(dest.aaa, is("aaa")); } /** * @throws Exception */ @Test public void testCopy_beanToNewMap() throws Exception { final MyBean src = new MyBean(); src.aaa = "aaa";
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 34.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java
final MyBean myBean = new MyBean(); final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final PropertyDesc propDesc = beanDesc.getPropertyDesc("aaa"); propDesc.setValue(myBean, null); } /** * @throws Exception */ @Test(expected = IllegalPropertyRuntimeException.class) public void testSetValue_notWritableWithField() throws Exception { final MyBean myBean = new MyBean();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 13.9K bytes - Viewed (0) -
README.md
options.exclude("password", "internalId")); // Convert between beans and maps Map<String, Object> map = BeanUtil.copyBeanToNewMap(bean); MyBean newBean = BeanUtil.copyMapToNewBean(map, MyBean.class); ``` ### Type Conversion ```java import org.codelibs.core.convert.*; // Safe type conversions with null handling Integer value = IntegerConversionUtil.toInteger("123"); // Returns 123
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0)