TypefiFieldDefinitions

A list of Typefi field definitions

Methods:

[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

TypefiFieldDefinition [] (index:Number)

Returns the TypefiFieldDefinition with the specified index.

Parameter

Type

Description

index

Number

The index.

TypefiFieldDefinition add (name:String, withProperties:Object)

Create a new TypefiFieldDefinition

Parameter

Type

Description

name

String

The name property of the new TypefiFieldDefinition (Optional)

withProperties

Object

Initial values for properties of the new TypefiFieldDefinition (Optional)

TypefiFieldDefinition anyItem ()

Returns any TypefiFieldDefinition in the collection.

Number count ()

Displays the number of elements in the TypefiFieldDefinition.

TypefiFieldDefinition everyItem ()

Returns every TypefiFieldDefinition in the collection.

TypefiFieldDefinition firstItem ()

Returns the first TypefiFieldDefinition in the collection.

TypefiFieldDefinition item (index:Varies LongInteger String)

Returns the TypefiFieldDefinition with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

TypefiFieldDefinition itemByID (id:Number)

Returns the TypefiFieldDefinition with the specified ID.

Parameter

Type

Description

id

Number

The ID.

TypefiFieldDefinition itemByName (name:String)

Returns the TypefiFieldDefinition with the specified name.

Parameter

Type

Description

name

String

The name.

TypefiFieldDefinition itemByRange (from:Varies LongInteger TypefiFieldDefinition String, to:Varies LongInteger TypefiFieldDefinition String)

Returns the TypefiFieldDefinitions within the specified range.

Parameter

Type

Description

from

LongInteger

TypefiFieldDefinition

String

The TypefiFieldDefinition, index, or name at the beginning of the range. Can accept: TypefiFieldDefinition, Long Integer or String.

to

LongInteger

TypefiFieldDefinition

String

The TypefiFieldDefinition, index, or name at the end of the range. Can accept: TypefiFieldDefinition, Long Integer or String.

TypefiFieldDefinition lastItem ()

Returns the last TypefiFieldDefinition in the collection.

TypefiFieldDefinition middleItem ()

Returns the middle TypefiFieldDefinition in the collection.

TypefiFieldDefinition nextItem (obj:TypefiFieldDefinition)

Returns the TypefiFieldDefinition whose index follows the specified TypefiFieldDefinition in the collection.

Parameter

Type

Description

obj

TypefiFieldDefinition

The TypefiFieldDefinition whose index comes before the desired TypefiFieldDefinition.

TypefiFieldDefinition previousItem (obj:TypefiFieldDefinition)

Returns the TypefiFieldDefinition with the index previous to the specified index.

Parameter

Type

Description

obj

TypefiFieldDefinition

The index of the TypefiFieldDefinition that follows the desired TypefiFieldDefinition.

String toSource ()

Generates a string which, if executed, will return the TypefiFieldDefinition.

Object of

Document.typefiFieldDefinitions