Interface IHasOneAssociation

Hierarchy

Index

Properties

Methods

Properties

optional public alias?: Array<string>

[Config Option] (String[])

optional public alternateClassName?: any

[Config Option] (String/String[])

optional public associatedModel?: string

[Config Option] (String)

optional public associatedName?: string

[Config Option] (String)

optional public associationKey?: string

[Config Option] (String)

optional public config?: any

[Config Option] (Object)

optional public extend?: string

[Config Option] (String)

optional public foreignKey?: string

[Config Option] (String)

optional public getterName?: string

[Config Option] (String)

optional public inheritableStatics?: any

[Config Option] (Object)

optional public mixins?: any

[Config Option] (Object)

optional public ownerModel?: any

[Config Option] (Ext.data.Model/String)

optional public platformConfig?: any

[Config Option] (Object)

optional public primaryKey?: string

[Config Option] (String)

optional public reader?: IReader

[Config Option] (Ext.data.reader.Reader)

optional public self?: IClass

[Property] (Ext.Class)

optional public setterName?: string

[Config Option] (String)

optional public singleton?: boolean

[Config Option] (Boolean)

optional public statics?: any

[Config Option] (Object)

optional public type?: string

[Config Option] (String)

optional public uses?: Array<string>

[Config Option] (String[])

Methods

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public destroy()

[Method]

optional public getAssociatedModel(): string

[Method] Returns the value of associatedModel

Returns

string

String

optional public getAssociatedName(): string

[Method] Returns the value of associatedName

Returns

string

String

optional public getAssociationKey(): string

[Method] Returns the value of associationKey

Returns

string

String

optional public getForeignKey(): string

[Method] Returns the value of foreignKey

Returns

string

String

optional public getGetterName(): string

[Method] Returns the value of getterName

Returns

string

String

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getInstanceName(): any

[Method] Returns the value of instanceName

Returns

any

Object

optional public getName(): any

[Method] Returns the value of name

Returns

any

Object

optional public getOwnerModel(): any

[Method] Returns the value of ownerModel

Returns

any

Ext.data.Model/String

optional public getOwnerName(): string

[Method] Returns the value of ownerName

Returns

string

String

optional public getPrimaryKey(): string

[Method] Returns the value of primaryKey

Returns

string

String

optional public getReader(): IReader

[Method] Returns the value of reader

Returns

IReader

Ext.data.reader.Reader

optional public getSetterName(): string

[Method] Returns the value of setterName

Returns

string

String

optional public getType(): string

[Method] Returns the value of type

Returns

string

String

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public setAssociatedModel(associatedModel?: string)

[Method] Sets the value of associatedModel

Parameters

  • associatedModel?: string optional

    String

optional public setAssociatedName(associatedName?: string)

[Method] Sets the value of associatedName

Parameters

  • associatedName?: string optional

    String

optional public setAssociationKey(associationKey?: string)

[Method] Sets the value of associationKey

Parameters

  • associationKey?: string optional

    String

optional public setForeignKey(foreignKey?: string)

[Method] Sets the value of foreignKey

Parameters

  • foreignKey?: string optional

    String

optional public setGetterName(getterName?: string)

[Method] Sets the value of getterName

Parameters

  • getterName?: string optional

    String

optional public setInstanceName(instanceName?: any)

[Method] Sets the value of instanceName

Parameters

  • instanceName?: any optional

    Object

optional public setName(name?: any)

[Method] Sets the value of name

Parameters

  • name?: any optional

    Object

optional public setOwnerModel(ownerModel?: any)

[Method] Sets the value of ownerModel

Parameters

  • ownerModel?: any optional

    Ext.data.Model/String

optional public setOwnerName(ownerName?: string)

[Method] Sets the value of ownerName

Parameters

  • ownerName?: string optional

    String

optional public setPrimaryKey(primaryKey?: string)

[Method] Sets the value of primaryKey

Parameters

  • primaryKey?: string optional

    String

optional public setReader(reader?: IReader)

[Method] Sets the value of reader

Parameters

  • reader?: IReader optional

    Ext.data.reader.Reader

optional public setSetterName(setterName?: string)

[Method] Sets the value of setterName

Parameters

  • setterName?: string optional

    String

optional public setType(type?: string)

[Method] Sets the value of type

Parameters

  • type?: string optional

    String