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

com.dottydingo.hyperion.service.configuration.ApiVersionPlugin Maven / Gradle / Ivy

There is a newer version: 0.30.0
Show newest version
package com.dottydingo.hyperion.service.configuration;

import com.dottydingo.hyperion.api.ApiObject;
import com.dottydingo.hyperion.service.model.PersistentObject;
import com.dottydingo.hyperion.service.translation.Translator;
import com.dottydingo.hyperion.service.validation.DefaultValidator;
import com.dottydingo.hyperion.service.validation.Validator;

/**
 */
public class ApiVersionPlugin
{
    private Integer version;
    private Translator translator;
    private Validator validator = new DefaultValidator();
    private Class apiClass;

    public ApiVersionPlugin()
    {
    }

    public ApiVersionPlugin(Integer version, Translator translator, Validator validator, Class apiClass)
    {
        this.version = version;
        this.translator = translator;
        this.validator = validator;
        this.apiClass = apiClass;
    }

    public Integer getVersion()
    {
        return version;
    }

    public void setVersion(Integer version)
    {
        this.version = version;
    }

    public Translator getTranslator()
    {
        return translator;
    }

    public void setTranslator(Translator translator)
    {
        this.translator = translator;
    }

    public Validator getValidator()
    {
        return validator;
    }

    public void setValidator(Validator validator)
    {
        this.validator = validator;
    }

    public Class getApiClass()
    {
        return apiClass;
    }

    public void setApiClass(Class apiClass)
    {
        this.apiClass = apiClass;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy