Permalink
Browse files

Add class(String id) constructors for some models.

  • Loading branch information...
1 parent be950fa commit 785ce5c6d50b4a0dfec7f1dc31c6dceb656a4b2f @GraylinKim GraylinKim committed Apr 30, 2012
@@ -52,6 +52,12 @@ public Addendum ()
meetings = new ArrayList<Meeting>();
}
+ public Addendum(String id) {
+ this.setId(id);
+ meetings = new ArrayList<Meeting>();
+ }
+
+
public String getAddendumId() {
return addendumId;
}
@@ -20,6 +20,11 @@
private List<Addendum> addendums;
+ public Agenda(String id) {
+ this.setId(id);
+ addendums = new ArrayList<Addendum>();
+ }
+
public Agenda() {
super();
addendums = new ArrayList<Addendum>();
@@ -50,7 +50,15 @@
public Meeting() {
addendums = new ArrayList<Addendum>();
+ bills = new ArrayList<Bill>();
}
+
+ public Meeting(String id) {
+ this.setId(id);
+ addendums = new ArrayList<Addendum>();
+ bills = new ArrayList<Bill>();
+ }
+
public String getCommitteeChair() {
return committeeChair;
}

0 comments on commit 785ce5c

Please sign in to comment.