it.unimo.dbgroup.momis.odli3
Class GlobalRelationship

java.lang.Object
  extended byit.unimo.dbgroup.momis.odli3.MomisObject
      extended byit.unimo.dbgroup.momis.odli3.Attribute
          extended byit.unimo.dbgroup.momis.odli3.Relationship
              extended byit.unimo.dbgroup.momis.odli3.GlobalRelationship
All Implemented Interfaces:
AttributeInterface, GlobalAttribute, OntologyAnnotableElement, java.io.Serializable

public class GlobalRelationship
extends Relationship
implements GlobalAttribute

This class describes a "Global Relationship".

See Also:
Serialized Form

Field Summary
private  MappingElement _mappingElement
           
 
Fields inherited from class it.unimo.dbgroup.momis.odli3.Relationship
inverse, orderBy, target, type
 
Fields inherited from class it.unimo.dbgroup.momis.odli3.Attribute
COMPARE_ON_DOTTED_NAME, COMPARE_ON_NAME
 
Fields inherited from class it.unimo.dbgroup.momis.odli3.MomisObject
mod_GenericODLParser, mod_GlobalSchema, mod_QueryManger, mod_SIDes_ARM, mod_SIDes_ARTEMIS, mod_SIDes_EXTM, mod_SIDes_JoinMap, mod_SIDes_main, mod_SIDes_SAM, mod_SIDes_SIM, mod_SIDes_SIM2, mod_SIDes_SLIM, mod_SIDes_TREdit, mod_SIDes_TUNIM
 
Constructor Summary
GlobalRelationship(java.lang.String nome, java.lang.String targetName, java.lang.String inverseRelationName, Type typeNew)
          Constructor.
 
Method Summary
 void control()
          Controlla a posteriori la coerenza del contenuto degli attributi
 GlobalInterface getGlobalInterface()
          Retrieve the Interface this is Body for
 MappingElement getMappingElement()
          Get the _mappingElement value.
 void setMappingElement(MappingElement mappingElement)
          Set the _mappingElement value.
 
Methods inherited from class it.unimo.dbgroup.momis.odli3.Relationship
compare, getType, toOdl, toOlcdAttributes, toString
 
Methods inherited from class it.unimo.dbgroup.momis.odli3.Attribute
getDottedName, getIntBody, getInterface, getMatchingAttribute, getName, getOntologyAnnotation, getOptionality, getSchema, setIntBody, setName, setOntologyAnnotation, setOptionality
 
Methods inherited from class it.unimo.dbgroup.momis.odli3.MomisObject
getAdditionalInfo, getAdditionalInfos, getGenericProducerDescription, getProducerDescription, getProducerId, putAdditionalInfo, setProducerId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface it.unimo.dbgroup.momis.odli3.GlobalAttribute
getSchema
 
Methods inherited from interface it.unimo.dbgroup.momis.odli3.AttributeInterface
getDottedName, getIntBody, getInterface, getName, getOptionality, getType, setIntBody, setName, setOptionality, toOdl, toOlcdAttributes
 

Field Detail

_mappingElement

private MappingElement _mappingElement
Constructor Detail

GlobalRelationship

public GlobalRelationship(java.lang.String nome,
                          java.lang.String targetName,
                          java.lang.String inverseRelationName,
                          Type typeNew)
Constructor. il costruttore specifica il nome , il nome dell'inversa e della sua classe

Parameters:
nome - nome della relationship
targetName - nome della classe dell'inversa
inverseRelationName - nome della relationship inversa
Method Detail

getMappingElement

public MappingElement getMappingElement()
Get the _mappingElement value.

Specified by:
getMappingElement in interface GlobalAttribute
Returns:
the _mappingElement value.

getGlobalInterface

public GlobalInterface getGlobalInterface()
Retrieve the Interface this is Body for

Specified by:
getGlobalInterface in interface GlobalAttribute

setMappingElement

public void setMappingElement(MappingElement mappingElement)
Set the _mappingElement value.

Specified by:
setMappingElement in interface GlobalAttribute
Parameters:
mappingElement - The new _mappingElement value.

control

public void control()
             throws OdlException
Controlla a posteriori la coerenza del contenuto degli attributi

Specified by:
control in interface GlobalAttribute
Overrides:
control in class Relationship
Throws:
OdlException


Universita' di Modena e Reggio Emilia