All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ultreia.java4all.jaxx.widgets.length.nautical.NauticalLengthEditorModelJavaBeanDefinition Maven / Gradle / Ivy

There is a newer version: 3.1.5
Show newest version
package io.ultreia.java4all.jaxx.widgets.length.nautical;

import com.google.auto.service.AutoService;
import io.ultreia.java4all.bean.definition.AbstractJavaBeanDefinition;
import io.ultreia.java4all.bean.definition.JavaBeanDefinition;
import java.util.function.BiConsumer;
import java.util.function.Function;
import javax.annotation.Generated;

@AutoService(JavaBeanDefinition.class)
@Generated(value = "io.ultreia.java4all.bean.spi.GenerateJavaBeanDefinitionProcessor", date = "Thu Feb 22 14:04:33 CET 2024")
public final class NauticalLengthEditorModelJavaBeanDefinition extends AbstractJavaBeanDefinition {

    @Override
    protected final java.util.Set> loadAcceptedTypes() {
        java.util.Set> result = new java.util.LinkedHashSet<>();
        result.add(NauticalLengthEditorModel.class);
        return java.util.Collections.unmodifiableSet(result);
    }

    @Override
    protected final java.util.Map> loadTypes() {
        java.util.Map> result = new java.util.LinkedHashMap<>();
        result.put("bean", java.lang.Object.class);
        result.put("config", io.ultreia.java4all.jaxx.widgets.length.nautical.NauticalLengthEditorConfig.class);
        result.put("format", io.ultreia.java4all.jaxx.widgets.length.nautical.NauticalLengthFormat.class);
        result.put("label", java.lang.String.class);
        result.put("nauticalLength", java.lang.Float.class);
        result.put("storageNauticalLength", java.lang.Float.class);
        return java.util.Collections.unmodifiableMap(result);
    }

    @SuppressWarnings("unchecked")
    @Override
    protected final java.util.Map> loadGetters() {
        java.util.Map> result = new java.util.LinkedHashMap<>();
        result.put("bean", NauticalLengthEditorModel::getBean);
        result.put("config", NauticalLengthEditorModel::getConfig);
        result.put("format", NauticalLengthEditorModel::getFormat);
        result.put("label", NauticalLengthEditorModel::getLabel);
        result.put("nauticalLength", NauticalLengthEditorModel::getNauticalLength);
        result.put("storageNauticalLength", NauticalLengthEditorModel::getStorageNauticalLength);
        return (java.util.Map) java.util.Collections.unmodifiableMap(result);
    }

    @SuppressWarnings("unchecked")
    @Override
    protected final java.util.Map> loadSetters() {
        java.util.Map> result = new java.util.LinkedHashMap<>();
        result.put("bean", (e, v) -> e.setBean((java.lang.Object) v));
        result.put("config", (e, v) -> e.setConfig((io.ultreia.java4all.jaxx.widgets.length.nautical.NauticalLengthEditorConfig) v));
        result.put("format", (e, v) -> e.setFormat((io.ultreia.java4all.jaxx.widgets.length.nautical.NauticalLengthFormat) v));
        result.put("nauticalLength", (e, v) -> e.setNauticalLength((java.lang.Float) v));
        return (java.util.Map) java.util.Collections.unmodifiableMap(result);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy