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

enterprises.orbital.impl.evexmlapi.shared.ApiBookmarkFolder Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package enterprises.orbital.impl.evexmlapi.shared;

import java.util.ArrayList;
import java.util.List;

import enterprises.orbital.evexmlapi.shared.IBookmark;
import enterprises.orbital.evexmlapi.shared.IBookmarkFolder;

public class ApiBookmarkFolder implements IBookmarkFolder {
  private int                     folderID;
  private String                  folderName;
  private long                    creatorID;
  private final List bookmarks = new ArrayList();

  @Override
  public int getFolderID() {
    return folderID;
  }

  @Override
  public String getFolderName() {
    return folderName;
  }

  public void setFolderName(String folderName) {
    this.folderName = folderName;
  }

  @Override
  public long getCreatorID() {
    return creatorID;
  }

  public void setCreatorID(long creatorID) {
    this.creatorID = creatorID;
  }

  public void setFolderID(int folderID) {
    this.folderID = folderID;
  }

  @Override
  public List getBookmarks() {
    List result = new ArrayList();
    result.addAll(bookmarks);
    return result;
  }

  public void addBookmark(ApiBookmark bm) {
    bookmarks.add(bm);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy