- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for convertValue (0.22 sec)
-
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
value = null; assertEquals("", dataStore.convertValue(Constants.DEFAULT_SCRIPT, value, paramMap)); value = ""; assertEquals("", dataStore.convertValue(Constants.DEFAULT_SCRIPT, value, paramMap)); value = " "; assertNull(dataStore.convertValue(Constants.DEFAULT_SCRIPT, value, paramMap));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
assertThat(new CopyOptions().convertValue(new Integer(1), "aaa", null), is((Object) 1)); } /** * @throws Exception */ @Test public void testConvertValue_propertyConverter_asString() throws Exception { assertThat(new CopyOptions().converter(new NumberConverter("##0"), "aaa").convertValue(new Integer(1), "aaa", null), is((Object) "1")); }
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
} final Object value = srcPropertyDesc.getValue(src); if (!options.isTargetValue(value)) { continue; } final Object convertedValue = options.convertValue(value, destPropertyName, destPropertyDesc.getPropertyType()); destPropertyDesc.setValue(dest, convertedValue); } } /** * Beanから{@literal Map}にコピーを行います。 *
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/fess/ds/AbstractDataStore.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptions.java
* 値 * @param destPropertyName * コピー先のプロパティ名 * @param destPropertyClass * コピー先のプロパティクラス * @return 変換後の値 */ protected Object convertValue(final Object value, final String destPropertyName, final Class<?> destPropertyClass) { if (value == null || value.getClass() != String.class && destPropertyClass != null && destPropertyClass != String.class) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 18.6K bytes - Viewed (0)