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.

Implements

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Currently none inherited from the parent class(es).

Accessors

Class Accessors

Currently none in this class.

Inherited Accessors

Currently none inherited from the parent class(es).

Methods

Class Methods

Inherited Methods

Currently none inherited from the parent class(es).

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.getEntitySet

Returns: string

return entityset string


getProperty

getProperty(): string

Implementation of ILinkSpecifierProxy.getProperty

Returns: string

return propery string


getQueryOptions

getQueryOptions(): string

Implementation of ILinkSpecifierProxy.getQueryOptions

Returns: string

return query optuin string


getReadLink(): string

return readlink string

Implementation of ILinkSpecifierProxy.getReadLink

Returns: string


getSpecifier

getSpecifier(): object

Get the specifier object in JSON format.

Implementation of ILinkSpecifierProxy.getSpecifier

Returns: object

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

Set EntitySet string

Implementation of ILinkSpecifierProxy.setEntitySet

Parameters:

Name Type
value string

Returns: void


setProperty

setProperty(value: string): void

Set property string

Implementation of ILinkSpecifierProxy.setProperty

Parameters:

Name Type
value string

Returns: void


setQueryOptions

setQueryOptions(value: string): void

Set query string

Implementation of ILinkSpecifierProxy.setQueryOptions

Parameters:

Name Type
value string

Returns: void


setReadLink(value: string): void

Set readlink string

Implementation of ILinkSpecifierProxy.setReadLink

Parameters:

Name Type
value string

Returns: void