it.unimo.dbgroup.momis.odli3
Class GlobalRelationship
java.lang.Object
it.unimo.dbgroup.momis.odli3.MomisObject
it.unimo.dbgroup.momis.odli3.Attribute
it.unimo.dbgroup.momis.odli3.Relationship
it.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
| 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. |
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface it.unimo.dbgroup.momis.odli3.AttributeInterface |
getDottedName, getIntBody, getInterface, getName, getOptionality, getType, setIntBody, setName, setOptionality, toOdl, toOlcdAttributes |
_mappingElement
private MappingElement _mappingElement
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 relationshiptargetName - nome della classe dell'inversainverseRelationName - nome della relationship inversa
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