- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isTargetProperty (0.1 sec)
-
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
assertThat(option.isTargetProperty("hoge"), is(true)); } /** * @throws Exception */ @Test public void testIsTargetProperty_includes() throws Exception { final CopyOptions option = new CopyOptions().include(BeanNames.hoge()); assertThat(option.isTargetProperty("hoge"), is(true)); assertThat(option.isTargetProperty("hoge2"), is(not(true))); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
for (final PropertyDesc srcPropertyDesc : srcBeanDesc.getPropertyDescs()) { final String srcPropertyName = srcPropertyDesc.getPropertyName(); if (!srcPropertyDesc.isReadable() || !options.isTargetProperty(srcPropertyName)) { continue; } final String destPropertyName = options.trimPrefix(srcPropertyName); if (!destBeanDesc.hasPropertyDesc(destPropertyName)) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
} return list; } /** * 対象のプロパティかどうかを返します。 * * @param name * プロパティ名 * @return 対象のプロパティかどうか */ protected boolean isTargetProperty(final String name) { if (prefix != null && !name.startsWith(prefix)) { return false; } if (!includePropertyNames.isEmpty()) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 18.6K bytes - Viewed (0)