Preparing search index...
@universe-dg/sdk
Universe
Platform
Record
RecordAttributeUtils
Class RecordAttributeUtils
Public
Index
Constructors
constructor
Properties
default
Array
Attribute
Formatter
default
Simple
Attribute
Formatter
Methods
build
Attribute
Search
Column
build
Data
Attribute
By
Meta
Attribute
cast
Attribute
Value
get
Default
Attribute
Value
is
Clear
Empty
Attribute
normalize
Empty
Attribute
Constructors
constructor
new
RecordAttributeUtils
()
:
RecordAttributeUtils
Returns
RecordAttributeUtils
Properties
Static
default
Array
Attribute
Formatter
defaultArrayAttributeFormatter
:
DefaultArrayAttributeFormatter
Static
default
Simple
Attribute
Formatter
defaultSimpleAttributeFormatter
:
DefaultSimpleAttributeFormatter
Methods
Static
build
Attribute
Search
Column
buildAttributeSearchColumn
(
attribute
:
IMetaAbstractAttribute
,
isNested
?:
boolean
,
)
:
ISearchColumn
Parameters
attribute
:
IMetaAbstractAttribute
Optional
isNested
:
boolean
Returns
ISearchColumn
Static
build
Data
Attribute
By
Meta
Attribute
buildDataAttributeByMetaAttribute
(
metaAttribute
:
IMetaAbstractAttribute
|
IMetaComplexAttribute
,
config
?:
Record
<
string
,
any
>
,
setDefaultValue
?:
boolean
,
)
:
RecordValuedAttribute
|
RecordComplexAttribute
Parameters
metaAttribute
:
IMetaAbstractAttribute
|
IMetaComplexAttribute
Optional
config
:
Record
<
string
,
any
>
Optional
setDefaultValue
:
boolean
Returns
RecordValuedAttribute
|
RecordComplexAttribute
Static
cast
Attribute
Value
castAttributeValue
(
value
:
undefined
|
null
|
string
|
number
,
attribute
:
IRecordValuedAttribute
,
)
:
null
|
string
|
number
|
boolean
Parameters
value
:
undefined
|
null
|
string
|
number
attribute
:
IRecordValuedAttribute
Returns
null
|
string
|
number
|
boolean
Static
get
Default
Attribute
Value
getDefaultAttributeValue
(
attribute
?:
IRecordAttribute
)
:
string
Parameters
Optional
attribute
:
IRecordAttribute
Returns
string
Static
is
Clear
Empty
Attribute
isClearEmptyAttribute
(
attribute
?:
IRecordAttribute
)
:
boolean
Parameters
Optional
attribute
:
IRecordAttribute
Returns
boolean
Static
normalize
Empty
Attribute
normalizeEmptyAttribute
(
attribute
:
IRecordAttribute
)
:
void
Parameters
attribute
:
IRecordAttribute
Returns
void
On This Page
Constructors
constructor
Properties
default
Array
Attribute
Formatter
default
Simple
Attribute
Formatter
Methods
build
Attribute
Search
Column
build
Data
Attribute
By
Meta
Attribute
cast
Attribute
Value
get
Default
Attribute
Value
is
Clear
Empty
Attribute
normalize
Empty
Attribute
Юниверс DG SDK UI
Loading...
Public