Mercurial > repos > ganjoo > webservice_toolsuite
comparison WebServiceToolWorkflow/ParserForWADL/src/lsdis/Resources.java @ 0:e7482c82796e default tip
Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
| author | ganjoo |
|---|---|
| date | Tue, 07 Jun 2011 17:34:26 -0400 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:e7482c82796e |
|---|---|
| 1 /* | |
| 2 * Copyright (c) 2009 Srikalyan Swayampakula.. All rights reserved. | |
| 3 * | |
| 4 * Author : Srikalyan Swayampakula. . | |
| 5 * Name of the File : Resources.java . | |
| 6 * Created on : Nov 22, 2009 at 3:28:58 PM . | |
| 7 * | |
| 8 * Redistribution and use in source and binary forms, with or without | |
| 9 * modification, are permitted provided that the following conditions | |
| 10 * are met: | |
| 11 * | |
| 12 * 1. Redistributions of source code must retain the above | |
| 13 * copyright notice, this list of conditions and the following | |
| 14 * disclaimer. | |
| 15 * 2. Redistributions in binary form must reproduce the above | |
| 16 * copyright notice, this list of conditions and the following | |
| 17 * disclaimer in the documentation and/or other materials | |
| 18 * provided with the distribution. | |
| 19 * 3. Neither the name of the University of Georgia nor the names | |
| 20 * of its contributors may be used to endorse or promote | |
| 21 * products derived from this software without specific prior | |
| 22 * written permission. | |
| 23 * | |
| 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | |
| 25 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | |
| 26 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | |
| 27 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
| 28 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | |
| 29 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 30 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | |
| 31 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
| 32 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
| 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | |
| 34 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | |
| 35 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | |
| 36 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 37 */ | |
| 38 package lsdis; | |
| 39 | |
| 40 import java.net.URI; | |
| 41 import java.util.List; | |
| 42 | |
| 43 /** | |
| 44 * | |
| 45 * @author Srikalyan Swayampakula. | |
| 46 */ | |
| 47 public class Resources | |
| 48 { | |
| 49 | |
| 50 private List<Doc> docs; | |
| 51 private List<Resource> resources; | |
| 52 private URI base; | |
| 53 | |
| 54 public Resources() | |
| 55 { | |
| 56 } | |
| 57 | |
| 58 public Resources(List<Doc> docs, List<Resource> resources, URI base) | |
| 59 { | |
| 60 this.docs = docs; | |
| 61 this.resources = resources; | |
| 62 this.base = base; | |
| 63 } | |
| 64 | |
| 65 public URI getBase() | |
| 66 { | |
| 67 return base; | |
| 68 } | |
| 69 | |
| 70 public void setBase(URI base) | |
| 71 { | |
| 72 this.base = base; | |
| 73 } | |
| 74 | |
| 75 public List<Doc> getDocs() | |
| 76 { | |
| 77 return docs; | |
| 78 } | |
| 79 | |
| 80 public void setDocs(List<Doc> docs) | |
| 81 { | |
| 82 this.docs = docs; | |
| 83 } | |
| 84 | |
| 85 public List<Resource> getResources() | |
| 86 { | |
| 87 return resources; | |
| 88 } | |
| 89 | |
| 90 public void setResources(List<Resource> resources) | |
| 91 { | |
| 92 this.resources = resources; | |
| 93 } | |
| 94 } |
