Re: DataMap validation rules

From: Andrus (andru..bjectstyle.org)
Date: Wed Feb 06 2002 - 17:33:45 EST

  • Next message: Andriy Shapochka: "Re: DataMap validation rules"

    I just thought of 3 more:

    4) All DbEntities must have at least one primary key attribute defined

    5) DbAttributes must have their database type defined

    6) ObjEntities and ObjAttributes must have their Java class (type) defined

    At 04:16 PM 2/6/2002 -0500, Andriy Shapochka wrote:
    >Guys,
    >Upon our discussion with Andrei several validation rules should be
    >implemented in the DataMap validator. The list may probably be extended,
    >so all the suggestions are welcome and needed.
    >1) DataMap, any Attribute descendants, any Entity descendants, any
    >Relationship descendants, TableInfo must have their names.
    >2) For each object of ObjEntity, or ObjAttribute, or ObjRelationship there
    >must be present an object of DbEntity, or DbAttribute, or DbRelationship
    >correspondingly.
    >3) If an object (A) of DbEntity is connected to another object (B) of
    >DbEntity with an object of DbRelationship then B must have the reverse
    >relationship to A (also an object of DbRelationship).
    >
    >Thanks.
    >Andriy.



    This archive was generated by hypermail 2.0.0 : Wed Feb 06 2002 - 17:33:32 EST