Coverage Report - org.kuali.student.contract.model.ServiceMethod
 
Classes in this File Line Coverage Branch Coverage Complexity
ServiceMethod
0%
0/26
0%
0/4
1.143
 
 1  
 /*
 2  
  * Copyright 2010 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may        obtain a copy of the License at
 7  
  *
 8  
  *         http://www.osedu.org/licenses/ECL-2.0
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.student.contract.model;
 17  
 
 18  
 import java.util.ArrayList;
 19  
 import java.util.List;
 20  
 
 21  
 /**
 22  
  *
 23  
  * @author nwright
 24  
  */
 25  0
 public class ServiceMethod
 26  
 {
 27  
  private String service;
 28  
 
 29  
  public String getService ()
 30  
  {
 31  0
   return service;
 32  
  }
 33  
 
 34  
  public void setService (String service)
 35  
  {
 36  0
   this.service = service;
 37  0
  }
 38  
 
 39  
 
 40  
  private String name;
 41  
 
 42  
  /**
 43  
   * Get the value of name
 44  
   *
 45  
   * @return the value of name
 46  
   */
 47  
  public String getName ()
 48  
  {
 49  0
   return name;
 50  
  }
 51  
 
 52  
  /**
 53  
   * Set the value of name
 54  
   *
 55  
   * @param name new value of name
 56  
   */
 57  
  public void setName (String name)
 58  
  {
 59  0
   this.name = name;
 60  0
  }
 61  
 
 62  
  private String url;
 63  
 
 64  
  public String getUrl ()
 65  
  {
 66  0
   return url;
 67  
  }
 68  
 
 69  
  public void setUrl (String url)
 70  
  {
 71  0
   this.url = url;
 72  0
  }
 73  
 
 74  
 
 75  
  private String description;
 76  
 
 77  
  public String getDescription ()
 78  
  {
 79  0
   return description;
 80  
  }
 81  
 
 82  
  public void setDescription (String description)
 83  
  {
 84  0
   this.description = description;
 85  0
  }
 86  
 
 87  
 
 88  
  private List<ServiceMethodParameter> parameters;
 89  
 
 90  
  public List<ServiceMethodParameter> getParameters ()
 91  
  {
 92  0
   if (parameters == null)
 93  
   {
 94  0
    parameters = new ArrayList ();
 95  
   }
 96  0
   return parameters;
 97  
  }
 98  
 
 99  
  public void setParameters (List<ServiceMethodParameter> parameters)
 100  
  {
 101  0
   this.parameters = parameters;
 102  0
  }
 103  
 
 104  
  private ServiceMethodReturnValue returnValue;
 105  
 
 106  
  public ServiceMethodReturnValue getReturnValue ()
 107  
  {
 108  0
   return returnValue;
 109  
  }
 110  
 
 111  
  public void setReturnValue (ServiceMethodReturnValue returnValue)
 112  
  {
 113  0
   this.returnValue = returnValue;
 114  0
  }
 115  
 
 116  
  private List<ServiceMethodError> errors;
 117  
 
 118  
  public List<ServiceMethodError> getErrors ()
 119  
  {
 120  0
   if (errors == null)
 121  
   {
 122  0
    errors = new ArrayList ();
 123  
   }
 124  0
   return errors;
 125  
  }
 126  
 
 127  
  public void setErrors (List<ServiceMethodError> errors)
 128  
  {
 129  0
   this.errors = errors;
 130  0
  }
 131  
 
 132  
 
 133  
 }