Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


 
SYNTAX:
 
xpfClassifyInstance (aggrIdOrInstanceId     : GENERIC)                     instanceClassification : GENERIC;
 
The xpfClassifyInstance function returns ?classification information? about a given entity instance or a given aggregate instance.
The ?classification information? is:

  • persistent, scratch or vm (EDMexpressVM) instance.
  • in case of aggregate: the kind of aggregate
  • kind of model that locates the instance

The actual model that locates the aggregate instance or entity instance to classify must be open before this operation can be successfully performed.
The ?classification information? is returned as ?bit values?, i.e., the bitwise AND operation can be used to find each individual ?classification information?. The following constants are defined for the ?classification information?:
XPXETA_META_MODEL, XPXDICTIONARY_MODEL, XPXMETA_MODEL, XPXSYSTEM_MODEL, XPXSESSION_MODEL, XPXDATA_MODEL, XPXARRAY_AGGREGATE, XPXBAG_AGGREGATE, XPXLIST_AGGREGATE, XPXSET_AGGREGATE, XPXPERSISTENT_INSTANCE, XPXSCRATCH_INSTANCE, XPXVM_INSTANCE, XPXSUBTYPE_AGGREGATE, XPXUNION_AGGREGATE
Note: XPXDICTIONARY_MODEL and XPXMETA_MODEL are two different names of exactly the same, i.e., XPXICTIONARY_MODEL = XPXMETA_MODEL
This function is equivalent to the EDMinterface function edmiClassifyInstance

  • No labels