fr.paris5.shaman.insight.operation
Class PublicationImpl
java.lang.Object
|
+--fr.paris5.shaman.insight.operation.PublicationImpl
- All Implemented Interfaces:
- Publication, java.io.Serializable
- class PublicationImpl
- extends java.lang.Object
- implements Publication
Implementation of a Publication.
- Version:
- $Id: PublicationImpl.java,v 1.5 2002/07/25 13:18:08 caillette Exp $
- Author:
- Laurent Caillette
- See Also:
- Serialized Form
|
Constructor Summary |
PublicationImpl(long id,
java.lang.String state,
Topic topic,
boolean topicDefault)
|
| Methods inherited from class java.lang.Object |
, clone, finalize, getClass, notify, notifyAll, registerNatives, toString, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
id
private final long id
state
private final java.lang.String state
topic
private final Topic topic
topicDefault
private final boolean topicDefault
format
private java.lang.String format
PublicationImpl
public PublicationImpl(long id,
java.lang.String state,
Topic topic,
boolean topicDefault)
getId
public long getId()
- Specified by:
getId in interface Publication
getState
public java.lang.String getState()
- Specified by:
getState in interface Publication
isSealed
public boolean isSealed()
- Specified by:
isSealed in interface Publication
getTopic
public Topic getTopic()
- Specified by:
getTopic in interface Publication
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat in interface Publication
- Following copied from interface:
fr.paris5.shaman.insight.data.Publication
- Returns:
- The Publication Format, a tag used by the presentation system
(Legend) for choosing the right cosmetic processing to apply.
setFormat
void setFormat(java.lang.String format)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
isTopicDefault
public boolean isTopicDefault()
- Specified by:
isTopicDefault in interface Publication
Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.