Home Manual Reference Source Test
public class | source

AttributeObject

Extends:

Attribute → AttributeObject

The value of this attribute is always an object that can be cast to itemClass

Constructor Summary

Public Constructor
public

constructor(objectPattern: {"modelKey": *, "jsonKey": *, "itemClass": *, "queryable": *})

Member Summary

Public Members
public

Method Summary

Public Methods
public

fromJSON(val: *): *

public

toJSON(val: *): *

Inherited Summary

From class Attribute
public

jsonKey: *

public
public
public
public
public

equal(val: *): Matcher

public

fromJSON(val: *): *

public

in(val: Array): Matcher

public

not(val: *): Matcher

public

toJSON(val: *): *

Public Constructors

public constructor(objectPattern: {"modelKey": *, "jsonKey": *, "itemClass": *, "queryable": *}) source

Override:

Attribute#constructor

Params:

NameTypeAttributeDescription
objectPattern {"modelKey": *, "jsonKey": *, "itemClass": *, "queryable": *}
  • default: {"modelKey":null,"jsonKey":null,"itemClass":null,"queryable":null}

Public Members

public ItemClass: * source

Public Methods

public fromJSON(val: *): * source

Override:

Attribute#fromJSON

Params:

NameTypeAttributeDescription
val *

Return:

*

public toJSON(val: *): * source

Override:

Attribute#toJSON

Params:

NameTypeAttributeDescription
val *

Return:

*