001 //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/ogcwebservices/getcapabilities/Capability.java $ 002 package org.deegree.ogcwebservices.getcapabilities; 003 004 import java.io.Serializable; 005 006 import org.deegree.ogcwebservices.ExceptionFormat; 007 008 /** 009 * @version $Revision: 6259 $ 010 * @author <a href="mailto:poth@lat-lon.de">Andreas Poth</a> 011 * @author last edited by: $Author: bezema $ 012 * 013 * @version 1.0. $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $ 014 * 015 * @since 2.0 016 */ 017 018 public class Capability implements Serializable { 019 020 private String version = null; 021 private String updateSequence = null; 022 private OperationsMetadata operations = null; 023 private ExceptionFormat exception = null; 024 025 private Object vendorSpecificCapabilities = null; 026 027 /** 028 * @param exception 029 * @param vendorSpecificCapabilities 030 */ 031 public Capability(OperationsMetadata operations, ExceptionFormat exception, 032 Object vendorSpecificCapabilities) { 033 this.operations = operations; 034 this.exception = exception; 035 this.vendorSpecificCapabilities = vendorSpecificCapabilities; 036 } 037 /** 038 * @param version 039 * @param updateSequence 040 * @param exception 041 * @param vendorSpecificCapabilities 042 */ 043 public Capability(String version, String updateSequence, OperationsMetadata operations, 044 ExceptionFormat exception, Object vendorSpecificCapabilities) { 045 this.version = version; 046 this.updateSequence = updateSequence; 047 this.operations = operations; 048 this.exception = exception; 049 this.vendorSpecificCapabilities = vendorSpecificCapabilities; 050 } 051 052 /** 053 * @return Returns the exception. 054 * 055 */ 056 public ExceptionFormat getException() { 057 return exception; 058 } 059 060 /** 061 * @param exception The exception to set. 062 * 063 */ 064 public void setException(ExceptionFormat exception) { 065 this.exception = exception; 066 } 067 068 /** 069 * @return Returns the request. 070 * 071 */ 072 public OperationsMetadata getOperations() { 073 return operations; 074 } 075 076 /** 077 * @param operations operations supported by a service 078 * 079 */ 080 public void setOperations(OperationsMetadata operations) { 081 this.operations = operations; 082 } 083 084 /** 085 * @return Returns the updateSequence. 086 * 087 */ 088 public String getUpdateSequence() { 089 return updateSequence; 090 } 091 092 /** 093 * @param updateSequence The updateSequence to set. 094 * 095 */ 096 public void setUpdateSequence(String updateSequence) { 097 this.updateSequence = updateSequence; 098 } 099 100 /** 101 * @return Returns the vendorSpecificCapabilities. 102 * 103 */ 104 public Object getVendorSpecificCapabilities() { 105 return vendorSpecificCapabilities; 106 } 107 108 /** 109 * @param vendorSpecificCapabilities The vendorSpecificCapabilities to set. 110 * 111 */ 112 public void setVendorSpecificCapabilities(Object vendorSpecificCapabilities) { 113 this.vendorSpecificCapabilities = vendorSpecificCapabilities; 114 } 115 116 /** 117 * @return Returns the version. 118 * 119 */ 120 public String getVersion() { 121 return version; 122 } 123 124 /** 125 * @param version The version to set. 126 * 127 */ 128 public void setVersion(String version) { 129 this.version = version; 130 } 131 132 } 133 /* ******************************************************************** 134 Changes to this class. What the people have been up to: 135 $Log$ 136 Revision 1.3 2005/06/14 13:41:15 poth 137 no message 138 139 Revision 1.2 2005/01/18 22:08:54 poth 140 no message 141 142 Revision 1.8 2004/08/16 06:23:33 ap 143 no message 144 145 Revision 1.7 2004/07/12 06:12:11 ap 146 no message 147 148 Revision 1.6 2004/06/22 13:25:14 ap 149 no message 150 151 Revision 1.5 2004/06/14 08:05:58 ap 152 no message 153 154 Revision 1.4 2004/06/09 15:30:37 ap 155 no message 156 157 Revision 1.3 2004/06/02 14:10:44 ap 158 no message 159 160 Revision 1.2 2004/05/25 07:19:13 ap 161 no message 162 163 Revision 1.1 2004/05/24 06:54:38 ap 164 no message 165 ********************************************************************** */