/** * Method readResolve. will be called during deserialization to * replace the deserialized object with the correct constant * instance. * * @return this deserialized object */ private java.lang.Object readResolve( ) { return valueOf(this.stringValue); }
fieldMap.setCollection(FieldMappingCollectionType.valueOf(colName)); fieldType = Object.class; } else if (_mappingLoader.returnsArray(cls, fieldName, fieldType)) {
fieldMap.setCollection(FieldMappingCollectionType.valueOf(colName)); fieldType = Object.class; } else if (_mappingLoader.returnsArray(cls, fieldName, fieldType)) {
if (type != null && CollectionHandlers.hasHandler(type)) { String typeName = CollectionHandlers.getCollectionName(type); colType = FieldMappingCollectionType.valueOf(typeName);