content: package com.docapis.core.parser;
  
  import java.util.ArrayList;
  import java.util.List;
  
  /**
   * controller node
   * <p>
   * licence Apache 2.0, from japidoc
   **/
  public class ControllerNode {
  
      private String author;
      private String description;
      private String baseUrl;
      private String className;
      private String packageName;
      private Boolean generateDocs = Boolean.FALSE;
      private List<RequestNode> requestNodes = new ArrayList<>();
      private String srcFileName;
      private String docFileName;
  
      public String getPackageName() {
          return packageName;
      }
  
      public String getSrcFileName() {
          return srcFileName;
      }
  
      public void setSrcFileName(String srcFileName) {
          this.srcFileName = srcFileName;
      }
  
      public Boolean getGenerateDocs() {
          return generateDocs;
      }
  
      public void setGenerateDocs(Boolean generateDocs) {
          this.generateDocs = generateDocs;
      }
  
      public String getDocFileName() {
          return docFileName;
      }
  
      public void setDocFileName(String docFileName) {
          this.docFileName = docFileName;
      }
  
      public void setPackageName(String packageName) {
          this.packageName = packageName;
      }
  
      public String getAuthor() {
          return author;
      }
  
      public void setAuthor(String author) {
          this.author = author;
      }
  
      public String getDescription() {
          if (description != null) {
              description = description.replaceAll("\\r\\n", "");
          }
          return description;
      }
  
      public void setDescription(String description) {
          this.description = description;
      }
  
      public String getBaseUrl() {
          return baseUrl == null ? "" : baseUrl;
      }
  
      public void setBaseUrl(String baseUrl) {
          this.baseUrl = baseUrl;
      }
  
      public List<RequestNode> getRequestNodes() {
          return requestNodes;
      }
  
      public void setRequestNodes(List<RequestNode> requestNodes) {
          this.requestNodes = requestNodes;
      }
  
      public void addRequestNode(RequestNode requestNode) {
          requestNodes.add(requestNode);
      }
  
      public String getClassName() {
          return className;
      }
  
      public void setClassName(String className) {
          this.className = className;
      }
  }
  