org.eclipse.dirigible.api.v3.io.FolderObject Maven / Gradle / Ivy
/*
* Copyright (c) 2022 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Eclipse Dirigible contributors
* SPDX-License-Identifier: EPL-2.0
*/
package org.eclipse.dirigible.api.v3.io;
import java.util.ArrayList;
import java.util.List;
/**
* The Class FolderObject.
*/
public class FolderObject extends FileObject {
/**
* Instantiates a new folder object.
*
* @param name the name
* @param path the path
* @param type the type
*/
public FolderObject(String name, String path, String type) {
super(name, path, type);
}
/** The files. */
private List files = new ArrayList<>();
/** The folders. */
private List folders = new ArrayList<>();
/**
* Gets the files.
*
* @return the files
*/
public List getFiles() {
return files;
}
/**
* Gets the folders.
*
* @return the folders
*/
public List getFolders() {
return folders;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy