fr.paris5.shaman.insight.operation
Class TopicImpl
java.lang.Object
|
+--fr.paris5.shaman.insight.operation.TopicImpl
- All Implemented Interfaces:
- java.io.Serializable, Topic
- class TopicImpl
- extends java.lang.Object
- implements Topic
Implementation of a Topic.
- Version:
- $Id: TopicImpl.java,v 1.3 2002/07/25 13:18:08 caillette Exp $
- Author:
- Laurent Caillette
- See Also:
- Serialized Form
Constructor Summary |
TopicImpl(long id,
java.lang.String fqName)
|
Methods inherited from class java.lang.Object |
, clone, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
id
private final long id
fqName
private final java.lang.String fqName
name
private final java.lang.String name
root
private boolean root
childCount
private int childCount
TopicImpl
public TopicImpl(long id,
java.lang.String fqName)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Performs a check on both Full Qualified Name and id.
- Overrides:
equals
in class java.lang.Object
- Parameters:
obj
- - Returns:
-
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getId
public long getId()
- Specified by:
getId
in interface Topic
getName
public java.lang.String getName()
- Specified by:
getName
in interface Topic
getFQName
public java.lang.String getFQName()
- Specified by:
getFQName
in interface Topic
setRoot
void setRoot(boolean root)
isRoot
public boolean isRoot()
- Specified by:
isRoot
in interface Topic
setChildCount
void setChildCount(int childCount)
getChildCount
public int getChildCount()
- Specified by:
getChildCount
in interface Topic
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.