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

Loading…
Cancel
Save