Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_Recipe" of service "API_RECIPE". This service is part of the following communication scenarios: Product Lifecycle Management - Recipe Development Integration (SAP_COM_0136). See https://api.sap.com/api/API_RECIPE for more information.

Hierarchy

  • Entity
    • Recipe

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns Recipe

Properties

Protected _customFields

_customFields: MapType<any>

A mapper representing custom fields in an entity. Custom fields are represented by their field names and the corresponding values. A custom field can be added or updated using setCustomField method.

Protected _versionIdentifier

_versionIdentifier: string

The current ETag version of the entity in the remote system. The ETag identified the version of the in the remote system. It will be automatically set in the "if-match" header of update requests and can be set as a custom header for delete requests. When no ETag is provided by the remote system the value of this variable defaults to "*".

Optional plant

plant: string

Plant. Maximum length: 4.

nullable

Optional rcpFmlaUuid

rcpFmlaUuid: string

Formula GUID.

nullable

Optional recipe

recipe: string

Recipe ID. Maximum length: 20.

nullable

Optional recipeAlternativeNumber

recipeAlternativeNumber: string

Alternative Recipe Identifier. Maximum length: 3.

nullable

Optional recipeAuthorizationGroup

recipeAuthorizationGroup: string

Authorization Group for Recipes. With authorization groups, the access rights of users to recipes can be restricted. Not all users may be allowed to see all recipes. Normally, users are allowed to see certain groups of recipes, perhaps the ones from their lab, the ones dealing with their chemical compound, and so on. This authorization group is used to facilitate giving groups of people access to groups of recipes.The authorization group can be freely defined in Customizing and can then be assigned to each recipe.Authorization groups can be used in combination with Access Control Management (ACM).Use the authorization group logic for static authorizations that reflect the larger organizational set-up within your company. For more dynamic assignments of authorizations, use the Access Control Management logic in recipe development.You can use different authorization groups for specifications and for recipes, or you can assign the same authorization group for specifications and recipes. If you choose the same authorization groups, you only define the authorization group once in Customizing and then assign both specification types (specification and recipes) to this authorization group.For Recipe Development that operates in a Web UI you have to select RECIPE_WUI as the relevant specification type. Maximum length: 10.

nullable

Optional recipeCreatedByUser

recipeCreatedByUser: string

User Who Created Object (Item). Maximum length: 12.

nullable

Optional recipeCreationDateTime

recipeCreationDateTime: Moment

UTC Time Stamp in Short Form (YYYYMMDDhhmmss).

nullable

Optional recipeIsArchived

recipeIsArchived: boolean

Marked for Archiving.

nullable

Optional recipeIsDeleted

recipeIsDeleted: boolean

Marked for Deletion.

nullable

Optional recipeLastChangeDateTime

recipeLastChangeDateTime: Moment

UTC Time Stamp in Short Form (YYYYMMDDhhmmss).

nullable

Optional recipeLastChangedByUser

recipeLastChangedByUser: string

User Who Last Changed Object. Maximum length: 12.

nullable

Optional recipePrimOutpAuthznGrp

recipePrimOutpAuthznGrp: string

Recipe Authorization Group. Maximum length: 10.

nullable

Optional recipePrimOutpSpecType

recipePrimOutpSpecType: string

Specification Type. Maximum length: 10.

nullable

Optional recipePrimaryOutput

recipePrimaryOutput: string

Primary Output ID. Maximum length: 12.

nullable

Optional recipePrimaryOutputInternalId

recipePrimaryOutputInternalId: string

Specification Key. Maximum length: 20.

nullable

Optional recipeProcessUuid

recipeProcessUuid: string

Process GUID.

nullable

Optional recipePurpose

recipePurpose: string

Recipe Purpose. Maximum length: 5.

nullable

Optional recipeStatus

recipeStatus: string

Status. Maximum length: 20.

nullable

Optional recipeStatusSchema

recipeStatusSchema: string

Status Scheme. The status scheme defines the initial status and the possible transitions from one status to another. You define a status scheme in Customizing for Recipe Development under Status Management -> Define Status Scheme. Maximum length: 20.

nullable

Optional recipeType

recipeType: string

Recipe Type. Maximum length: 20.

nullable

Optional recipeUniqueId

recipeUniqueId: string

Recipe GUID in character format used in FRW linkage. Maximum length: 70.

nullable

recipeUuid

recipeUuid: string

Common Recipe GUID.

Optional recipeUuidText

recipeUuidText: string

Recipe Description. Maximum length: 132.

nullable

Optional recipeValidityEndDate

recipeValidityEndDate: Moment

Valid-To Date of a Recipe.

nullable

Optional recipeValidityMaxQuantity

recipeValidityMaxQuantity: BigNumber

Quantity To.

nullable

Optional recipeValidityMinQuantity

recipeValidityMinQuantity: BigNumber

Quantity From.

nullable

Optional recipeValidityStartDate

recipeValidityStartDate: Moment

Valid-From Date of a Recipe.

nullable

Optional recipeValidityUnit

recipeValidityUnit: string

Unit of Measure. Maximum length: 3.

nullable

Optional recipeVersionNumber

recipeVersionNumber: string

Recipe Version. Maximum length: 3.

nullable

Protected remoteState

remoteState: object

The remote state of the entity. Remote state refers to the last known state of the entity on the remote system from which it has been retrieved or to which it has been posted. It is stored as map, where the keys are stored in the format of VDM properties.

Type declaration

  • [keys: string]: any

toCharacteristics

toCharacteristics: RecipeCharc[]

One-to-many navigation property to the RecipeCharc entity.

toClassification

toClassification: RecipeClass[]

One-to-many navigation property to the RecipeClass entity.

toFormulaItem

toFormulaItem: RecipeFormulaItem[]

One-to-many navigation property to the RecipeFormulaItem entity.

toRecipeProcessElement

toRecipeProcessElement: RecipeProcessElement[]

One-to-many navigation property to the RecipeProcessElement entity.

toRecipeProcessEquipRqmt

toRecipeProcessEquipRqmt: RecipeProcessEquipRqmt[]

One-to-many navigation property to the RecipeProcessEquipRqmt entity.

toRecipeProcessParamValue

toRecipeProcessParamValue: RecipeProcessParamValue[]

One-to-many navigation property to the RecipeProcessParamValue entity.

toRecipeText

toRecipeText: RecipeText[]

One-to-many navigation property to the RecipeText entity.

versionIdentifier

versionIdentifier: string

ETag version identifier accessor.

returns

The ETag version identifier of the retrieved entity, returns undefined if not retrieved

Static ALL_FIELDS

ALL_FIELDS: AllFields<Recipe> = new AllFields('*', Recipe)

All fields selector.

Static PLANT

PLANT: StringField<Recipe> = new StringField('Plant', Recipe, 'Edm.String')

Static representation of the plant property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RCP_FMLA_UUID

RCP_FMLA_UUID: StringField<Recipe> = new StringField('RcpFmlaUUID', Recipe, 'Edm.Guid')

Static representation of the rcpFmlaUuid property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE

RECIPE: StringField<Recipe> = new StringField('Recipe', Recipe, 'Edm.String')

Static representation of the recipe property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_ALTERNATIVE_NUMBER

RECIPE_ALTERNATIVE_NUMBER: StringField<Recipe> = new StringField('RecipeAlternativeNumber', Recipe, 'Edm.String')

Static representation of the recipeAlternativeNumber property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_AUTHORIZATION_GROUP

RECIPE_AUTHORIZATION_GROUP: StringField<Recipe> = new StringField('RecipeAuthorizationGroup', Recipe, 'Edm.String')

Static representation of the recipeAuthorizationGroup property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_CREATED_BY_USER

RECIPE_CREATED_BY_USER: StringField<Recipe> = new StringField('RecipeCreatedByUser', Recipe, 'Edm.String')

Static representation of the recipeCreatedByUser property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_CREATION_DATE_TIME

RECIPE_CREATION_DATE_TIME: DateField<Recipe> = new DateField('RecipeCreationDateTime', Recipe, 'Edm.DateTimeOffset')

Static representation of the recipeCreationDateTime property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_IS_ARCHIVED

RECIPE_IS_ARCHIVED: BooleanField<Recipe> = new BooleanField('RecipeIsArchived', Recipe, 'Edm.Boolean')

Static representation of the recipeIsArchived property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_IS_DELETED

RECIPE_IS_DELETED: BooleanField<Recipe> = new BooleanField('RecipeIsDeleted', Recipe, 'Edm.Boolean')

Static representation of the recipeIsDeleted property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_LAST_CHANGED_BY_USER

RECIPE_LAST_CHANGED_BY_USER: StringField<Recipe> = new StringField('RecipeLastChangedByUser', Recipe, 'Edm.String')

Static representation of the recipeLastChangedByUser property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_LAST_CHANGE_DATE_TIME

RECIPE_LAST_CHANGE_DATE_TIME: DateField<Recipe> = new DateField('RecipeLastChangeDateTime', Recipe, 'Edm.DateTimeOffset')

Static representation of the recipeLastChangeDateTime property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_PRIMARY_OUTPUT

RECIPE_PRIMARY_OUTPUT: StringField<Recipe> = new StringField('RecipePrimaryOutput', Recipe, 'Edm.String')

Static representation of the recipePrimaryOutput property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_PRIMARY_OUTPUT_INTERNAL_ID

RECIPE_PRIMARY_OUTPUT_INTERNAL_ID: StringField<Recipe> = new StringField('RecipePrimaryOutputInternalID', Recipe, 'Edm.String')

Static representation of the recipePrimaryOutputInternalId property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_PRIM_OUTP_AUTHZN_GRP

RECIPE_PRIM_OUTP_AUTHZN_GRP: StringField<Recipe> = new StringField('RecipePrimOutpAuthznGrp', Recipe, 'Edm.String')

Static representation of the recipePrimOutpAuthznGrp property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_PRIM_OUTP_SPEC_TYPE

RECIPE_PRIM_OUTP_SPEC_TYPE: StringField<Recipe> = new StringField('RecipePrimOutpSpecType', Recipe, 'Edm.String')

Static representation of the recipePrimOutpSpecType property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_PROCESS_UUID

RECIPE_PROCESS_UUID: StringField<Recipe> = new StringField('RecipeProcessUUID', Recipe, 'Edm.Guid')

Static representation of the recipeProcessUuid property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_PURPOSE

RECIPE_PURPOSE: StringField<Recipe> = new StringField('RecipePurpose', Recipe, 'Edm.String')

Static representation of the recipePurpose property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_STATUS

RECIPE_STATUS: StringField<Recipe> = new StringField('RecipeStatus', Recipe, 'Edm.String')

Static representation of the recipeStatus property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_STATUS_SCHEMA

RECIPE_STATUS_SCHEMA: StringField<Recipe> = new StringField('RecipeStatusSchema', Recipe, 'Edm.String')

Static representation of the recipeStatusSchema property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_TYPE

RECIPE_TYPE: StringField<Recipe> = new StringField('RecipeType', Recipe, 'Edm.String')

Static representation of the recipeType property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_UNIQUE_ID

RECIPE_UNIQUE_ID: StringField<Recipe> = new StringField('RecipeUniqueID', Recipe, 'Edm.String')

Static representation of the recipeUniqueId property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_UUID

RECIPE_UUID: StringField<Recipe> = new StringField('RecipeUUID', Recipe, 'Edm.Guid')

Static representation of the recipeUuid property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_UUID_TEXT

RECIPE_UUID_TEXT: StringField<Recipe> = new StringField('RecipeUUID_Text', Recipe, 'Edm.String')

Static representation of the recipeUuidText property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_VALIDITY_END_DATE

RECIPE_VALIDITY_END_DATE: DateField<Recipe> = new DateField('RecipeValidityEndDate', Recipe, 'Edm.DateTime')

Static representation of the recipeValidityEndDate property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_VALIDITY_MAX_QUANTITY

RECIPE_VALIDITY_MAX_QUANTITY: BigNumberField<Recipe> = new BigNumberField('RecipeValidityMaxQuantity', Recipe, 'Edm.Decimal')

Static representation of the recipeValidityMaxQuantity property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_VALIDITY_MIN_QUANTITY

RECIPE_VALIDITY_MIN_QUANTITY: BigNumberField<Recipe> = new BigNumberField('RecipeValidityMinQuantity', Recipe, 'Edm.Decimal')

Static representation of the recipeValidityMinQuantity property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_VALIDITY_START_DATE

RECIPE_VALIDITY_START_DATE: DateField<Recipe> = new DateField('RecipeValidityStartDate', Recipe, 'Edm.DateTime')

Static representation of the recipeValidityStartDate property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_VALIDITY_UNIT

RECIPE_VALIDITY_UNIT: StringField<Recipe> = new StringField('RecipeValidityUnit', Recipe, 'Edm.String')

Static representation of the recipeValidityUnit property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static RECIPE_VERSION_NUMBER

RECIPE_VERSION_NUMBER: StringField<Recipe> = new StringField('RecipeVersionNumber', Recipe, 'Edm.String')

Static representation of the recipeVersionNumber property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TO_CHARACTERISTICS

TO_CHARACTERISTICS: Link<Recipe, RecipeCharc> = new Link('to_Characteristics', Recipe, RecipeCharc)

Static representation of the one-to-many navigation property toCharacteristics for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TO_CLASSIFICATION

TO_CLASSIFICATION: Link<Recipe, RecipeClass> = new Link('to_Classification', Recipe, RecipeClass)

Static representation of the one-to-many navigation property toClassification for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TO_FORMULA_ITEM

TO_FORMULA_ITEM: Link<Recipe, RecipeFormulaItem> = new Link('to_FormulaItem', Recipe, RecipeFormulaItem)

Static representation of the one-to-many navigation property toFormulaItem for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TO_RECIPE_PROCESS_ELEMENT

TO_RECIPE_PROCESS_ELEMENT: Link<Recipe, RecipeProcessElement> = new Link('to_RecipeProcessElement', Recipe, RecipeProcessElement)

Static representation of the one-to-many navigation property toRecipeProcessElement for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TO_RECIPE_PROCESS_EQUIP_RQMT

TO_RECIPE_PROCESS_EQUIP_RQMT: Link<Recipe, RecipeProcessEquipRqmt> = new Link('to_RecipeProcessEquipRqmt', Recipe, RecipeProcessEquipRqmt)

Static representation of the one-to-many navigation property toRecipeProcessEquipRqmt for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TO_RECIPE_PROCESS_PARAM_VALUE

TO_RECIPE_PROCESS_PARAM_VALUE: Link<Recipe, RecipeProcessParamValue> = new Link('to_RecipeProcessParamValue', Recipe, RecipeProcessParamValue)

Static representation of the one-to-many navigation property toRecipeProcessParamValue for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TO_RECIPE_TEXT

TO_RECIPE_TEXT: Link<Recipe, RecipeText> = new Link('to_RecipeText', Recipe, RecipeText)

Static representation of the one-to-many navigation property toRecipeText for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: Array<StringField<Recipe> | DateField<Recipe> | BigNumberField<Recipe> | BooleanField<Recipe> | Link<Recipe, RecipeCharc> | Link<Recipe, RecipeClass> | Link<Recipe, RecipeFormulaItem> | Link<Recipe, RecipeProcessElement> | Link<Recipe, RecipeProcessEquipRqmt> | Link<Recipe, RecipeProcessParamValue> | Link<Recipe, RecipeText>> = [Recipe.RECIPE_UUID,Recipe.RECIPE_UUID_TEXT,Recipe.RECIPE_UNIQUE_ID,Recipe.RECIPE,Recipe.RECIPE_PRIMARY_OUTPUT_INTERNAL_ID,Recipe.RECIPE_PRIMARY_OUTPUT,Recipe.RECIPE_ALTERNATIVE_NUMBER,Recipe.RECIPE_VERSION_NUMBER,Recipe.RECIPE_TYPE,Recipe.RECIPE_PURPOSE,Recipe.RECIPE_STATUS,Recipe.RECIPE_STATUS_SCHEMA,Recipe.RECIPE_AUTHORIZATION_GROUP,Recipe.RCP_FMLA_UUID,Recipe.RECIPE_PROCESS_UUID,Recipe.RECIPE_VALIDITY_START_DATE,Recipe.RECIPE_VALIDITY_END_DATE,Recipe.RECIPE_VALIDITY_MIN_QUANTITY,Recipe.RECIPE_VALIDITY_MAX_QUANTITY,Recipe.RECIPE_VALIDITY_UNIT,Recipe.PLANT,Recipe.RECIPE_CREATED_BY_USER,Recipe.RECIPE_LAST_CHANGED_BY_USER,Recipe.RECIPE_CREATION_DATE_TIME,Recipe.RECIPE_LAST_CHANGE_DATE_TIME,Recipe.RECIPE_IS_DELETED,Recipe.RECIPE_IS_ARCHIVED,Recipe.RECIPE_PRIM_OUTP_AUTHZN_GRP,Recipe.RECIPE_PRIM_OUTP_SPEC_TYPE,Recipe.TO_CHARACTERISTICS,Recipe.TO_CLASSIFICATION,Recipe.TO_FORMULA_ITEM,Recipe.TO_RECIPE_PROCESS_ELEMENT,Recipe.TO_RECIPE_PROCESS_EQUIP_RQMT,Recipe.TO_RECIPE_PROCESS_PARAM_VALUE,Recipe.TO_RECIPE_TEXT]

All fields of the Recipe entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/sap/API_RECIPE"

Default url path for the according service.

Static _entityName

_entityName: string = "A_Recipe"

Technical entity name for Recipe.

Static _keyFields

_keyFields: Array<Selectable<Recipe>> = [Recipe.RECIPE_UUID]

All key fields of the Recipe entity.

Static _keys

_keys: object = Recipe._keyFields.reduce((acc: { [keys: string]: Selectable<Recipe> }, field: Selectable<Recipe>) => {acc[field.fieldName] = field;return acc;}, {})

Mapping of all key field names to the respective static field property Recipe.

Type declaration

Static _serviceName

_serviceName: string = "API_RECIPE"
deprecated

Since v1.0.1 Use _defaultServicePath instead. Technical service name for Recipe.

Methods

Protected getCurrentMapKeys

  • getCurrentMapKeys(): Entity
  • Returns a map of all defined fields in entity to their current values.

    Returns Entity

    Entity with all defined entity fields

getCustomField

  • getCustomField(fieldName: string): any
  • Custom field value getter.

    Parameters

    • fieldName: string

      The name of the custom field

    Returns any

    The value of the corresponding custom field

getCustomFields

  • getCustomFields(): MapType<any>
  • Returns a map that contains all entity custom fields.

    Returns MapType<any>

    A map of all defined custom fields in the entity

getUpdatedCustomFields

  • getUpdatedCustomFields(): MapType<any>
  • Returns all updated custom field properties compared to the last known remote state.

    Returns MapType<any>

    A map containing all updated custom properties, with their new values

getUpdatedProperties

  • getUpdatedProperties(): Entity
  • Returns all changed properties compared to the last known remote state. The returned properties does not include custom fields. Use getUpdatedCustomFields, if updated custom fields are needed.

    Returns Entity

    Entity with all properties that changed

hasCustomField

  • hasCustomField(fieldName: string): boolean
  • Validates whether a custom field exists in the entity.

    Parameters

    • fieldName: string

      The name of the custom field to update

    Returns boolean

    A boolean value, that indicates whether a custom field is defined in entity

initializeCustomFields

  • initializeCustomFields(customFields: MapType<any>): this
  • Sets all retrieved custom fields in entity.

    Parameters

    • customFields: MapType<any>

      Extracted custom fields from a retrieved entity

    Returns this

    A boolean value, that indicates the existence of the field in entity

Protected isConflictingCustomField

  • isConflictingCustomField(customFieldName: string): boolean
  • Validates whether a field name does not conflict with an original field name and thus can be defined as custom fields.

    Parameters

    • customFieldName: string

      Field name to check

    Returns boolean

    Boolean value that describes whether a field name can be defined as custom field

setCustomField

  • setCustomField(fieldName: string, value: any): this
  • Sets a new custom field in the entity or updates it. Throws an error, if the provided custom field name is already defined by an original field in entity.

    Parameters

    • fieldName: string

      The name of the custom field to update

    • value: any

      The value of the field

    Returns this

    The entity itself, to facilitate method chaining

setOrInitializeRemoteState

  • setOrInitializeRemoteState(state?: MapType<any>): this
  • Initializes or sets the remoteState of the entity. This function is called on all read, create and update requests. This function should be called after initializeCustomFields, if custom fields are defined.

    Parameters

    • Optional state: MapType<any>

      State to be set as remote state

    Returns this

    The entity itself, to facilitate method chaining

setVersionIdentifier

  • setVersionIdentifier(etag: string): this
  • Set the ETag version identifier of the retrieved entity.

    Parameters

    • etag: string

      The returned ETag version of the entity

    Returns this

    The entity itself, to facilitate method chaining

toJSON

  • toJSON(): object
  • Overwrites the default toJSON method so that all instance variables as well as all custom fields of the entity are returned.

    Returns object

    An object containing all instance variables + custom fields.

    • [key: string]: any

Static builder

  • Returns an entity builder to construct instances Recipe.

    Returns EntityBuilderType<Recipe, RecipeType>

    A builder that constructs instances of entity type Recipe.

Static customField

  • customField(fieldName: string): CustomField<Recipe>
  • Returns a selectable object that allows the selection of custom field in a get request for the entity Recipe.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<Recipe>

    A builder that constructs instances of entity type Recipe.

Static Protected customFieldSelector

  • customFieldSelector<EntityT>(fieldName: string, entityConstructor: Constructable<EntityT>): CustomField<EntityT>
  • Type parameters

    • EntityT: Entity

    Parameters

    • fieldName: string
    • entityConstructor: Constructable<EntityT>

    Returns CustomField<EntityT>

Static Protected entityBuilder

  • entityBuilder<EntityT, JsonT>(entityConstructor: Constructable<EntityT, JsonT>): EntityBuilderType<EntityT, JsonT>
  • Type parameters

    • EntityT: Entity

    • JsonT

    Parameters

    • entityConstructor: Constructable<EntityT, JsonT>

    Returns EntityBuilderType<EntityT, JsonT>

Static requestBuilder

  • Returns a request builder to construct requests for operations on the Recipe entity type.

    Returns RecipeRequestBuilder

    A Recipe request builder.