@coasys/ad4m / Exports / PropertyMetadata
Interface: PropertyMetadata
Metadata for a single property extracted from decorators.
Table of contents
Properties
Properties
flag
• Optional flag: boolean
Whether this is a flag property
Defined in
model/Ad4mModel.ts:100 (opens in a new tab)
getter
• Optional getter: string
Custom Prolog getter code
Defined in
model/Ad4mModel.ts:92 (opens in a new tab)
initial
• Optional initial: string
Initial value if specified
Defined in
model/Ad4mModel.ts:88 (opens in a new tab)
local
• Optional local: boolean
Whether stored locally only
Defined in
model/Ad4mModel.ts:96 (opens in a new tab)
name
• name: string
The property name
Defined in
model/Ad4mModel.ts:80 (opens in a new tab)
predicate
• predicate: string
The predicate URI (through value)
Defined in
model/Ad4mModel.ts:82 (opens in a new tab)
required
• required: boolean
Whether the property is required
Defined in
model/Ad4mModel.ts:84 (opens in a new tab)
resolveLanguage
• Optional resolveLanguage: string
Language for resolution (e.g., "literal")
Defined in
model/Ad4mModel.ts:90 (opens in a new tab)
setter
• Optional setter: string
Custom Prolog setter code
Defined in
model/Ad4mModel.ts:94 (opens in a new tab)
transform
• Optional transform: (value: any) => any
Type declaration
▸ (value): any
Transform function
Parameters
| Name | Type |
|---|---|
value | any |
Returns
any
Defined in
model/Ad4mModel.ts:98 (opens in a new tab)
writable
• writable: boolean
Whether the property is writable