content: /*
   * Copyright (c) 2024, Alibaba Cloud;
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *    http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  
  package com.aliyun.dataworks.migrationx.domain.dataworks.dolphinscheduler.v3.entity;
  
  import java.util.ArrayList;
  import java.util.List;
  
  public class ResourceComponent {
      private int id;
      private String pid;
      private String name;
      private String currentDir;
      private String fullName;
      private String fileName;
      private String description;
      private boolean dirctory;
      private boolean directory;
      private String idValue;
      private String type;
      protected List<ResourceComponent> children = new ArrayList<>();
  
      public String getFileName() {
          return fileName;
      }
  
      public void setFileName(String fileName) {
          this.fileName = fileName;
      }
  
      public boolean isDirectory() {
          return directory;
      }
  
      public void setDirectory(boolean directory) {
          this.directory = directory;
      }
  
      public int getId() {
          return id;
      }
  
      public void setId(int id) {
          this.id = id;
      }
  
      public String getPid() {
          return pid;
      }
  
      public void setPid(String pid) {
          this.pid = pid;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public String getCurrentDir() {
          return currentDir;
      }
  
      public void setCurrentDir(String currentDir) {
          this.currentDir = currentDir;
      }
  
      public String getFullName() {
          return fullName;
      }
  
      public void setFullName(String fullName) {
          this.fullName = fullName;
      }
  
      public String getDescription() {
          return description;
      }
  
      public void setDescription(String description) {
          this.description = description;
      }
  
      public boolean isDirctory() {
          return dirctory;
      }
  
      public void setDirctory(boolean dirctory) {
          this.dirctory = dirctory;
      }
  
      public String getIdValue() {
          return idValue;
      }
  
      public void setIdValue(String idValue) {
          this.idValue = idValue;
      }
  
      public String getType() {
          return type;
      }
  
      public void setType(String type) {
          this.type = type;
      }
  
      public List<ResourceComponent> getChildren() {
          return children;
      }
  
      public void setChildren(List<ResourceComponent> children) {
          this.children = children;
      }
  }
  