@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPhaseRelationshipTypeService") public class DefaultPhaseRelationshipTypeService extends Object implements PhaseRelationshipTypeService
Relationships link the start or end of a preceding phase with the start or end of a succeeding phase. The relationship type specifies how the phase dates are linked with each other. .
Reference: SAP API Business Hub
OData Service: | API_MSTRRCPPHSE_RELSHPTYPE |
API Version: | 1 |
Communication Scenario: | Production Planning Master Data Integration (SAP_COM_0519) |
Scope Items: | Third-Party Shop Floor Execution - Process Industry (3W3), Third-Party Shop Floor Execution - Discrete Industry (3W4) |
Authentication Methods: | Basic, x509, OAuth2 |
Business Object: | MasterRecipe |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPhaseRelationshipTypeService()
Creates a service using
PhaseRelationshipTypeService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultPhaseRelationshipTypeServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
PhaseRelationshipTypeFluentHelper |
getAllPhaseRelationshipType()
Fetch multiple
PhaseRelationshipType entities. |
PhaseRelationshipTypeTextFluentHelper |
getAllPhaseRelationshipTypeText()
Fetch multiple
PhaseRelationshipTypeText entities. |
PhaseRelationshipTypeByKeyFluentHelper |
getPhaseRelationshipTypeByKey(String phaseRelationshipTypeKey)
Fetch a single
PhaseRelationshipType entity using key fields. |
PhaseRelationshipTypeTextByKeyFluentHelper |
getPhaseRelationshipTypeTextByKey(String language,
String phaseRelationshipTypeKey)
Fetch a single
PhaseRelationshipTypeText entity using key fields. |
DefaultPhaseRelationshipTypeService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultPhaseRelationshipTypeService()
PhaseRelationshipTypeService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultPhaseRelationshipTypeService withServicePath(@Nonnull String servicePath)
PhaseRelationshipTypeService
withServicePath
in interface PhaseRelationshipTypeService
servicePath
- Service path that will override the default.@Nonnull public DefaultPhaseRelationshipTypeServiceBatch batch()
batch
in interface BatchService<PhaseRelationshipTypeServiceBatch>
@Nonnull public PhaseRelationshipTypeFluentHelper getAllPhaseRelationshipType()
PhaseRelationshipTypeService
PhaseRelationshipType
entities.getAllPhaseRelationshipType
in interface PhaseRelationshipTypeService
PhaseRelationshipType
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhaseRelationshipTypeByKeyFluentHelper getPhaseRelationshipTypeByKey(String phaseRelationshipTypeKey)
PhaseRelationshipTypeService
PhaseRelationshipType
entity using key fields.getPhaseRelationshipTypeByKey
in interface PhaseRelationshipTypeService
PhaseRelationshipType
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhaseRelationshipTypeTextFluentHelper getAllPhaseRelationshipTypeText()
PhaseRelationshipTypeService
PhaseRelationshipTypeText
entities.getAllPhaseRelationshipTypeText
in interface PhaseRelationshipTypeService
PhaseRelationshipTypeText
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PhaseRelationshipTypeTextByKeyFluentHelper getPhaseRelationshipTypeTextByKey(String language, String phaseRelationshipTypeKey)
PhaseRelationshipTypeService
PhaseRelationshipTypeText
entity using key fields.getPhaseRelationshipTypeTextByKey
in interface PhaseRelationshipTypeService
language
- The Language key field contains an alphanumeric code that identifies the language an entry is written
in.
Constraints: Not nullable, Maximum length: 2
PhaseRelationshipTypeText
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.