Module: baja/comp/PropertyTopic

Defines a PropertyTopic (not exposed on baja namespace).


new (require("baja/comp/PropertyTopic"))()

PropertyTopic Slot.

A Property that is also a Topic. Typically this is used for dynamic Topics.

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

getDefaultFlags()

Return the default flags for the Property.

Inherited From:
Returns:
Type
Number

getDefaultValue()

Return the default value for the Property.

Inherited From:
Returns:

the default value for the Property.


getEventType()

Return the Topic's event Type.

Returns:

the event Type (or null if the Topic has not event Type).

Type
Type

getFacets()

Return the Facets for the Property.

Inherited From:
See:
Returns:

the Slot Facets


getFlags()

Return the Flags for the Property.

Inherited From:
See:
Returns:
Type
Number

getName()

Return the name of the Slot.

Inherited From:
Returns:
Type
String

getType()

Return the Type for this Property.

Inherited From:
Returns:

the Type for the Property.


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.

Inherited From:
Returns:
Type
Boolean

isTopic()

Is the Property a Topic? Yes.

Overrides:
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
*