Permalink
Browse files

added get getdescription and implemented accept

  • Loading branch information...
esussman committed Apr 16, 2012
1 parent 97f43b4 commit 6f072a7b343bee9de1032fd521e711f03cff5a1d
@@ -6,10 +6,14 @@
public abstract class SeaGateDriveV1
{
- ArrayList description;
+ ArrayList<String> description;
+ public ArrayList<String> getDescription()
+ {
+ return description;
+ }
void accept(ProductVisitor visitor)
{
-
+ visitor.visit(this);
}
}
@@ -7,9 +7,13 @@
public abstract class SeaGateDriveV2
{
ArrayList description;
+ public ArrayList<String> getDescription()
+ {
+ return description;
+ }
void accept(ProductVisitor visitor)
{
-
+ visitor.visit(this);
}
}
@@ -7,9 +7,13 @@
public abstract class SeaGateDriveV3
{
ArrayList description;
+ public ArrayList<String> getDescription()
+ {
+ return description;
+ }
void accept(ProductVisitor visitor)
{
-
+ visitor.visit(this);
}
}

0 comments on commit 6f072a7

Please sign in to comment.