Slot

baja. Slot

new Slot(slotName, displayName)

Description:
  • A Niagara Complex is made up of Slots. A Slot can be a Property,
    Action or a Topic.

    This is the base class for all Slots in BajaScript.

    A new object should never be directly created with this Constructor.

Source:
Parameters:
Name Type Description
slotName String

the name of the Slot.

displayName String

the display name of the Slot.

Extends

Methods

equals(obj) → {Boolean}

Description:
  • Indicates whether some other object is equal to this one.

Source:
Inherited From:
Parameters:
Name Type Description
obj Object

the reference object with which to compare.

Returns:

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

Type
Boolean

(abstract) getFlags() → {Number}

Description:
  • Return the Flags for the slot.

Source:
Returns:
Type
Number

getName() → {String}

Description:
  • Return the name of the Slot.

Source:
Returns:
Type
String

isAction() → {Boolean}

Description:
  • Is the Slot an Action?

Source:
Returns:
Type
Boolean

isFrozen() → {Boolean}

Description:
  • Is the Slot frozen?

Source:
Returns:
Type
Boolean

isProperty() → {Boolean}

Description:
  • Is the Slot a Property?

Source:
Returns:
Type
Boolean

isTopic() → {Boolean}

Description:
  • Is the Slot a Topic?

Source:
Returns:
Type
Boolean

toString() → {String}

Description:
  • Return a String representation of the Slot.

Source:
Returns:
Type
String

valueOf() → {*}

Description:
  • Return the inner value of the object.

    By default the object's instance is returned.

Source:
Inherited From:
Returns:

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

Type
*