Class: Property

baja. Property


new Property()

Property Slot.

Property defines a Slot which is a storage location
for a variable in a Complex.

A new object should never be directly created with this Constructor. All Slots are
created internally by BajaScript.

Extends

Methods


equals(obj)

Indicates whether some other object is equal to this one.

Parameters:
Name Type Description
obj Object

the reference object with which to compare.

Inherited From:
Returns:

true if this object is the same as the obj argument; false otherwise.

Type
Boolean

<abstract> getFlags()

Return the Flags for the slot.

Inherited From:
Returns:
Type
Number

getName()

Return the name of the Slot.

Inherited From:
Returns:
Type
String

<abstract> getType()

Get the Type of this Property slot. Override depending on whether this
is a frozen or dynamic property.

Returns:
Type
Type

isAction()

Is the Slot an Action?

Inherited From:
Returns:
Type
Boolean

isFrozen()

Is the Slot frozen?

Inherited From:
Returns:
Type
Boolean

isProperty()

Is this Slot a Property? Yes.

Overrides:
Returns:
Type
Boolean

isTopic()

Is the Slot a Topic?

Inherited From:
Returns:
Type
Boolean

toString()

Return a String representation of the Slot.

Inherited From:
Returns:
Type
String

valueOf()

Return the inner value of the object.

By default the object's instance is returned.

Inherited From:
Returns:

the inner value of the object or just the object's instance.

Type
*