Previous: Testing entities, Up: Entities
Return the number of attributes ename has.
Return the type of entity ename.
Legal values are:
FDM_ENTITY_TYPE_NULL- The entity has not a defined type. This should always be considered as an inconsistency on the data model.
FDM_ENTITY_TYPE_STRONG- The entity is a strong entity (see the user's guide for more details about strong entities).
FDM_ENTITY_TYPE_WEAK- The entity is a weak entity with existence constraint (see the user's guide for more details about weak entities).
FDM_ENTITY_TYPE_WEAKE- The entity is a weak entity with existence constraint and ID-dependant (see the user's guide for more details about weak by ID entities).
Set the type of ename. See the documentation for
fdm_get_entity_typefor information about legal types.
Rename the ename entity to nename.
Return the name of the index-th attribute of the ename entity. Note that the attribute list is indexed by 0.
Rename the attribute aname to naname on entity ename.
Add a new attribute group (see the user's guide for more information about attribute groups) name gname to the ename entity.
If there is already an attribute group named gname, then the function return
FERRET_ERROR.
Remove the gname attribute group from the ename entity.
Add a new aname attribute to the ename entity.
If there is already an attribute named aname, then
FERRET_ERRORis returned.
Add the attribute aname to the gname attribute group in the ename entity.
Remove the attribute aname from the gname attribute group in the ename entity.
Remove the aname attribute from the ename entity.
If the attribute do not exist on the entity, then
FERRET_ERRORis returned.
Return the short description of the ename entity.
Set descr as the new short description for the ename entity.
Return the full description of the ename entity.
Set descr as the new full description for the ename entity.
Return the creation time-stamp for the ename entity.
Return the last modified time-stamp for the ename entity.
Return a ferret string list with all the ordered attribute names.
With respecto to the ename entity, this function return:
-1if the aname1 attribute is before the aname2 on the entity attribute list.1if the aname1 attribute is after the aname2 on the entity attribute list.