Class SimpleExtensible

Base class alternative to ExtensibleObject for customizable objects which do not rely on the metadata system. Unlike Extensible any custom attributes can be set on the fly and are not checked against an available list. Similar to Extensible method getCustom() is the central point to retrieve and store the objects attribute values.

Property Summary 

PropertyDescription
custom: CustomAttributes (read-only)Returns the custom attributes for this object.

Constructor Summary 

This class does not have a constructor, so you cannot create it directly.

Method Summary 

MethodDescription
getCustom()Returns the custom attributes for this object.

Methods inherited from class Object 

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Property Details 

custom 

custom: CustomAttributes (read-only)

Returns the custom attributes for this object.


Method Details 

getCustom() 

getCustom(): CustomAttributes

Returns the custom attributes for this object.

Returns:

  • the custom attributes for this object.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!