Package org.javlo.data.taxonomy
Class TaxonomyBean
- java.lang.Object
-
- org.javlo.data.taxonomy.TaxonomyBean
-
public class TaxonomyBean extends Object
-
-
Constructor Summary
Constructors Constructor Description TaxonomyBean()
TaxonomyBean(String id, String name)
TaxonomyBean(String id, String name, TaxonomyBean parent)
-
Method Summary
-
-
-
Constructor Detail
-
TaxonomyBean
public TaxonomyBean()
-
TaxonomyBean
public TaxonomyBean(String id, String name, TaxonomyBean parent)
-
-
Method Detail
-
duplicateForLink
public TaxonomyBean duplicateForLink(TaxonomyBean parent, String prefixId)
-
duplicate
public TaxonomyBean duplicate()
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public boolean setName(String name)
-
getLabelsSize
public int getLabelsSize()
-
getChildren
public List<TaxonomyBean> getChildren()
-
getAllChildren
public List<TaxonomyBean> getAllChildren()
-
searchChildByName
public TaxonomyBean searchChildByName(String name)
-
setChildren
public void setChildren(List<TaxonomyBean> children)
-
addChildAsFirst
public TaxonomyBean addChildAsFirst(TaxonomyBean child)
-
addChildAsLast
public TaxonomyBean addChildAsLast(TaxonomyBean child)
-
addChild
public TaxonomyBean addChild(TaxonomyBean newChild, String previousId)
-
hasChild
public boolean hasChild(String id)
-
hasAllChild
public boolean hasAllChild(String id)
-
hasParent
public boolean hasParent(String id)
-
getParent
public TaxonomyBean getParent()
-
setParent
public void setParent(TaxonomyBean parent)
-
getPath
public String getPath()
-
getFinalDecoration
public String getFinalDecoration()
-
getDecoration
public String getDecoration()
-
setDecoration
public void setDecoration(String decoration)
-
isSource
public boolean isSource()
-
isTarget
public boolean isTarget()
-
removeChild
public boolean removeChild(String id)
-
getDepth
public int getDepth()
-
filter
public TaxonomyBean filter(ITaxonomyFilter filter)
-
getImage
public String getImage()
-
setImage
public void setImage(String image)
-
-