fr.paris5.shaman.insight.model
Class TopicModel
java.lang.Object
|
+--fr.paris5.shaman.insight.model.TopicModel
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- RootTopicModel
- public class TopicModel
- extends java.lang.Object
- implements java.io.Serializable
The persistent implementation of a Topic.
- Version:
- $Id: TopicModel.java,v 1.6 2002/07/25 13:18:08 caillette Exp $
- Author:
- Laurent Caillette
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopicModel
protected TopicModel(long rootId)
- Only used by
RootTopicModel
.
TopicModel
public TopicModel(TopicModel parent,
java.lang.String name)
getInsightModel
public InsightModel getInsightModel()
getId
public long getId()
isRoot
public boolean isRoot()
getParent
public TopicModel getParent()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getFQName
public java.lang.String getFQName()
getChildren
public TopicModel[] getChildren()
getChildCount
public int getChildCount()
getChild
public TopicModel getChild(java.lang.String name)
getAllChildren
public TopicModel[] getAllChildren(boolean includeThis)
- Returns all children (recursively).
- Parameters:
includeThis
- true means called instance will be added.- Returns:
- All children in an undefined order.
getAllChildren
public TopicModel[] getAllChildren()
- Returns all children (recursively).
- Returns:
- All children in an undefined order.
getPublications
public PublicationModel[] getPublications()
getOwnedPublication
public PublicationModel getOwnedPublication(long id)
throws InvalidIdException
getDefaultPublication
public PublicationModel getDefaultPublication()
setDefaultPublicationModel
public void setDefaultPublicationModel(PublicationModel newDefault)
throws PublicationNotOwnedException
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.