org.richfaces.demo.tree
Class Album
java.lang.Object
org.richfaces.demo.tree.Album
- All Implemented Interfaces:
- Serializable, org.richfaces.model.TreeNode
public class Album
- extends Object
- implements org.richfaces.model.TreeNode
- See Also:
- Serialized Form
|
Constructor Summary |
Album(long id)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Album
public Album(long id)
addSong
public void addSong(Song song)
addChild
public void addChild(Object identifier,
org.richfaces.model.TreeNode child)
- Specified by:
addChild in interface org.richfaces.model.TreeNode
getChild
public org.richfaces.model.TreeNode getChild(Object id)
- Specified by:
getChild in interface org.richfaces.model.TreeNode
getChildren
public Iterator getChildren()
- Specified by:
getChildren in interface org.richfaces.model.TreeNode
getData
public Object getData()
- Specified by:
getData in interface org.richfaces.model.TreeNode
getParent
public org.richfaces.model.TreeNode getParent()
- Specified by:
getParent in interface org.richfaces.model.TreeNode
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf in interface org.richfaces.model.TreeNode
removeChild
public void removeChild(Object id)
- Specified by:
removeChild in interface org.richfaces.model.TreeNode
setData
public void setData(Object data)
- Specified by:
setData in interface org.richfaces.model.TreeNode
setParent
public void setParent(org.richfaces.model.TreeNode parent)
- Specified by:
setParent in interface org.richfaces.model.TreeNode
getTitle
public String getTitle()
setTitle
public void setTitle(String title)
getYear
public Integer getYear()
setYear
public void setYear(Integer year)
getId
public long getId()
getArtist
public Artist getArtist()
setArtist
public void setArtist(Artist artist)
getType
public String getType()
Copyright © 2007-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.