package org.ovirt.engine.ui.uicompat;


public class PreparingEnlistment extends Enlistment {

    public static EventDefinition PreparedEventDefinition;
    private Event preparedEvent;

    protected Event getPreparedEvent() {
        return preparedEvent;
    }

    public static EventDefinition RollbackEventDefinition;
    private Event rollbackEvent;

    protected Event getRollbackEvent() {
        return rollbackEvent;
    }


    static {

        PreparedEventDefinition = new EventDefinition("Prepared", PreparingEnlistment.class); //$NON-NLS-1$
        RollbackEventDefinition = new EventDefinition("Rollback", PreparingEnlistment.class); //$NON-NLS-1$
    }

    public PreparingEnlistment(Object context) {
        super(context);

        preparedEvent = new Event(PreparedEventDefinition);
        rollbackEvent = new Event(RollbackEventDefinition);
    }

    public void prepared() {
        getPreparedEvent().raise(this, EventArgs.Empty);
    }

    public void forceRollback() {
        getRollbackEvent().raise(this, EventArgs.Empty);
    }
}

@@ -122,17 +122,17 @@
 inition 
-P
+p
 reparedE
@@ -293,17 +293,17 @@
 inition 
-R
+r
 ollbackE
@@ -453,17 +453,17 @@
         
-P
+p
 reparedE
@@ -561,17 +561,17 @@
         
-R
+r
 ollbackE
@@ -776,17 +776,17 @@
 w Event(
-P
+p
 reparedE
@@ -836,17 +836,17 @@
 w Event(
-R
+r
 ollbackE

rename 2 members to lowercase in PreparingEnlistment