01: /*******************************************************************************
02: * Portions created by Sebastian Thomschke are copyright (c) 2005-2007 Sebastian
03: * Thomschke.
04: *
05: * All Rights Reserved. This program and the accompanying materials
06: * are made available under the terms of the Eclipse Public License v1.0
07: * which accompanies this distribution, and is available at
08: * http://www.eclipse.org/legal/epl-v10.html
09: *
10: * Contributors:
11: * Sebastian Thomschke - initial implementation.
12: *******************************************************************************/package net.sf.oval;
13:
14: import java.util.Collection;
15:
16: /**
17: * @author Sebastian Thomschke
18: */
19: public class ConstraintSet {
20: private Collection<Check> checks;
21:
22: private final String id;
23:
24: public ConstraintSet(final String id) {
25: this .id = id;
26: }
27:
28: /**
29: * @return the checks
30: */
31: public Collection<Check> getChecks() {
32: return checks;
33: }
34:
35: /**
36: * @return the id
37: */
38: public String getId() {
39: return id;
40: }
41:
42: /**
43: * @param checks the checks to set
44: */
45: public void setChecks(final Collection<Check> checks) {
46: this.checks = checks;
47: }
48: }
|