package net.hawkengine.model.dto;

public class WsContractDto {
    private String className;
    private String packageName;
    private String methodName;
    private Object result;
	private boolean error;
    private String errorMessage;
    private ConversionObject[] args;

    public String getClassName() {
        return this.className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getPackageName() {
        return this.packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getMethodName() {
        return this.methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Object getResult() {
        return this.result;
    }

    public void setResult(Object result) {
        this.result = result;
    }

    public String getErrorMessage() {
        return this.errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public ConversionObject[] getArgs() {
        return this.args;
    }

    public void setArgs(ConversionObject[] args) {
        this.args = args;
	}

	public boolean isError() {
		return this.error;
	}

	public void setError(boolean error) {
		this.error = error;
    }
}


@@ -28,16 +28,69 @@
 l.dto;%0A%0A
+import net.hawkengine.model.enums.NotificationType;%0A%0A
 public c
@@ -239,29 +239,49 @@
 private 
-boolean error
+NotificationType notificationType
 ;%0A    pr
@@ -1356,23 +1356,44 @@
 lic 
-boolean isError
+NotificationType getNotificationType
 () %7B
@@ -1407,21 +1407,32 @@
 rn this.
-error
+notificationType
 ;%0A%09%7D%0A%0A%09p
@@ -1449,51 +1449,104 @@
  set
-Error(boolean error) %7B%0A%09%09this.error = error
+NotificationType(NotificationType notificationType) %7B%0A%09%09this.notificationType = notificationType
 ;%0A  

refactor error property with enum in WsContractDto #213