Example #1
0
nsCollect::ProcessData::ProcessData()
{
  SetToNull(xyFile);
  SetToNull(optFile);
  SetToNull(rngFile);
  startIndex = -1;
  endIndex = -1;
  processComplete = false;
}
Example #2
0
DFO_ReadVariableArray :: DFO_ReadVariableArray() : FuncObjC("Read Variable Array")
{
    SetToNull(varArrayFname);
    varArrayFileFormat   = IO_VariableArray::vffPaCalc;

    InitCommon();
}
Example #3
0
File: json.cpp Project: Jesna/jucpp
	//Json
	void Json::operator = (Json& val){
		SetToNull();
		if(val._type==json_null||val._type==json_boolean||val._type==json_integer||val._type==json_double){
			_intValue = val._intValue;
		}else if(val._type==json_string){
			_strValue = new String();
			*_strValue = *val._strValue;
		}else if(val._type==json_array){
			_arrayValue = new ObjectLink<Json>;
			ObjectLink<Json>& a = *val._arrayValue;
			for(a.First();;a.Move(1)){
				Json* sjn = a.Element();
				if(!sjn) break;
				Json* djn = _arrayValue->Add();
				*djn = *sjn;
			}
		}else if(val._type==json_object){
			_objectValue = new ObjectLink<Json::DICTION>;
			ObjectLink<Json::DICTION>& a = *val._objectValue;
			for(a.First();;a.Move(1)){
				Json::DICTION* sjn = a.Element();
				if(!sjn) break;
				Json::DICTION* djn = _objectValue->Add();
				djn->key = sjn->key;
				*djn->val = *sjn->val;
			}
		}else if(val._type==json_binary){
			_binaryValue = new Memory<char>;
			_binaryValue->CopyFrom(val._binaryValue->Handle(),val._binaryValue->Length());
		}
		_type = val._type;
	}
Example #4
0
File: json.cpp Project: Jesna/jucpp
	void Json::SetString(LPCWSTR str,int len){
		if(_type!=json_string){
			SetToNull();
			_strValue = new String();
		}
		*_strValue = (LPCWSTR)0;
		_strValue->CopyFrom(str,len,0);
		_type = json_string;
	}
Example #5
0
File: json.cpp Project: Jesna/jucpp
	void Json::SetMbStr(LPCSTR mbs,int len,DWORD code){
		if(_type!=json_string){
			SetToNull();
			_strValue = new String();
		}
		*_strValue = (LPCWSTR)0;
		_strValue->FromMultiByte(mbs,len,code);
		_type = json_string;
	}
Example #6
0
FixedCurve::FixedCurve(       CurveFile& curveFileInit,
                              UnitType   xUnitType,
                              UnitType   yUnitType,
                              const  char*      parIDInit)
  : ParameterCurve(xUnitType, yUnitIndex),
    yUnitIndex(yUnitType), curveFile(curveFileInit), parID(parIDInit)
{
  SetToNull(curveID);
  fileIndex = -1;
  curveToUse  = 0;
}
Example #7
0
File: json.cpp Project: Jesna/jucpp
	bool Json::SetBinary(LPCVOID data,int len){
		if(_type!=json_binary){
			SetToNull();
			_binaryValue = new Memory<char>;
			_type = json_binary;
		}
		if(!_binaryValue->SetLength(len)){
			CONASSERT(L"Json 设置二进制内存失败");
			return 0;
		}
		_binaryValue->CopyFrom((LPCSTR)data,len);
		return 1;
	}
Example #8
0
DataCaptureSpec::DataCaptureSpec() :
  captureType(ctPressure),
  pressureCapType(pctTestZone),
  flowCapType(fctWell),
  productionCapType(prctWell),
  testZoneCapType(tzctTemperature),
  radiusData(uDist, 1.0),
  zvalueIsRatio(true),
  actualZ(uDist, 0.0),
  normalizedZ(1.0),
  superData(radiusData),
  outputUnits(uPress),
  makeDefaultDataDesig(true),
  obsXLocation(uDist, 100.0),
  obsYLocation(uDist, 100.0)
{
  SetToNull(dataDesig);
  CopyString(wellboreZoneID, "XXX", IntervalBase::intervalIDLen);
}
Example #9
0
File: json.cpp Project: Jesna/jucpp
	bool Json::Parse(LPCWSTR jstr,int len){
		len = WcsLength(jstr,len);
		SetToNull();
		if(len==0) return 1;
		return -1!=_parse(jstr,0,len,this);
	}
Example #10
0
File: json.cpp Project: Jesna/jucpp
	void Json::SetToObject(){
		if(_type==json_object) return;
		SetToNull();
		_objectValue = new ObjectLink<Json::DICTION>;
		_type = json_object;
	}
Example #11
0
File: json.cpp Project: Jesna/jucpp
	void Json::SetToBinary(){
		if(_type==json_binary) return;
		SetToNull();
		_binaryValue = new Memory<char>;
		_type = json_binary;
	}
EXPORT void null_abp_open_item_id_map_inactive_dt(ABP_OPEN_ITEM_ID_MAP open_item_id_map)
{
  if (WRONG_OBJ_TYPE(open_item_id_map, OPEN_ITEM_ID_MAP))
    return;
  SetToNull(open_item_id_map_inactive_dt, open_item_id_map->open_item_id_map_data);
}
Example #13
0
File: json.cpp Project: Jesna/jucpp
	void Json::SetToString(){
		if(_type==json_string) return;
		SetToNull();
		_strValue = new String;
		_type = json_string;
	}
Example #14
0
EXPORT void null_abp_deposit_type_short_display(ABP_DEPOSIT_TYPE deposit_type)
{
  if (WRONG_OBJ_TYPE(deposit_type, DEPOSIT_TYPE))
    return;
  SetToNull(deposit_type_values_short_display, deposit_type->deposit_type_values_data);
}
Example #15
0
EXPORT void null_abp_lang_code_short_display(ABP_LANG_CODE lang_code)
{
  if (WRONG_OBJ_TYPE(lang_code, LANG_CODE))
    return;
  SetToNull(language_code_values_short_display, lang_code->language_code_values_data);
}
EXPORT void null_abp_tmp_arm_collectable_bill_ref_resets(ABP_TMP_ARM_COLLECTABLE tmp_arm_collectable)
{
  if (WRONG_OBJ_TYPE(tmp_arm_collectable, TMP_ARM_COLLECTABLE))
    return;
  SetToNull(tmp_arm_collectable_bill_ref_resets, tmp_arm_collectable->tmp_arm_collectable_data);
}
Example #17
0
File: json.cpp Project: Jesna/jucpp
	void Json::SetToArray(){
		if(_type==json_array) return;
		SetToNull();
		_arrayValue = new ObjectLink<Json>;
		_type = json_array;
	}
EXPORT void null_abp_payment_distribution_gl_amount(ABP_PAYMENT_DISTRIBUTION payment_distribution)
{
  if (WRONG_OBJ_TYPE(payment_distribution, PAYMENT_DISTRIBUTION))
    return;
  SetToNull(bmf_distribution_gl_amount, payment_distribution->bmf_distribution_data);
}
EXPORT void null_abp_tmp_arm_collectable_open_item_id(ABP_TMP_ARM_COLLECTABLE tmp_arm_collectable)
{
  if (WRONG_OBJ_TYPE(tmp_arm_collectable, TMP_ARM_COLLECTABLE))
    return;
  SetToNull(tmp_arm_collectable_open_item_id, tmp_arm_collectable->tmp_arm_collectable_data);
}
EXPORT void null_abp_ppkg_component_type_inactive_dt(ABP_PPKG_COMPONENT_TYPE ppkg_component_type)
{
  if (WRONG_OBJ_TYPE(ppkg_component_type, PPKG_COMPONENT_TYPE))
    return;
  SetToNull(component_definition_ref_inactive_dt, ppkg_component_type->component_definition_ref_data);
}
Example #21
0
EXPORT void null_abp_rate_period_short_display(ABP_RATE_PERIOD rate_period)
{
  if (WRONG_OBJ_TYPE(rate_period, RATE_PERIOD))
    return;
  SetToNull(rate_period_values_short_display, rate_period->rate_period_values_data);
}
EXPORT void null_abp_open_item_id_map_rate_period(ABP_OPEN_ITEM_ID_MAP open_item_id_map)
{
  if (WRONG_OBJ_TYPE(open_item_id_map, OPEN_ITEM_ID_MAP))
    return;
  SetToNull(open_item_id_map_rate_period, open_item_id_map->open_item_id_map_data);
}
EXPORT void null_abp_rate_currency_inactive_dt(ABP_RATE_CURRENCY rate_currency)
{
  if (WRONG_OBJ_TYPE(rate_currency, RATE_CURRENCY))
    return;
  SetToNull(rate_currency_inactive_dt, rate_currency->rate_currency_data);
}
Example #24
0
File: json.cpp Project: Jesna/jucpp
	void Json::SetToBoolean(){
		if(_type==json_boolean) return;
		SetToNull();
		_type = json_boolean;
	}
EXPORT void null_abp_disc_thresh_tier_short_display(ABP_DISC_THRESH_TIER disc_thresh_tier)
{
  if (WRONG_OBJ_TYPE(disc_thresh_tier, DISC_THRESH_TIER))
    return;
  SetToNull(discount_thresh_tier_id_values_short_display, disc_thresh_tier->discount_thresh_tier_id_values_data);
}
Example #26
0
File: json.cpp Project: Jesna/jucpp
	void Json::SetToInteger(){
		if(_type==json_integer) return;
		SetToNull();
		_type = json_integer;
	}
Example #27
0
IO_UncertSimResults::IO_UncertSimResults() : BufFileC(4096)
{
    SetToNull(fileName);
    readVersion = -1;
}
Example #28
0
File: json.cpp Project: Jesna/jucpp
	void Json::SetToDouble(){
		if(_type==json_double) return;
		SetToNull();
		_type = json_double;
	}
/* DENqa39707*/
EXPORT int insert_abp_serv_inst_product_by_date(ABP_DBHANDLE dbhandle, 
				 ABP_SERV_INST_PRODUCT serv_inst_product,
                                 ABP_LOCSTR *a_effective_date)
{
  int 	retval,rowcount=0;
  PRODUCT_VIEW_DATA *pvd;
  PRODUCT_KEY_DATA *pkd;
  CUSTOMER_ID_EQUIP_MAP_DATA *cid;
  CUSTOMER_ID_ACCT_MAP_DATA *cida, *cid_bill_rc;
  short status_new = STATUS_NEW, xid_type = 0,disconnect_reason=0;
  char external_id[CUSTOMER_ID_EQUIP_MAP_external_id_SZ];
  ABP_LOCSTR a_external_id;
  int account_no, bill_rc_account_no = 0, tracking_id;
  Arb_connection *connection;
  Arb_date product_start;
  ACCOUNT_BALANCE acct_bal;
  char err_msg[512], szeffective_date[DEF_STR_LEN];
  Arb_numeric arbneg;
/*added for DENqa13565*/
  BAL_MAP_TO_VALUES bmtv;
  Arb_date si_end, effective_date;
/*added for DENqa44281*/
  unsigned char auto_activation;


  if (NotCustDbhandle(dbhandle))
    return ABP_ARGERR;
  connection = dbhandle->cust_connection;

  ((ABP_ERR_DATA *)connection->user_data)->is_set = FALSE;

  if (WRONG_OBJ_TYPE(serv_inst_product, SERV_INST_PRODUCT))
    return ABP_ARGERR;

  pvd = serv_inst_product->product_view_data;
  pkd = serv_inst_product->product_key_data;
  cid = serv_inst_product->customer_id_equip_map_data;
  
  api_convert_input_string(szeffective_date, a_effective_date, DEF_STR_LEN);
  if ((a_effective_date != NULL) && (*szeffective_date != '\0'))
        api_string_to_Arbdate(szeffective_date, &effective_date, 0); 

/* DENqa00595: Prepay: 
 *                     1. Add another CUSTOMER_ID_ACCT_MAP table into serv_inst_product object
 *                     2. Expose open_item_id_map
 */
  cida = serv_inst_product->customer_id_acct_map_data[0];
  cid_bill_rc = serv_inst_product->customer_id_acct_map_data[1];

  /* always set has_product_keys,has_overrides to 0 when insert, this field is managed by DB trigger */
  set_product_view_has_product_keys(pvd,0);
  set_product_view_has_overrides(pvd, 0);

  /* Error if the user tries to set component_id.  This function only inserts
   * a la carte products.  We want to insert PRODUCT_VIEW.component_id = NULL,
   * so just leave it unset and let the db default.
   */
  if (IsSet (product_view_component_id, pvd))
  {
      abp_put_misc_message (connection, ABP_RANGE_ERR, "component_id");
      return ABP_MISC_ERR;
  }

  if (IsSet (product_view_connect_reason, pvd))
  {
      abp_put_misc_message (connection, ABP_RANGE_ERR, "connect_reason");
      return ABP_MISC_ERR;
  }

  if (IsSet (product_view_prev_product_inactive_dt, pvd))
  {
      abp_put_misc_message (connection, ABP_RANGE_ERR, "prev_end_dt");
      return ABP_MISC_ERR;
  }

  if (!IsSet(product_view_element_id, pvd))
   {
      abp_put_misc_message (connection, ABP_NO_VALUE_ERR,"element_id");
       return ABP_MISC_ERR;
   }

  if (get_abp_serv_inst_product_external_id_type(serv_inst_product, &xid_type) 
      != ABP_SET) {
    abp_put_misc_message(connection, ABP_NO_VALUE_ERR, "external_id_type");
    return ABP_MISC_ERR;
  }
  if (get_abp_serv_inst_product_external_id(serv_inst_product, &a_external_id) 
      != ABP_SET) {
    abp_put_misc_message(connection, ABP_NO_VALUE_ERR, "external_id");
    return ABP_MISC_ERR;
  }

  api_convert_input_string(external_id, &a_external_id, CUSTOMER_ID_EQUIP_MAP_external_id_SZ);
  /* DENqa39707*/
  if ((retval = find_subscr_no(connection, external_id, xid_type,
			       &(pvd->parent_subscr_no),
			       &(pvd->parent_subscr_no_resets),
                               (a_effective_date != NULL) && (*szeffective_date != '\0') ? &effective_date : NULL)) == ABP_STATUS_OK) {
    Set(product_view_parent_subscr_no, pvd);
    Set(product_view_parent_subscr_no_resets, pvd);
  }
  else 
    return retval;

  /* DENqa39707 find account no from emf is enough*/
    if ((retval = find_account_no_from_emf(connection, 
					   pvd->parent_subscr_no, 
					   pvd->parent_subscr_no_resets,
					   &account_no))
	!= ABP_STATUS_OK)
      return retval;

  set_product_view_parent_account_no(pvd, account_no);

  if (!IsSet(product_view_product_active_dt, pvd)) { /* get server date */
  	arb_setup_results(&proc_get_server_date, ARB_TYPE_DATESMALL, &product_start);
	arb_setup_proc_exec(connection, &proc_get_server_date, SQL_DEFER_EXECUTE, NO_MORE_ARGS);
	while (arb_next_row(connection) == ARB_MORE_DATA)
		;
  	if (arb_query_status(connection) == FAILURE)
		return ABP_DBERR;
  	set_product_view_product_active_dt(pvd, &product_start);
  } 
  truncate_Arbdate(&(pvd->product_active_dt));
  
 /*DENqa40378. Check to see if the if the SI has an end_date. If it has an end_date
    then update the product stop date with the SI end_date  */

  zero_Arbdate(&si_end); 
  arb_dbcmd (connection, "SELECT service_inactive_dt from SERVICE "); 
  arb_dbfcmd(connection, "WHERE subscr_no = %d ", pvd->parent_subscr_no);
  arb_dbfcmd(connection, "AND subscr_no_resets = %d ", pvd->parent_subscr_no_resets);
  arb_exec_string(connection,"",SQL_DEFER_EXECUTE);
  arb_dbbind(connection, 1, ARB_TYPE_DATESMALL, 0, &si_end);

  for(rowcount = 0; arb_next_row(connection) == ARB_MORE_DATA; rowcount++)
    ;
  if (arb_query_status(connection)==FAILURE)
    return ABP_DBERR;
 
  if( ! Arbdate_is_null(&si_end))
  {
     if ( !IsSet(product_view_product_inactive_dt, pvd)  
          || (IsSet(product_view_product_inactive_dt, pvd) && (Arbdate_compare(&pvd->product_inactive_dt,&si_end)> 0) ) )
     {
	 set_product_view_product_inactive_dt (pvd, &si_end);
     }
  }
	
  if (IsSet(product_view_product_inactive_dt, pvd))
    truncate_Arbdate(&(pvd->product_inactive_dt));

  /* BIP never picks up the product if date_rc_begin is NULL.
   * (CAMqa44989)
   */
  if (!IsSet(product_view_billing_active_dt, pvd))
  {
    if (Arbdate_copy(&pvd->billing_active_dt, &pvd->product_active_dt) != SUCCESS)
    {
	abp_put_misc_message(connection, ABP_BAD_DATE_STRING, "billing_active_dt");
	return ABP_MISC_ERR;
    }
    Set(product_view_billing_active_dt, pvd);
  }

  if (IsSet(customer_id_acct_map_external_id, cid_bill_rc)) {
     retval = get_abp_serv_inst_product_external_account_no_bill_rc_type(serv_inst_product, &xid_type);
     if (retval == ABP_DB_NULL) {
             abp_put_misc_message(connection,ABP_NO_VALUE_ERR, "external_account_no_bill_rc_type");
             return ABP_MISC_ERR;
       }
     if (retval == ABP_NOT_SET) {
            retval = find_default_external_id_type( connection, &xid_type);
            if (retval != ABP_STATUS_OK)
                return retval;
            set_customer_id_acct_map_external_id_type(cid_bill_rc, xid_type);
       }
     /* DENqa39707*/
     if ((retval = find_account_no(connection, 
                                   cid_bill_rc->external_id,
                                   cid_bill_rc->external_id_type,
                                   &bill_rc_account_no,
                                   (a_effective_date != NULL) && (*szeffective_date != '\0') ? &effective_date : NULL)) != ABP_STATUS_OK)
         return retval;
     set_product_view_billing_account_no (pvd, bill_rc_account_no);

    }

  if (!IsSet(product_view_billing_account_no, pvd) || !IsSet(product_view_open_item_id, pvd)) { /* we should find them from OPEN_ITEM_ID_MAP table */

/*EXPORT int get_account_balance( Arb_connection *dbp,
*                                int account_no,
*                                int subscr_no,
*                                int subscr_no_resets,
*                                int c_e_type,
*                                int c_e_value,
*                                Arb_date *effective_dt,
*                                ACCOUNT_BALANCE *account_balance)
*/

  bmtv.account_no = pvd->parent_account_no;
  bmtv.subscr_no = pvd->parent_subscr_no;
  bmtv.subscr_no_resets = pvd->parent_subscr_no_resets;
  bmtv.c_e_type = CHARGE_RC_TYPE;
  bmtv.c_e_value = pvd->element_id;
  if (Arbdate_copy(&(bmtv.effective_dt), &pvd->billing_active_dt) != SUCCESS)
  {
      abp_put_misc_message(connection, ABP_BAD_DATE_STRING, "effective_dt");
      return ABP_MISC_ERR;
  }
  bmtv.rate_period = 0;
  retval = get_account_balance(connection, &bmtv, &acct_bal);

     if (retval == FAILURE){
         strcpy(err_msg , get_balance_error_msg());
         abp_put_misc_message(connection, ABP_ACCT_BALANCE_LIB_ERROR, err_msg);
         return ABP_MISC_ERR;
     }

     if (!IsSet(product_view_billing_account_no, pvd))
             set_product_view_billing_account_no(pvd, acct_bal.balance_account_no);
     if (!IsSet(product_view_open_item_id, pvd))
             set_product_view_open_item_id(pvd, acct_bal.open_item_id);
     
   } 
         
  truncate_Arbdate(&(pvd->billing_active_dt));

  /* DENqa44281 - for auto_activation != 0 products, billing_active_dt should be NULL */
  arb_dbcmd(connection, "SELECT auto_activation from PRODUCT_ELEMENTS ");
  arb_dbfcmd(connection, "WHERE element_id = %d", pvd->element_id);
  arb_exec_string(connection, "", SQL_DEFER_EXECUTE);
  arb_dbbind(connection, 1, ARB_TYPE_INT8, 0, &auto_activation);
  rowcount = 0;
  while(arb_next_row(connection) == ARB_MORE_DATA)
    rowcount++;
  if (arb_query_status(connection) == FAILURE)
    return ABP_DBERR;
  if (rowcount == 0) {
    abp_put_misc_message(connection, ABP_ROW_NOT_FOUND, "PRODUCT_ELEMENTS");
    return ABP_MISC_ERR;
  }
  if (auto_activation != 0)
    SetToNull(product_view_billing_active_dt, pvd);
  /* DENqa44281 */

  arb_numeric_from_int(&arbneg,-1);

  /* Increment SEQ_NUM outside the transaction */
  if ((tracking_id = incr_seqnum(connection, "PRODUCT")) < 0) {
	if (arb_query_status(connection) != SUCCESS)
      		return ABP_DBERR;
	else {
		abp_put_misc_message(connection, ABP_ROW_NOT_FOUND, "SEQ_NUM (PRODUCT)");
		return ABP_MISC_ERR;
	}
  }

  
  if ((retval = abp_begin_transaction_inner(dbhandle,
				      "abp_insert_serv_inst_product")) 
      != ABP_STATUS_OK)
    return retval;

  arb_setup_proc_exec(connection, &proc_api_pp_insert_alacarte_product,SQL_EXECUTE_NOW,
        "account_no",account_no, ARG_NOT_NULL,
        "element_id",pvd->element_id, ARG_NOT_NULL,
        "start_date",&(pvd->product_active_dt), ARG_NOT_NULL ,
        "rc_date",&(pvd->billing_active_dt), IsSet(product_view_billing_active_dt,pvd) ? ARG_NOT_NULL : ARG_IS_NULL,
        "override_rate", &arbneg, ARG_NOT_NULL, /* -1 signifies no override */
        "account_no_bill_rc",pvd->billing_account_no, ARG_NOT_NULL,
        "subscr_no",pvd->parent_subscr_no, ARG_NOT_NULL,
        "subscr_no_resets",pvd->parent_subscr_no_resets,ARG_NOT_NULL,
        "auto_activation", pvd->auto_activation, IsSet(product_view_auto_activation, pvd)?ARG_NOT_NULL: ARG_IS_NULL,
        "in_arrears_override",pvd->in_arrears_override,ARG_NOT_NULL,
        "order_number",pvd->order_number, IsSet(product_view_order_number,pvd) ? ARG_NOT_NULL : ARG_IS_NULL,
        "serial_number",pvd->serial_number, IsSet(product_view_serial_number,pvd) ? ARG_NOT_NULL : ARG_IS_NULL,
        "bill_period",pvd->bill_period, IsSet(product_view_bill_period,pvd) ? ARG_NOT_NULL : ARG_IS_NULL,
        "stop_date",&(pvd->product_inactive_dt), IsSet(product_view_product_inactive_dt,pvd) ? ARG_NOT_NULL : ARG_IS_NULL,
        "chg_order",IsSet(product_view_charge_order, pvd) ? pvd->charge_order : 0, ARG_NOT_NULL,
        "converted",IsSet(product_key_converted,pkd) ? pkd->converted : 0, ARG_NOT_NULL,
        "api_caller",tracking_id,ARG_NOT_NULL,
        "tracking_id_serv",dbhandle->cust_server_id , ARG_NOT_NULL,
        "sales_channel_id", pvd->sales_channel_id, IsSet(product_view_sales_channel_id, pvd) ? ARG_NOT_NULL : ARG_IS_NULL,
        "open_item_id", pvd->open_item_id,  ARG_NOT_NULL,
	"rc_date_end", &(pvd->billing_inactive_dt), IsSet(product_view_billing_inactive_dt, pvd) ? ARG_NOT_NULL : ARG_IS_NULL, 
        "no_bill", IsSet(product_view_no_bill, pvd) ? pvd->no_bill : 0, ARG_NOT_NULL, NO_MORE_ARGS);

  if (arb_query_status(connection) != SUCCESS) {
        abp_roll_back_transaction_inner(dbhandle,"abp_insert_serv_inst_product");
        return ABP_DBERR;
  }
  else {
        set_product_key_tracking_id(pkd,tracking_id);
	set_product_view_tracking_id(pvd, tracking_id);
        set_product_key_tracking_id_serv(pkd,dbhandle->cust_server_id);
        set_product_view_tracking_id_serv(pvd, dbhandle->cust_server_id);
        return abp_commit_transaction_inner(dbhandle,"abp_insert_serv_inst_product");
  }
}
EXPORT void null_abp_ppkg_component_type_short_display(ABP_PPKG_COMPONENT_TYPE ppkg_component_type)
{
  if (WRONG_OBJ_TYPE(ppkg_component_type, PPKG_COMPONENT_TYPE))
    return;
  SetToNull(component_definition_values_short_display, ppkg_component_type->component_definition_values_data);
}