first commit
[jalview-fx.git] / src / application / Project.java
1 package application;
2
3 import javafx.beans.property.SimpleStringProperty;
4
5 public class Project {
6         private SimpleStringProperty name;
7         private SimpleStringProperty type;
8         public Project(String name, String type){
9                 this.name = new SimpleStringProperty(name);
10                 this.type = new SimpleStringProperty(type);
11         }
12         public String getType() {
13                 return type.get();
14         }
15         public void setType(String _type) {
16                 type.set(_type);
17         }
18         public String getName() {
19                 return name.get();
20         }
21         public void setName(String _name) {
22                 name.set(_name);
23         }
24 }