it.unimo.dbgroup.momis.odli3
Class Rule

java.lang.Object
  extended byit.unimo.dbgroup.momis.odli3.MomisObject
      extended byit.unimo.dbgroup.momis.odli3.Rule
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CaseRule, ExtRule, ForallRule

public class Rule
extends MomisObject
implements java.io.Serializable

Descrive una generica regola di integrita' (ForallRule o CaseRule)

See Also:
Serialized Form

Field Summary
private  TypeContainer _parentContainer
          References the TypeContainer that contains this object.
protected  boolean _validated
          True if the rule has been validated by ODB-Tools.
 java.lang.String name
          Rule 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
Rule()
           
 
Method Summary
 java.lang.String getName()
          Returns the rule name.
 TypeContainer getParent()
          Setes the parent container.
 boolean getValidated()
          Retruns True if the relation has been validated by ODB-Tools.
 void setParent(TypeContainer parentContainer)
          Setes the parent container.
 void setValidated(boolean valid)
          Set the validation property
 java.lang.String toOlcd(TranslationMap tm)
          Returns the OLCD description.
 
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, toString, wait, wait, wait
 

Field Detail

_parentContainer

private TypeContainer _parentContainer
References the TypeContainer that contains this object.


name

public java.lang.String name
Rule name


_validated

protected boolean _validated
True if the rule has been validated by ODB-Tools.

Constructor Detail

Rule

public Rule()
Method Detail

setParent

public void setParent(TypeContainer parentContainer)
Setes the parent container.


getParent

public TypeContainer getParent()
Setes the parent container.


getName

public java.lang.String getName()
Returns the rule name.


toOlcd

public java.lang.String toOlcd(TranslationMap tm)
Returns the OLCD description.


setValidated

public void setValidated(boolean valid)
Set the validation property


getValidated

public boolean getValidated()
Retruns True if the relation has been validated by ODB-Tools.



Universita' di Modena e Reggio Emilia