Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Common Desktop Environment: Advanced User's and System Administrator's Guide > Chapter 11 Creating Data Types Manually

Components of a Data Type Definition: Criteria and Attributes

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

A data type definition consists of two separate database definitions:

  • The DATA_ATTRIBUTES definition.

    The DATA_ATTRIBUTES definition describes the data type's name and the appearance and behavior of files of this type.

  • The DATA_CRITERIA definition.

    The DATA_CRITERIA definition describes the typing criteria. Each criteria definition specifies the DATA_ATTRIBUTES definition to which the criteria apply.

There must be at least one DATA_CRITERIA definition for each DATA_ATTRIBUTES definition; a DATA_ATTRIBUTES definition can have multiple DATA_CRITERIA associated with it.

For example, you could create an attributes definition for PostScript files that described how PostScript files look and behave in File Manager. Then, you could create two separate criteria for the PostScript data type— one based on file name and the other based on file content.

For more information, see “Defining the Data Criteria for a Data Type”.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.