org.richfaces.demo.tree.model
Class CD
java.lang.Object
org.richfaces.demo.tree.model.NamedNode
org.richfaces.demo.tree.model.CD
- All Implemented Interfaces:
- Serializable, TreeNode
public class CD
- extends NamedNode
- implements TreeNode
- See Also:
- Serialized Form
CD
public CD()
CD
public CD(String name,
String artist,
Company company,
float price,
int year)
getCompany
public Company getCompany()
setCompany
public void setCompany(Company company)
getChildAt
public TreeNode getChildAt(int childIndex)
- Specified by:
getChildAt in interface TreeNode
getChildCount
public int getChildCount()
- Specified by:
getChildCount in interface TreeNode
getParent
public TreeNode getParent()
- Specified by:
getParent in interface TreeNode
getIndex
public int getIndex(TreeNode node)
- Specified by:
getIndex in interface TreeNode
getAllowsChildren
public boolean getAllowsChildren()
- Specified by:
getAllowsChildren in interface TreeNode
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf in interface TreeNode
children
public Enumeration<TreeNode> children()
- Specified by:
children in interface TreeNode
getArtist
public String getArtist()
setArtist
public void setArtist(String artist)
getPrice
public float getPrice()
setPrice
public void setPrice(float price)
getYear
public int getYear()
setYear
public void setYear(int year)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.