All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.duoec.doc.doclet.pojo.Section Maven / Gradle / Ivy

package com.duoec.doc.doclet.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author xuwenzhen
 */
public class Section implements Serializable, Comparable
{ private static final long serialVersionUID = 1L; /** * 章节名称 */ private String name; /** * 全局唯一的一个代码,可以使用类全名 */ private String code; /** * 注释 */ private String comment; /** * 章节内的接口 */ private List apis = new ArrayList<>(); /** * 排序值,越小越前 */ private Integer order; /** * 是否弃用 */ private String deprecated; public String getName() { return name; } public void setName(String name) { this.name = name; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public String getComment() { return comment; } public void setComment(String comment) { this.comment = comment; } public List getApis() { return apis; } public void setApis(List apis) { this.apis = apis; } public Integer getOrder() { return order; } public void setOrder(Integer order) { this.order = order; } @Override public int compareTo(Section o) { return this.order - o.order; } public void setDeprecated(String deprecated) { this.deprecated = deprecated; } public String getDeprecated() { return deprecated; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy