Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_RecipeClass" 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

  • any
    • RecipeClass

Implements

Index

Properties

classInternalId

classInternalId: string

Internal Class Number. Maximum length: 10.

classType

classType: string

Class Type. Uniquely identifies the class type. Maximum length: 3.

nullable

keyDate

keyDate: Moment

Key Date.

nullable

recipeUuid

recipeUuid: string

Recipe Uuid.

toCharacteristics

toCharacteristics: RecipeClassCharc[]

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

Static ALL_FIELDS

ALL_FIELDS: any = new AllFields('*', RecipeClass)

All fields selector.

Static CLASS_INTERNAL_ID

CLASS_INTERNAL_ID: StringField<RecipeClass> = new StringField('ClassInternalID', RecipeClass, 'Edm.String')

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

Static CLASS_TYPE

CLASS_TYPE: StringField<RecipeClass> = new StringField('ClassType', RecipeClass, 'Edm.String')

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

Static KEY_DATE

KEY_DATE: DateField<RecipeClass> = new DateField('KeyDate', RecipeClass, 'Edm.DateTime')

Static representation of the keyDate 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<RecipeClass> = new StringField('RecipeUUID', RecipeClass, '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 TO_CHARACTERISTICS

TO_CHARACTERISTICS: Link<RecipeClass, RecipeClassCharc> = new Link('to_Characteristics', RecipeClass, RecipeClassCharc)

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 _allFields

_allFields: any[] = [RecipeClass.RECIPE_UUID,RecipeClass.CLASS_INTERNAL_ID,RecipeClass.KEY_DATE,RecipeClass.CLASS_TYPE,RecipeClass.TO_CHARACTERISTICS]

All fields of the RecipeClass entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_RecipeClass"

Technical entity name for RecipeClass.

Static _keyFields

_keyFields: Array<Selectable<RecipeClass>> = [RecipeClass.RECIPE_UUID, RecipeClass.CLASS_INTERNAL_ID]

All key fields of the RecipeClass entity.

Static _keys

_keys: any = RecipeClass._keyFields.reduce((acc: any, field) => {acc[field.fieldName] = field;return acc;}, {})

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

Static _serviceName

_serviceName: string = "API_RECIPE"

Technical service name for RecipeClass.

Methods

Static builder

  • Returns an entity builder to construct instances RecipeClass.

    Returns EntityBuilderType<RecipeClass, RecipeClassType>

    A builder that constructs instances of entity type RecipeClass.

Static customField

  • Returns a selectable object that allows the selection of custom field in a get request for the entity RecipeClass.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<RecipeClass>

    A builder that constructs instances of entity type RecipeClass.

Static requestBuilder

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

    Returns RecipeClassRequestBuilder

    A RecipeClass request builder.