public class Category extends NameDescription implements Treeable<Category>
InheritanceStrategy.SUPERCLASS_TABLE since this
class defines a Discriminator.
© Copyright 2009 Sans Pareil Technologies, Inc.
description, namehash, HASH, logger, startLetter| Constructor and Description |
|---|
Category() |
| Modifier and Type | Method and Description |
|---|---|
List<Category> |
getChildren()
The method that returns the children of this instance.
|
String |
getDisplayName()
The display name to display for the node corresponding to this instance.
|
Category |
getParent()
The method that returns the parent object of this instance.
|
void |
jdoPreDelete()
|
void |
setParent(Category parent)
Mutator for property 'parent'.
|
compareTo, createXStream, equals, getDescription, getName, hashCode, setDescription, setNameclone, fromXML, getObjectId, getPersistenceManager, getStartLetter, jdoPostLoad, jdoPreClear, jdoPreStore, resetHash, toString, toXMLfinalize, getClass, notify, notifyAll, wait, wait, waitgetObjectIdpublic Category getParent()
public void setParent(Category parent)
parent - Value to set for property 'parent'.public List<Category> getChildren()
getChildren in interface Treeable<Category>public String getDisplayName()
getDisplayName in interface Treeable<Category>public void jdoPreDelete()
parent field to parent for child
categories of this category.
InstanceCallbacks method implementation. No actions required.jdoPreDelete in interface javax.jdo.listener.DeleteCallbackjdoPreDelete in class JDOObject