freesmartphone.org PIM.Fields Interface

Description

This interface provides access to field types in domains.

Namespace

org.freesmartphone.PIM.Fields

Methods

Signals

None

Properties

None

Errors

None

Methods

AddField ( ss )

Description: Add new field to the list.

Parameters:*

s: name The field’s name.

s: type The field’s type.

DeleteField ( s )

Description: Delete field from list.

Parameters:*

s: name The field’s name.

GetType ( s ) → s

Description: Get type of specified field.

Parameters:*

s: name The field’s name.

Returns:

s: type The field’s type.

ListFields ( ) → a{ss}

Description: List all specified fields and their types.

Returns:

a{ss}: fields A dictionary with field names and types.

ListFieldsWithType ( s ) → as

Description: List all fields with specified type.

Parameters:*

s: type Field type.

Returns:

as: fields A list with field names.