Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_SegmentText" of service "API_SEGMENT_SRV". This service is part of the following communication scenarios: SAP Business Objects Cloud for Planning Integration (SAP_COM_0087). See https://api.sap.com/api/API_SEGMENT_SRV for more information.

Hierarchy

  • any
    • SegmentText

Implements

Index

Properties

language

language: string

Language Key. The language key indicates

  • the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts. Maximum length: 2.

segment

segment: string

Segment for Segmental Reporting. Maximum length: 10.

segmentName

segmentName: string

Segment Name. Maximum length: 50.

nullable

toSegment

toSegment: Segment

One-to-one navigation property to the Segment entity.

Static LANGUAGE

LANGUAGE: StringField<SegmentText> = new StringField('Language', SegmentText, 'Edm.String')

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

Static SEGMENT

SEGMENT: StringField<SegmentText> = new StringField('Segment', SegmentText, 'Edm.String')

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

Static SEGMENT_NAME

SEGMENT_NAME: StringField<SegmentText> = new StringField('SegmentName', SegmentText, 'Edm.String')

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

Static TO_SEGMENT

TO_SEGMENT: OneToOneLink<SegmentText, Segment> = new OneToOneLink('to_Segment', SegmentText, Segment)

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

Static _allFields

_allFields: any[] = [SegmentText.LANGUAGE,SegmentText.SEGMENT,SegmentText.SEGMENT_NAME,SegmentText.TO_SEGMENT]

All fields of the SegmentText entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_SegmentText"

Technical entity name for SegmentText.

Static _keyFields

_keyFields: Array<Selectable<SegmentText>> = [SegmentText.LANGUAGE, SegmentText.SEGMENT]

All key fields of the SegmentText entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_SEGMENT_SRV"

Technical service name for SegmentText.

Methods

Static builder

  • Returns an entity builder to construct instances SegmentText.

    Returns EntityBuilderType<SegmentText, SegmentTextType>

    A builder that constructs instances of entity type SegmentText.

Static requestBuilder

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

    Returns SegmentTextRequestBuilder

    A SegmentText request builder.