Class Item
- java.lang.Object
-
- org.silverpeas.core.web.util.viewgenerator.html.navigationlist.Item
-
public class Item extends Object
Item of a list. This item must contain a label and an URL ; and optionnally it can have a number of elements and a string (informations).- Version:
- 1.0
- Author:
- lloiseau
-
-
Constructor Summary
Constructors Constructor Description Item(String label, String URL)
Creates new Item Contain a lonely label :o(Item(String label, String URL, int nbelem, String info)
Creates new Item Contain a label, number of elements and informationItem(String label, String URL, int nbelem, Collection<Link> links)
Creates new Item Contain a label, number of elements and informationItem(String label, String URL, String info)
Creates new Item Contain a label and information but no elements
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInfo()
Method declarationString
getLabel()
Method declarationCollection<Link>
getLinks()
Method declarationint
getNbelem()
Method declarationString
getUniversalLink()
String
getURL()
Method declarationvoid
setInfo(String info)
Method declarationvoid
setLabel(String label)
Method declarationvoid
setLinks(Collection<Link> links)
Method declarationvoid
setNbelem(int nbelem)
Method declarationvoid
setUniversalLink(String string)
void
setURL(String URL)
Method declaration
-
-
-
Constructor Detail
-
Item
public Item(String label, String URL, int nbelem, Collection<Link> links)
Creates new Item Contain a label, number of elements and information- Parameters:
label
-URL
-nbelem
-info
-
-
Item
public Item(String label, String URL, int nbelem, String info)
Creates new Item Contain a label, number of elements and information- Parameters:
label
-URL
-nbelem
-info
-
-
Item
public Item(String label, String URL, String info)
Creates new Item Contain a label and information but no elements
-
-
Method Detail
-
getLabel
public String getLabel()
Method declaration- Returns:
-
setLabel
public void setLabel(String label)
Method declaration- Parameters:
label
-
-
getURL
public String getURL()
Method declaration- Returns:
-
setURL
public void setURL(String URL)
Method declaration- Parameters:
URL
-
-
getNbelem
public int getNbelem()
Method declaration- Returns:
-
setNbelem
public void setNbelem(int nbelem)
Method declaration- Parameters:
nbelem
-
-
getInfo
public String getInfo()
Method declaration- Returns:
-
setInfo
public void setInfo(String info)
Method declaration- Parameters:
info
-
-
getLinks
public Collection<Link> getLinks()
Method declaration- Returns:
-
setLinks
public void setLinks(Collection<Link> links)
Method declaration- Parameters:
links
-
-
getUniversalLink
public String getUniversalLink()
- Returns:
-
setUniversalLink
public void setUniversalLink(String string)
- Parameters:
string
-
-
-