001 /** 002 * Copyright 2004-2013 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package org.kuali.student.contract.model; 017 018 /** 019 * Represent a parameter in a service operation call. 020 * @author nwright 021 */ 022 public class ServiceMethodParameter { 023 024 private String name; 025 026 /** 027 * Get the value of name 028 * 029 * @return the value of name 030 */ 031 public String getName() { 032 return name; 033 } 034 035 /** 036 * Set the value of name 037 * 038 * @param name new value of name 039 */ 040 public void setName(String name) { 041 this.name = name; 042 } 043 protected String type; 044 045 public String getType() { 046 return type; 047 } 048 049 public void setType(String type) { 050 this.type = type; 051 } 052 private String description; 053 054 public String getDescription() { 055 return description; 056 } 057 058 public void setDescription(String description) { 059 this.description = description; 060 } 061 private String url; 062 063 public String getUrl() { 064 return url; 065 } 066 067 public void setUrl(String url) { 068 this.url = url; 069 } 070 071 @Override 072 public String toString() { 073 return "ServiceMethodParameter{" + 074 "name='" + name + '\'' + 075 ", type='" + type + '\'' + 076 ", description='" + description + '\'' + 077 ", url='" + url + '\'' + 078 '}'; 079 } 080 }