Skip to content

Class: LinkSpecifierProxy

LinkSpecifierProxy is a developer-facing class that construct a Link Object to be used by OData create or update entity.

Hierarchy

  • LinkSpecifierProxy

Implements

Summary

Constructors

Methods

Class Methods

Inherited Methods

Constructors

constructor

+ new LinkSpecifierProxy(property: string, entitySet: string, queryOptions?: string, readLink?: string): LinkSpecifierProxy

Constructor

Parameters:

Name Type
property string
entitySet string
queryOptions? string
readLink? string

Returns: LinkSpecifierProxy

Methods

getEntitySet

getEntitySet(): string

Implementation of ILinkSpecifierProxy

Returns: string

return entityset string


getProperty

getProperty(): string

Implementation of ILinkSpecifierProxy

Returns: string

return propery string


getQueryOptions

getQueryOptions(): string

Implementation of ILinkSpecifierProxy

Returns: string

return query optuin string


getReadLink(): string

Implementation of ILinkSpecifierProxy

return readlink string

Returns: string


getSpecifier

getSpecifier(): __type

Implementation of ILinkSpecifierProxy

Get the specifier object in JSON format.

Returns: __type

return an object in JSON format as follows:

{
 Property: "propery string",
 Target:
   {
     EntitySet: "entiryset string",
     QueryOptions: "query string",
     ReadLink: "readlink string"
   }
}


setEntitySet

setEntitySet(value: string): void

Implementation of ILinkSpecifierProxy

Set EntitySet string

Parameters:

Name Type
value string

Returns: void


setProperty

setProperty(value: string): void

Implementation of ILinkSpecifierProxy

Set property string

Parameters:

Name Type
value string

Returns: void


setQueryOptions

setQueryOptions(value: string): void

Implementation of ILinkSpecifierProxy

Set query string

Parameters:

Name Type
value string

Returns: void


setReadLink(value: string): void

Implementation of ILinkSpecifierProxy

Set readlink string

Parameters:

Name Type
value string

Returns: void