fr.paris5.shaman.insight.model
Class PublicationModel
java.lang.Object
|
+--fr.paris5.shaman.insight.model.PublicationModel
- All Implemented Interfaces:
- java.io.Serializable
- public class PublicationModel
- extends java.lang.Object
- implements java.io.Serializable
Persistent implementation of a Publication.
- Version:
- $Id: PublicationModel.java,v 1.5 2002/07/25 13:18:08 caillette Exp $
- Author:
- Laurent Caillette
- See Also:
- Serialized Form
Constructor Summary |
PublicationModel(TopicModel topic)
Constructor, does not add the PublicationModel to the
topic until commited. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PublicationModel
public PublicationModel(TopicModel topic)
- Constructor, does not add the PublicationModel to the
topic until commited.
- Parameters:
topic
-
getId
public long getId()
getState
public java.lang.String getState()
- Returns current state of the PublicationModel. An empty
String ("") is the default value.
- Returns:
- Current state of the PublicationModel.
setState
public void setState(java.lang.String newState)
throws PublicationSealedException
getFormat
public java.lang.String getFormat()
setFormat
public void setFormat(java.lang.String format)
commit
public void commit()
- Adds the newly created PublicationModel to its
TopicModel.
getTopicModel
public TopicModel getTopicModel()
getFragmentModels
public FragmentModel[] getFragmentModels()
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.