public boolean update(SetGetModel model,boolean useDefaults){
  Boolean f=getBoolean(getIsOwned(),useDefaults);
  if (f != null)   model.set_AttrValue("IsOwned",f);
  f=getBoolean(getIsInPosession(),useDefaults);
  if (f != null)   model.set_AttrValue("IsInPosession",f);
  f=getBoolean(getIsDepreciable(),useDefaults);
  if (f != null) {
    model.set_AttrValue("IsDepreciated",f);
  }
  if (!isFixedAsset()) {
    model.set_AttrValue("A_Asset_Class_ID",null);
  }
  model.set_AttrValue("A_Asset_Type",getValue());
  return true;
}

public boolean update ( SetGetModel model , boolean useDefaults ) { Boolean f = getBoolean ( getIsOwned ( ) , useDefaults ) ; if ( f != null ) model . set_AttrValue ( "IsOwned" , f ) ; f = getBoolean ( getIsInPosession ( ) , useDefaults ) ; if ( f != null ) model . set_AttrValue ( "IsInPosession" , f ) ; f = getBoolean ( getIsDepreciable ( ) , useDefaults ) ; if ( f != null ) { model . set_AttrValue ( "IsDepreciated" , f ) ; } if ( ! isFixedAsset ( ) ) { model . set_AttrValue ( "A_Asset_Class_ID" , null ) ; } model . set_AttrValue ( "A_Asset_Type" , getValue ( ) ) ; return true ; }
update the given setgetmodel ; does not set a_asset_type_id
