module:baja/ord/OrdTarget

module:baja/ord/OrdTarget

new (require("baja/ord/OrdTarget"))(baseopt)

Description:
  • ORD Target.

    This constructor shouldn't be invoked directly.

Source:
Extends:
Parameters:
Name Type Attributes Description
base module:baja/ord/OrdTarget <optional>

the base ORD Target

Extends

Methods

canInvoke() → {boolean}

Description:
  • Convenience to check if the underlying target is invokable.

Source:
Since:
  • Niagara 4.12
Returns:
Type
boolean

canRead() → {boolean}

Description:
  • Convenience to check if the underlying target is readable.

Source:
Since:
  • Niagara 4.12
Returns:
Type
boolean

canWrite() → {boolean}

Description:
  • Convenience to check if the underlying target is writable.

Source:
Since:
  • Niagara 4.10
Returns:
Type
boolean

clone() → {module:baja/ord/OrdTarget}

Description:
  • Return a clone of this OrdTarget object.

Source:
Since:
  • Niagara 4.14
Returns:
Type
module:baja/ord/OrdTarget

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

getComponent() → {baja.Component}

Description:
  • Return the Component for the ORD Target.

Source:
Returns:
Type
baja.Component

getFacets() → {baja.Facets}

Source:
Since:
  • Niagara 4.10
Returns:

the correct slot facets, merged from the parent
component through to the target object. If no parent component or no
property path, returns baja.Facets.DEFAULT.

Type
baja.Facets

getObject() → {baja.Object}

Description:
  • Return the object associated with this OrdTarget.

    This method will attempt to access any resolved value from its
    Property. If the resolved value wasn't resolved from a Property then
    the original resolved object is returned.

Source:
Returns:
Type
baja.Object

getOrd() → {baja.Ord}

Description:
  • Return the ord used to resolve the target.

Source:
Since:
  • Niagara 4.10
Returns:
Type
baja.Ord

getPermissionsOnTarget() → {baja.Permissions}

Source:
Since:
  • Niagara 4.14
Returns:
Type
baja.Permissions

getSlotInComponent() → {baja.Slot|null}

Description:
  • If the ord resolves to a slot within a component, then return the slot
    of getComponent(). If not applicable, then return null.

Source:
Since:
  • Niagara 4.10
Returns:
Type
baja.Slot | null

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
*