コード例 #1
0
 public void set(MetaField metaField, Object value) throws DbException {
   if (metaField.getMetaClass() == metaClass) {
     if (metaField == fStereotypedObjects) ((DbSMSSemanticalObject) value).setUmlStereotype(this);
     else if (metaField == fSubStereotypes)
       setSubStereotypes((DbSMSStereotype) value, Db.ADD_TO_RELN);
     else if (metaField == fSuperStereotypes)
       setSuperStereotypes((DbSMSStereotype) value, Db.ADD_TO_RELN);
     else basicSet(metaField, value);
   } else super.set(metaField, value);
 }
コード例 #2
0
 public void set(MetaField metaField, Object value) throws DbException {
   if (metaField.getMetaClass() == metaClass) {
     basicSet(metaField, value);
   } else super.set(metaField, value);
 }