Skip to content

Commit

Permalink
add some getters and setters
Browse files Browse the repository at this point in the history
  • Loading branch information
janvde committed Sep 11, 2017
1 parent e5f6fa7 commit 2e43e5c
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
32 changes: 32 additions & 0 deletions library/src/main/java/com/getroadmap/r2rlib/models/Agency.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,36 @@ public String toString() {
", icon=" + icon +
'}';
}

public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public String getUrl() {
return url;
}

public void setUrl(String url) {
this.url = url;
}

public String getPhone() {
return phone;
}

public void setPhone(String phone) {
this.phone = phone;
}

public Icon getIcon() {
return icon;
}

public void setIcon(Icon icon) {
this.icon = icon;
}
}
12 changes: 12 additions & 0 deletions library/src/main/java/com/getroadmap/r2rlib/models/Aircraft.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,26 @@ public String getCode() {
return code;
}

public void setCode(String code) {
this.code = code;
}

public String getManufacturer() {
return manufacturer;
}

public void setManufacturer(String manufacturer) {
this.manufacturer = manufacturer;
}

public String getModel() {
return model;
}

public void setModel(String model) {
this.model = model;
}

@Override
public int describeContents() {
return 0;
Expand Down

0 comments on commit 2e43e5c

Please sign in to comment.