if {"$access" != "" && "$access" != "Public-Public"} {
if {[get_class_visibility $this] == "Public"} {
ada95_error "Class '[get_name $this]' with 'Public' visibility has attribute '[get_name $attrib]' with '[get_attrib_access $attrib]' access"
}
}
set assocAttribs [$this findAssocAttris 1]
foreach attrib $assocAttribs {
set access [get_attrib_access $attrib]
if {"$access" != "" && "$access" != "Public-Public"} {
if {[get_class_visibility $this] == "Public"} {
ada95_error "Class '[get_name $this]' with 'Public' visibility has link or association attribute '[get_name $attrib]' with '[get_assoc_access $attrib]' access"
}
}
if {[get_opposite $attrib] != ""} {
set type [get_type $attrib]
if {[get_class_visibility $this] != "Opaque" || \
[get_class_visibility $type] != "Opaque"} {
ada95_error "Class '[get_name $this]' has a bidirectional association to class '[get_name $type]' - this is currently unsupported"
ada95_error "Mode of parameter '[get_name $this]' in operation '[get_name $oper]' of class '[get_name $class]' returning '[get_name $type]' must be 'in'"
}
}
}
#
# redefined procedures from product-tcl/check_conf.tcl:
#
#
# procedure add_predefined_methods
#
proc add_predefined_methods {ooplmodel} {
#
# Call user-supplied function to add methods
#
if {[info procs add_user_defined_methods] != ""} {
add_user_defined_methods $ooplmodel
}
}
#
# redefine method CDMDataAttr::prepare
#
method CMDataAttr::prepare {this class model forwhat} {