public class CategorySuperBeanImpl extends ItemSuperBeanImpl<CategorySchemeSuperBean> implements CategorySuperBean
Constructor and Description |
---|
CategorySuperBeanImpl(CategorySchemeSuperBean catScheme,
CategoryBean category,
CategorySuperBean parent) |
Modifier and Type | Method and Description |
---|---|
java.util.List<CategorySuperBean> |
getChildren()
Returns any children of this object.
|
CategorySuperBean |
getParent()
Returns the parent Object of this object, a null object reference will be
returned if rther is no parent
|
boolean |
hasChildren()
Returns
true if this Object contains children,
if this is the case the method call getChildren() is
guaranteed to return a Set with length greater then 0. |
boolean |
hasParent()
Returns
true if this Object has a parent, false otherwise. |
getItemScheme
getDescription, getDescription, getDescriptions, getName, getName, getNames
equals, getId, getUrn, hashCode, toString
getAnnotationByTitle, getAnnotationByType, getAnnotationByUrl, getAnnotations, hasAnnotations
getBuiltFrom, getCompositeBeans
getItemScheme
getDescription, getDescription, getDescriptions, getName, getName, getNames
getId, getUrn
getAnnotationByTitle, getAnnotationByType, getAnnotationByUrl, getAnnotations, hasAnnotations
getBuiltFrom, getCompositeBeans
public CategorySuperBeanImpl(CategorySchemeSuperBean catScheme, CategoryBean category, CategorySuperBean parent)
public java.util.List<CategorySuperBean> getChildren()
Hierarchical
null
will be returned.getChildren
in interface Hierarchical<CategorySuperBean>
public CategorySuperBean getParent()
Hierarchical
getParent
in interface Hierarchical<CategorySuperBean>
public boolean hasChildren()
Hierarchical
true
if this Object contains children,
if this is the case the method call getChildren()
is
guaranteed to return a Set with length greater then 0.hasChildren
in interface Hierarchical<CategorySuperBean>
public boolean hasParent()
Hierarchical
true
if this Object has a parent, false otherwise.hasParent
in interface Hierarchical<CategorySuperBean>