com.dottydingo.hyperion.service.configuration.ApiVersionPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hyperion Show documentation
Show all versions of hyperion Show documentation
A framework for creating data services.
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