Added "type" to Trailer

master
Stuart Boston 12 years ago
parent 8eea8c796a
commit 359a0d56a3

@ -38,8 +38,8 @@ public class Trailer extends AbstractJsonMapping {
private String size; private String size;
private String source; private String source;
private String website; // The website of the trailer private String website; // The website of the trailer
private String type;
//<editor-fold defaultstate="collapsed" desc="Getter methods">
public String getName() { public String getName() {
return name; return name;
} }
@ -56,6 +56,10 @@ public class Trailer extends AbstractJsonMapping {
return website; return website;
} }
public String getType() {
return type;
}
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }
@ -72,6 +76,10 @@ public class Trailer extends AbstractJsonMapping {
this.website = website; this.website = website;
} }
public void setType(String type) {
this.type = type;
}
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
if (obj == null) { if (obj == null) {

Loading…
Cancel
Save