comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultOutput.java @ 358:03a8f9796571

Added interfaces for a Settings hierachy currently used for Outputs. artifacts/trunk@3408 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 14 Dec 2011 09:41:44 +0000
parents a8e009ebe13c
children b47d0464f0db
comparison
equal deleted inserted replaced
357:1d11a0531242 358:03a8f9796571
17 protected String mimeType; 17 protected String mimeType;
18 18
19 protected String type; 19 protected String type;
20 20
21 protected List<Facet> facets; 21 protected List<Facet> facets;
22
23 protected Settings settings;
22 24
23 25
24 /** 26 /**
25 * The default constructor that instantiates a new DefaultOutput object. 27 * The default constructor that instantiates a new DefaultOutput object.
26 * 28 *
135 137
136 138
137 public void addFacets(List<Facet> facets) { 139 public void addFacets(List<Facet> facets) {
138 this.facets.addAll(facets); 140 this.facets.addAll(facets);
139 } 141 }
142
143
144 @Override
145 public void setSettings(Settings settings) {
146 this.settings = settings;
147 }
148
149
150 @Override
151 public Settings getSettings() {
152 return settings;
153 }
140 } 154 }
141 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : 155 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org