private void inheritPackageAttributes ( Map < String , AttributeDescr > pkgAttributes , RuleDescr ruleDescr ) { if ( pkgAttributes == null ) { return ; } for ( AttributeDescr attrDescr : pkgAttributes . values ( ) ) { ruleDescr . getAttributes ( ) . putIfAbsent ( attrDescr . getName ( ) , attrDescr ) ; } }
Entity rules inherit package attributes