enterprises.orbital.impl.evexmlapi.shared.ApiBookmarkFolder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eve-xml-api Show documentation
Show all versions of eve-xml-api Show documentation
Library to interact with EVE XML API servers
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);
}
}