eggbird
software development and
knowledge engineering

Mail

ROIS

System.newLinkClass

Look here for information about link classes and links.

// adds a new link class to @model
// below the existing link class %base
// with the name $name
// and the inverse name $inverse
// the cardinality of the link is $cardinality
CLIENT TASK newLinkClass @model %base $name $inverse $cardinality;
BEGIN
  UPDATE @model
    ADD LINKCLASS $name
        INVERSE $inverse
        PARENTS %base
        CARDINALITY $cardinality;
END newLinkClass;