Abstract
Attribute value type.
Attribute input type.
Accepted when attribute value added to metadata.
May differ from actual attribute value type.
Stored data type.
Declares what actually stored inside metadata.
Constructs attribute.
Attribute name.
Optional
uid: unknownUnique attribute identifier. this
by default.
Optional
Attribute name.
Unique attribute identifier.
Different attributes with the same identifier share the same value.
Represents this attribute as charge and transfers it to the given charge receiver.
Called by UcMeta#toUC method when attribute is present within.
Abstract
cloneClones attribute data.
Called when metadata actually cloned. This happens when one of the clones modified.
Data to clone.
Cloned data.
Abstract
extractExtracts attribute value from metadata.
Stored attribute data or undefined
if nothing stored.
Source metadata to extract the value from.
Either extracted attribute value, or undefined
if nothing extracted.
Abstract
extractExtracts all attribute values.
Stored attribute data or undefined
if nothing stored.
Source metadata to extract values from.
Either array of extracted attribute values, or empty array if nothing extracted.
Abstract
mergeMerges two attribute data instances.
Called when metadata instances merged.
First attribute data instance to merge.
Second attribute data instance to merge.
Merged attribute data.
Abstract
storeStores attribute value
to metadata.
Already stored attribute data or undefined
if nothing stored yet.
The input value to store.
Target metadata to store the value in.
Value to store.
Generated using TypeDoc
Typed attribute of charge metadata.
When used as attribute key, the methods of attribute applied to store and extract attribute value(s).