Partager via


Metabase Semantic Types

4/8/2010

The OMA DM Type property is called a semantic type in the metabase. This corresponds to the MIME type of the leaf node value.

Note

The MIME type for WAP Provisioning XML is not supported.

Semantic types are managed through OMA DM server using the MIME type. The device client translates the MIME type to the device-acceptable semantic type. If the device receives a MIME type that does not have a corresponding semantic type, it stores the MIME type directly. Likewise, on the return, the device client either translates from semantic type to MIME type, or simply passes a MIME type that has no corresponding semantic type when sent to the server.

The following table shows the mapping between the semantic and MIME types.

Note

The OMA DM server must not use a semantic type directly as a MIME type.

Semantic type MIME type

email

text/vnd.ms.emailaddress

url

text/vnd.ms.url

Phone-number

text/vnd.ms.phonenumber

alphanumeric-password

text/vnd.ms.password

currency

text/vnd.ms.currency

numeric-password

text/vnd.ms.numericpassword

short-date_time

text/vnd.ms.date

file

text/vnd.ms.filename

text

text/plain

label

text/vnd.ms.label

link

text/vnd.ms.hyperlink

level

text/vnd.ms.progressbar

See Also

Concepts

Metabase and OMA DM