1 21 package com.jaspersoft.jasperserver.api.metadata.xml.domain.impl; 22 23 27 28 import java.util.List ; 29 import java.util.ArrayList ; 30 31 public class OperationResult { 32 33 public static final int SUCCESS = 0; 34 35 private int returnCode = 0; 36 private String message; 37 private List resourceDescriptors = new ArrayList (); 38 private String version = "1.1.0"; 39 40 43 public OperationResult() { 44 } 45 46 public String getMessage() { 47 return message; 48 } 49 50 public void setMessage(String message) { 51 this.message = message; 52 } 53 54 public List getResourceDescriptors() { 55 return resourceDescriptors; 56 } 57 58 public void setResourceDescriptors(List resourceDescriptors) { 59 this.resourceDescriptors = resourceDescriptors; 60 } 61 62 public int getReturnCode() { 63 return returnCode; 64 } 65 66 public void setReturnCode(int returnCode) { 67 this.returnCode = returnCode; 68 } 69 70 public String getVersion() { 71 return version; 72 } 73 74 public void setVersion(String version) { 75 this.version = version; 76 } 77 78 } 79 | Popular Tags |