net.ontopia.topicmaps.nav2.impl.framework
Class DefaultModel

java.lang.Object
  extended by net.ontopia.topicmaps.nav2.impl.framework.DefaultModel
All Implemented Interfaces:
ModelIF

public class DefaultModel
extends java.lang.Object
implements ModelIF

INTERNAL: The default data carrier for models.


Field Summary
protected  java.lang.String id
           
protected  java.lang.String title
           
 
Constructor Summary
DefaultModel(java.lang.String id, java.lang.String title)
           
 
Method Summary
 java.lang.String getId()
          INTERNAL: Returns the ID of the model.
 java.lang.String getTitle()
          INTERNAL: Returns the display title of the model.
 void setId(java.lang.String id)
          INTERNAL: Sets the ID of the model.
 void setTitle(java.lang.String title)
          INTERNAL: Sets the display title of the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

protected java.lang.String title

id

protected java.lang.String id
Constructor Detail

DefaultModel

public DefaultModel(java.lang.String id,
                    java.lang.String title)
Method Detail

getTitle

public java.lang.String getTitle()
Description copied from interface: ModelIF
INTERNAL: Returns the display title of the model.

Specified by:
getTitle in interface ModelIF

setTitle

public void setTitle(java.lang.String title)
Description copied from interface: ModelIF
INTERNAL: Sets the display title of the model.

Specified by:
setTitle in interface ModelIF

getId

public java.lang.String getId()
Description copied from interface: ModelIF
INTERNAL: Returns the ID of the model.

Specified by:
getId in interface ModelIF

setId

public void setId(java.lang.String id)
Description copied from interface: ModelIF
INTERNAL: Sets the ID of the model.

Specified by:
setId in interface ModelIF


Copyright © 2000-2012 Ontopia.