Permalink
Browse files

End of tutorial 0.

  • Loading branch information...
1 parent 9781e7e commit 4a4a5779edc522aee29d7030e869cde404177f04 Brett L. Schuchert committed Apr 7, 2009
Showing with 28 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +27 −0 DVR/src/com/om/example/dvr/fixtures/CreatePrograms.java
View
1 .gitignore
@@ -1 +1,2 @@
.metadata
+DVR/bin
View
27 DVR/src/com/om/example/dvr/fixtures/CreatePrograms.java
@@ -0,0 +1,27 @@
+package com.om.example.dvr.fixtures;
+
+public class CreatePrograms {
+ private String name;
+ private int channel;
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public void setChannel(int channel) {
+ this.channel = channel;
+ }
+
+ public void setDayOfWeek(String dayOfWeek) {
+ }
+
+ public void setTimeOfDay(String timeOfDay) {
+ }
+
+ public void setDurationInMinutes(int durationInMinutes) {
+ }
+
+ public String id() {
+ return String.format("[%s:%d]", name, channel);
+ }
+}

0 comments on commit 4a4a577

Please sign in to comment.