Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.github.lontime.extjobrunr.beans;
import java.util.Map;
import org.jobrunr.jobs.JobParameter;
import org.joda.beans.Bean;
import org.joda.beans.BeanBuilder;
import org.joda.beans.JodaBeanUtils;
import org.joda.beans.MetaBean;
import org.joda.beans.MetaProperty;
import org.joda.beans.Property;
import org.joda.beans.gen.BeanDefinition;
import org.joda.beans.gen.PropertyDefinition;
import org.joda.beans.impl.direct.DirectBeanBuilder;
import org.joda.beans.impl.direct.DirectMetaBean;
import org.joda.beans.impl.direct.DirectMetaProperty;
import org.joda.beans.impl.direct.DirectMetaPropertyMap;
@BeanDefinition
public class JobParameterBean implements Bean {
@PropertyDefinition
private String className;
@PropertyDefinition
private String actualClassName;
@PropertyDefinition
private Object object;
public JobParameterBean() {
}
public JobParameterBean(JobParameter jobParameter) {
this.className = jobParameter.getClassName();
this.actualClassName = jobParameter.getActualClassName();
this.object = jobParameter.getObject();
}
public JobParameter toJobParameter() {
return new JobParameter(this.getClassName(), this.getObject());
}
//------------------------- AUTOGENERATED START -------------------------
/**
* The meta-bean for {@code JobParameterBean}.
* @return the meta-bean, not null
*/
public static JobParameterBean.Meta meta() {
return JobParameterBean.Meta.INSTANCE;
}
static {
MetaBean.register(JobParameterBean.Meta.INSTANCE);
}
@Override
public JobParameterBean.Meta metaBean() {
return JobParameterBean.Meta.INSTANCE;
}
//-----------------------------------------------------------------------
/**
* Gets the className.
* @return the value of the property
*/
public String getClassName() {
return className;
}
/**
* Sets the className.
* @param className the new value of the property
*/
public void setClassName(String className) {
this.className = className;
}
/**
* Gets the the {@code className} property.
* @return the property, not null
*/
public final Property className() {
return metaBean().className().createProperty(this);
}
//-----------------------------------------------------------------------
/**
* Gets the actualClassName.
* @return the value of the property
*/
public String getActualClassName() {
return actualClassName;
}
/**
* Sets the actualClassName.
* @param actualClassName the new value of the property
*/
public void setActualClassName(String actualClassName) {
this.actualClassName = actualClassName;
}
/**
* Gets the the {@code actualClassName} property.
* @return the property, not null
*/
public final Property actualClassName() {
return metaBean().actualClassName().createProperty(this);
}
//-----------------------------------------------------------------------
/**
* Gets the object.
* @return the value of the property
*/
public Object getObject() {
return object;
}
/**
* Sets the object.
* @param object the new value of the property
*/
public void setObject(Object object) {
this.object = object;
}
/**
* Gets the the {@code object} property.
* @return the property, not null
*/
public final Property