it.unimo.dbgroup.momis.odli3
Class MomisObject

java.lang.Object
  extended byit.unimo.dbgroup.momis.odli3.MomisObject
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Attribute, CandidateKey, Case, Constant, ForeignKey, InterfaceAttributeListDefinition, KeyList, MappingElement, MappingRule, Operation, OpVar, Query, QueryInterfaceDeclaration, QueryManager, Rule, RuleBody, RuleOpArg, StructVar, ThesRelation, Type, TypeContainer

public class MomisObject
extends java.lang.Object
implements java.io.Serializable

All the ODL(_i3) data classes inherit form this class.

See Also:
Serialized Form

Field Summary
private  java.util.HashMap _additionalInfo
          Contains data stored by the various modules.
private  int _producerId
          The identifier of the module that produced this information.
private static java.util.HashMap _producersDescription
          Contains string descriptions for all the producers
static int mod_GenericODLParser
          Unique identifier for the the ODL_i3 Parser.
static int mod_GlobalSchema
          Unique identifier for the Global schema.
static int mod_QueryManger
          Unique identifier for the QueryManager.
static int mod_SIDes_ARM
           
static int mod_SIDes_ARTEMIS
           
static int mod_SIDes_EXTM
           
static int mod_SIDes_JoinMap
           
static int mod_SIDes_main
          Unique identifier for the SI-Designer container.
static int mod_SIDes_SAM
          Unique identifier for the SI-Designer Source Acquisition Module.
static int mod_SIDes_SIM
           
static int mod_SIDes_SIM2
           
static int mod_SIDes_SLIM
           
static int mod_SIDes_TREdit
           
static int mod_SIDes_TUNIM
           
 
Constructor Summary
MomisObject()
           
 
Method Summary
 java.lang.Object getAdditionalInfo(java.lang.Object key)
          Get an information in data stored by the various modules.
 java.util.HashMap getAdditionalInfos()
          Returns all additional info of this object.
static java.lang.String getGenericProducerDescription(int producerId)
          Get the description for a generic Producer ID.
 java.lang.String getProducerDescription()
          Get the string description of who produced this information.
 int getProducerId()
          Get the ID of who produced this information.
 void putAdditionalInfo(java.lang.Object key, java.lang.Object value)
          Add a new information in data stored by the various modules.
private static void setProdDescr_add(int pid, java.lang.String descr)
          Used by setProducersDescription
 int setProducerId(int producerId)
          Set the who produced this information.
private static void setProducersDescription()
          Sets the descriptions for all the producers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_producerId

private int _producerId
The identifier of the module that produced this information.


_additionalInfo

private java.util.HashMap _additionalInfo
Contains data stored by the various modules. This is for saving modules data or other information useful during computation. known key values:

_producersDescription

private static java.util.HashMap _producersDescription
Contains string descriptions for all the producers


mod_GenericODLParser

public static int mod_GenericODLParser
Unique identifier for the the ODL_i3 Parser.


mod_GlobalSchema

public static int mod_GlobalSchema
Unique identifier for the Global schema.


mod_QueryManger

public static int mod_QueryManger
Unique identifier for the QueryManager.


mod_SIDes_main

public static int mod_SIDes_main
Unique identifier for the SI-Designer container.


mod_SIDes_SAM

public static int mod_SIDes_SAM
Unique identifier for the SI-Designer Source Acquisition Module.


mod_SIDes_SLIM

public static int mod_SIDes_SLIM

mod_SIDes_ARM

public static int mod_SIDes_ARM

mod_SIDes_TREdit

public static int mod_SIDes_TREdit

mod_SIDes_EXTM

public static int mod_SIDes_EXTM

mod_SIDes_ARTEMIS

public static int mod_SIDes_ARTEMIS

mod_SIDes_TUNIM

public static int mod_SIDes_TUNIM

mod_SIDes_SIM

public static int mod_SIDes_SIM

mod_SIDes_SIM2

public static int mod_SIDes_SIM2

mod_SIDes_JoinMap

public static int mod_SIDes_JoinMap
Constructor Detail

MomisObject

public MomisObject()
Method Detail

setProducerId

public int setProducerId(int producerId)
Set the who produced this information.


getProducerId

public int getProducerId()
Get the ID of who produced this information.


getProducerDescription

public java.lang.String getProducerDescription()
Get the string description of who produced this information.


putAdditionalInfo

public void putAdditionalInfo(java.lang.Object key,
                              java.lang.Object value)
Add a new information in data stored by the various modules. See _additionalInfo for more information.


getAdditionalInfo

public java.lang.Object getAdditionalInfo(java.lang.Object key)
Get an information in data stored by the various modules. See _additionalInfo for more information.


getAdditionalInfos

public java.util.HashMap getAdditionalInfos()
Returns all additional info of this object.


getGenericProducerDescription

public static java.lang.String getGenericProducerDescription(int producerId)
Get the description for a generic Producer ID.


setProducersDescription

private static void setProducersDescription()
Sets the descriptions for all the producers


setProdDescr_add

private static void setProdDescr_add(int pid,
                                     java.lang.String descr)
Used by setProducersDescription



Universita' di Modena e Reggio Emilia