系统优化

master
王兵 4 years ago
parent 75d4a9c465
commit 5a68ab0afb

@ -10,8 +10,9 @@ public class Project {
public Project() {
setName("example-web");
this.domain = "com.example";
this.author = "author";
setNote("示例项目");
setAuthor("author");
setDomain("com.example");
this.frame = Frame.;
this.database = DataBase.MySQL;
this.needEMail = false;
@ -26,9 +27,9 @@ public class Project {
@Property("note")
private SimpleStringProperty note = new SimpleStringProperty();
@Property("domain")
private String domain;
private SimpleStringProperty domain = new SimpleStringProperty();
@Property("author")
private String author;
private SimpleStringProperty author = new SimpleStringProperty();
@Property(value = "frame")
private Frame frame;
@Property(value = "database")
@ -75,19 +76,27 @@ public class Project {
}
public String getDomain() {
return domain.get();
}
public SimpleStringProperty domainProperty() {
return domain;
}
public void setDomain(String domain) {
this.domain = domain;
this.domain.set(domain);
}
public String getAuthor() {
return author.get();
}
public SimpleStringProperty authorProperty() {
return author;
}
public void setAuthor(String author) {
this.author = author;
this.author.set(author);
}
public List<Module> getModules() {

Loading…
Cancel
Save

Powered by TurnKey Linux.