package org.jboss.loom.migrators.ejb3;

import javax.xml.bind.annotation.XmlRootElement;
import org.eclipse.persistence.oxm.annotations.XmlPath;
import org.jboss.loom.migrators.MBeanJaxbBase;

/**
 *  Docs: https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/5/html-single/Administration_And_Configuration_Guide/index.html#EJBs_on_JBoss-EJB_Timer_Configuration
 * 
    <mbean code="org.jboss.ejb.txtimer.EJBTimerServiceImpl" name="jboss.ejb:service=EJBTimerService">
        <attribute name="RetryPolicy">jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay</attribute>
        <attribute name="PersistencePolicy">jboss.ejb:service=EJBTimerService,persistencePolicy=database</attribute>
        <attribute name="TimerIdGeneratorClassName">org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator</attribute>
        <attribute name="TimedObjectInvokerClassName">org.jboss.ejb.txtimer.TimedObjectInvokerImpl</attribute>
    </mbean>
 * 
 *  @Jira: MIGR-116
 *  @author Ondrej Zizka, ozizka at redhat.com
 */
@XmlRootElement(name = "mbean")
public class Ejb2TimerConfigBean extends MBeanJaxbBase<Ejb2TimerConfigBean> {
    
    @XmlPath("attribute[@name='TimerIdGeneratorClassName']/text()")   private String timerIdGeneratorClassName; // org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator
    @XmlPath("attribute[@name='TimedObjectInvokerClassName']/text()") private String timedObjectInvokerClassName; // org.jboss.ejb.txtimer.TimedObjectInvokerImpl
    
    @XmlPath("attribute[@name='RetryPolicy']/text()")
    public String getRetryPolicy() { return RetryPolicy; }
    public void setRetryPolicy( String RetryPolicy ) { this.RetryPolicy = RetryPolicy; }
    private String RetryPolicy; // jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay
    
    @XmlPath("attribute[@name='PersistencePolicy']/text()")           
    public String getPersistencePolicy() { return PersistencePolicy; }
    public void setPersistencePolicy( String PersistencePolicy ) { this.PersistencePolicy = PersistencePolicy; }
    private String PersistencePolicy; // jboss.ejb:service=EJBTimerService,persistencePolicy=database
    
    public String getTimerIdGeneratorClassName() { return timerIdGeneratorClassName; }
    public void setTimerIdGeneratorClassName( String TimerIdGeneratorClassName ) { this.timerIdGeneratorClassName = TimerIdGeneratorClassName; }
    public String getTimedObjectInvokerClassName() { return timedObjectInvokerClassName; }
    public void setTimedObjectInvokerClassName( String TimedObjectInvokerClassName ) { this.timedObjectInvokerClassName = TimedObjectInvokerClassName; }
    

}// class

@@ -1577,17 +1577,17 @@
  return 
-R
+r
 etryPoli
@@ -1652,17 +1652,17 @@
  %7B this.
-R
+r
 etryPoli
@@ -1692,33 +1692,33 @@
  private String 
-R
+r
 etryPolicy; // j
@@ -1899,17 +1899,17 @@
  return 
-P
+p
 ersisten
@@ -1992,17 +1992,17 @@
  %7B this.
-P
+p
 ersisten
@@ -2044,33 +2044,33 @@
  private String 
-P
+p
 ersistencePolicy

Fix field name case