public class DownloadablePackageOption extends Object
Modifier and Type | Field and Description |
---|---|
protected List<DownloadablePackageOption> |
childrenPackages |
protected boolean |
exclusive |
protected String |
id |
protected String |
label |
protected DownloadablePackageOption |
parent |
protected DownloadPackage |
pkg |
protected boolean |
selected |
Constructor and Description |
---|
DownloadablePackageOption(DownloadPackage pkg,
int idx) |
DownloadablePackageOption(DownloadPackage pkg,
String id) |
Modifier and Type | Method and Description |
---|---|
void |
addChildPackage(DownloadablePackageOption child) |
List<DownloadablePackageOption> |
getChildrenPackages() |
String |
getColor() |
String |
getDescription() |
String |
getId() |
String |
getLabel() |
DownloadPackage |
getPackage() |
DownloadablePackageOption |
getParent() |
String |
getShortLabel() |
List<DownloadablePackageOption> |
getSiblingPackages() |
String |
getTextColor() |
boolean |
isExclusive() |
boolean |
isSelected() |
boolean |
isVirtual() |
void |
setExclusive(boolean exclusive) |
void |
setExclusive(String exclusive) |
void |
setLabel(String label) |
protected void |
setParent(DownloadablePackageOption parent) |
void |
setSelected(boolean selected) |
protected final DownloadPackage pkg
protected boolean exclusive
protected boolean selected
protected List<DownloadablePackageOption> childrenPackages
protected DownloadablePackageOption parent
public DownloadablePackageOption(DownloadPackage pkg, int idx)
public DownloadablePackageOption(DownloadPackage pkg, String id)
public boolean isExclusive()
public void setExclusive(boolean exclusive)
public void setExclusive(String exclusive)
public boolean isSelected()
public void setSelected(boolean selected)
public List<DownloadablePackageOption> getChildrenPackages()
public void addChildPackage(DownloadablePackageOption child)
protected void setParent(DownloadablePackageOption parent)
public List<DownloadablePackageOption> getSiblingPackages()
public DownloadPackage getPackage()
public String getDescription()
public boolean isVirtual()
public String getTextColor()
public DownloadablePackageOption getParent()
public String getShortLabel()
Copyright © 2017 Nuxeo. All rights reserved.