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 Current »


 
SYNTAX:
 
xpfGetAttrPrimitiveTypeBN (schemaName, entityName, attributeName : STRING)                            attrPrimitiveType                     : INTEGER;
 
The xpfGetAttrPrimitiveTypeBN function returns the legal primitive types of the data value that can can be assigned to the specified attribute in an instance of a type that contains this attribute. The value is returned in the argument <attrPrimitiveType>. The attribute is specified thru the arguments <schemaName>, <entityName> and <attributeName>.
The actual data type is returned in the argument <attrPrimitiveType> as one of the following integer constants;
xpxNUMBER, xpxINTEGER, xpxREAL, xpxSTRING, xpxBOOLEAN, xpxLOGICAL, xpxBINARY, xpxINSTANCE, xpxAGGREGATE, xpxSELECT
NOTE: In this context an attributeID also represents a view_entity attributeID.
The dictionary model that defines the specified attribute must be open before this function can be successfully performed.
This function is equivalent to the EDMinterface function edmiGetAttrPrimitiveTypeBN.
See also xpxGetAttrPrimitiveTypeBN.

  • No labels