001 //$HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/base/branches/2.5_testing/src/org/deegree/model/metadata/iso19115/Constraints.java $ 002 /*---------------------------------------------------------------------------- 003 This file is part of deegree, http://deegree.org/ 004 Copyright (C) 2001-2009 by: 005 Department of Geography, University of Bonn 006 and 007 lat/lon GmbH 008 009 This library is free software; you can redistribute it and/or modify it under 010 the terms of the GNU Lesser General Public License as published by the Free 011 Software Foundation; either version 2.1 of the License, or (at your option) 012 any later version. 013 This library is distributed in the hope that it will be useful, but WITHOUT 014 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 015 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 016 details. 017 You should have received a copy of the GNU Lesser General Public License 018 along with this library; if not, write to the Free Software Foundation, Inc., 019 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 020 021 Contact information: 022 023 lat/lon GmbH 024 Aennchenstr. 19, 53177 Bonn 025 Germany 026 http://lat-lon.de/ 027 028 Department of Geography, University of Bonn 029 Prof. Dr. Klaus Greve 030 Postfach 1147, 53001 Bonn 031 Germany 032 http://www.geographie.uni-bonn.de/deegree/ 033 034 e-mail: info@deegree.org 035 ----------------------------------------------------------------------------*/ 036 package org.deegree.model.metadata.iso19115; 037 038 import java.util.Date; 039 import java.util.List; 040 041 /** 042 * <code>Constraints</code> is a class that encapsulates metadata about various constraints that 043 * can be applied to an OGC web service. The stored data is more general than the simple access 044 * constraints specified in the OWS common specification version 1.0.0 and therefore includes a lot 045 * more fields. 046 * 047 * @author <a href="mailto:schmitz@lat-lon.de">Andreas Schmitz</a> 048 * @author last edited by: $Author: mschneider $ 049 * 050 * @version 2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $ 051 * 052 * @since 2.0 053 */ 054 055 public class Constraints { 056 057 private String fees = null; 058 059 private Date plannedAvailableDateTime = null; 060 061 private String orderingInstructions = null; 062 063 private String turnaround = null; 064 065 private List<String> useLimitations = null; 066 067 private List<String> accessConstraints = null; 068 069 private List<String> useConstraints = null; 070 071 private List<String> otherConstraints = null; 072 073 /** 074 * Standard constructor that initializes all encapsulated data. 075 * 076 * @param fees 077 * @param plannedAvailableDateTime 078 * @param orderingInstructions 079 * @param turnaround 080 * @param useLimitations 081 * @param accessConstraints 082 * @param useConstraints 083 * @param otherConstraints 084 */ 085 public Constraints( String fees, Date plannedAvailableDateTime, String orderingInstructions, String turnaround, 086 List<String> useLimitations, List<String> accessConstraints, List<String> useConstraints, 087 List<String> otherConstraints ) { 088 this.fees = fees; 089 this.plannedAvailableDateTime = plannedAvailableDateTime; 090 this.orderingInstructions = orderingInstructions; 091 this.turnaround = turnaround; 092 this.useLimitations = useLimitations; 093 this.accessConstraints = accessConstraints; 094 this.useConstraints = useConstraints; 095 this.otherConstraints = otherConstraints; 096 } 097 098 /** 099 * @return Returns the accessConstraints. 100 */ 101 public List<String> getAccessConstraints() { 102 return accessConstraints; 103 } 104 105 /** 106 * @return Returns the fees. 107 */ 108 public String getFees() { 109 return fees; 110 } 111 112 /** 113 * @return Returns the orderingInstructions. 114 */ 115 public String getOrderingInstructions() { 116 return orderingInstructions; 117 } 118 119 /** 120 * @return Returns the otherConstraints. 121 */ 122 public List<String> getOtherConstraints() { 123 return otherConstraints; 124 } 125 126 /** 127 * @return Returns the plannedAvailableDateTime. 128 */ 129 public Date getPlannedAvailableDateTime() { 130 return plannedAvailableDateTime; 131 } 132 133 /** 134 * @return Returns the turnaround. 135 */ 136 public String getTurnaround() { 137 return turnaround; 138 } 139 140 /** 141 * @return Returns the useConstraints. 142 */ 143 public List<String> getUseConstraints() { 144 return useConstraints; 145 } 146 147 /** 148 * @return Returns the useLimitations. 149 */ 150 public List<String> getUseLimitations() { 151 return useLimitations; 152 } 153 154 }