return isUpdate;
}
private ActionSetField clone( final ActionSetField action ) {
if ( action instanceof ActionUpdateField ) {
final ActionUpdateField auf = (ActionUpdateField) action;
final ActionUpdateField clone = new ActionUpdateField( auf.getVariable() );
clone.setFieldValues( auf.getFieldValues() );
return clone;
} else if ( action instanceof ActionCallMethod ) {
final ActionCallMethod acm = (ActionCallMethod) action;
final ActionCallMethod clone = new ActionCallMethod( acm.getVariable() );
clone.setState( acm.getState() );
clone.setMethodName( acm.getMethodName() );
clone.setFieldValues( acm.getFieldValues() );
return clone;
} else if ( action instanceof ActionSetField ) {
final ActionSetField clone = new ActionSetField( action.getVariable() );
clone.setFieldValues( action.getFieldValues() );
return clone;
} else {
return action;
}