io.github.yedaxia.apidocs.ext.rap.Module Maven / Gradle / Ivy
package io.github.yedaxia.apidocs.ext.rap;
import java.util.HashSet;
import java.util.Set;
/**
* @author yeguozhong yedaxia.github.com
*/
class Module {
public static final String NAME = "API List";
private int id;
private int projectId;
private String name;
private String introduction;
private Project project;
private Set pageList = new HashSet();
public static Module newModule(){
Module module = new Module();
module.setId(-1);
module.setName(NAME);
return module;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public int getProjectId() {
return projectId;
}
public void setProjectId(int projectId) {
this.projectId = projectId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getIntroduction() {
return introduction;
}
public void setIntroduction(String introduction) {
this.introduction = introduction;
}
public Project getProject() {
return project;
}
public void setProject(Project project) {
this.project = project;
}
public Set getPageList() {
return pageList;
}
public void setPageList(Set pageList) {
this.pageList = pageList;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy