|
@ -13,6 +13,7 @@ public class App |
|
|
|
|
|
|
|
|
private String firstName; |
|
|
private String firstName; |
|
|
private String lastName; |
|
|
private String lastName; |
|
|
|
|
|
private String title; |
|
|
|
|
|
|
|
|
public void setFirstName(String firstName) { |
|
|
public void setFirstName(String firstName) { |
|
|
this.firstName = firstName; |
|
|
this.firstName = firstName; |
|
@ -25,5 +26,13 @@ public class App |
|
|
public String getFullName() { |
|
|
public String getFullName() { |
|
|
return firstName + " " + lastName; |
|
|
return firstName + " " + lastName; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setTitle(String title) { |
|
|
|
|
|
this.title = title.toUpperCase(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getTitle() { |
|
|
|
|
|
return title; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |