Class CustomerReturnProcessStep
Original entity name from the Odata EDM: A_CustomerReturnProcessStepType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CustomerReturnProcessStep instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CustomerReturnProcessStepSelectableSelector for all available fields of CustomerReturnProcessStep.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the RetsMgmtProcItmQtySplit field to query operations.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the RetsMgmtProcStepExecStatus field to query operations.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the RetsMgmtProcess field to query operations.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the RetsMgmtProcessItem field to query operations.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the RetsMgmtProcessStep field to query operations.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the ReturnsDocument field to query operations.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the ReturnsDocumentApprovalStatus field to query operations.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the ReturnsDocumentItem field to query operations.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the ReturnsDocumentStatus field to query operations.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the ReturnsDocumentType field to query operations.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the ReturnsReferenceDocument field to query operations.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the ReturnsReferenceDocumentItem field to query operations.static final CustomerReturnProcessStepField<String>Use with available fluent helpers to apply the ReturnsReferenceDocumentType field to query operations.static final CustomerReturnProcessStepOneToOneLink<CustomerReturn>Use with available fluent helpers to apply the to_CustomerReturn navigation property to query operations.static final CustomerReturnProcessStepOneToOneLink<CustomerReturnItem>Use with available fluent helpers to apply the to_CustomerReturnItem navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCustomerReturnProcessStep(String retsMgmtProcess, String retsMgmtProcessItem, String retsMgmtProcItmQtySplit, String retsMgmtProcessStep, String returnsDocumentType, String returnsDocument, String returnsDocumentItem, String returnsDocumentStatus, String returnsDocumentApprovalStatus, String returnsReferenceDocumentType, String returnsReferenceDocument, String returnsReferenceDocumentItem, String retsMgmtProcStepExecStatus, CustomerReturn toCustomerReturn, CustomerReturnItem toCustomerReturnItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the CustomerReturn entity (one to one) associated with this entity.Fetches the CustomerReturnItem entity (one to one) associated with this entity.static <T,DomainT>
CustomerReturnProcessStepField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CustomerReturnProcessStepField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidio.vavr.control.Option<CustomerReturn>Retrieval of associated CustomerReturn entity (one to one).io.vavr.control.Option<CustomerReturnItem>Retrieval of associated CustomerReturnItem entity (one to one).Retrieval of associated CustomerReturnItem entity (one to one).Retrieval of associated CustomerReturn entity (one to one).protected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetCustomerReturn(CustomerReturn value) Overwrites the associated CustomerReturn entity for the loaded navigation property to_CustomerReturn.voidOverwrites the associated CustomerReturnItem entity for the loaded navigation property to_CustomerReturnItem.voidsetRetsMgmtProcess(String retsMgmtProcess) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetRetsMgmtProcessItem(String retsMgmtProcessItem) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetRetsMgmtProcessStep(String retsMgmtProcessStep) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetRetsMgmtProcItmQtySplit(String retsMgmtProcItmQtySplit) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetRetsMgmtProcStepExecStatus(String retsMgmtProcStepExecStatus) Constraints: Not nullable, Maximum length: 1voidsetReturnsDocument(String returnsDocument) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetReturnsDocumentApprovalStatus(String returnsDocumentApprovalStatus) Constraints: Not nullable, Maximum length: 1voidsetReturnsDocumentItem(String returnsDocumentItem) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetReturnsDocumentStatus(String returnsDocumentStatus) Constraints: Not nullable, Maximum length: 1voidsetReturnsDocumentType(String returnsDocumentType) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetReturnsReferenceDocument(String returnsReferenceDocument) Constraints: Not nullable, Maximum length: 30voidsetReturnsReferenceDocumentItem(String returnsReferenceDocumentItem) Constraints: Not nullable, Maximum length: 10voidsetReturnsReferenceDocumentType(String returnsReferenceDocumentType) Constraints: Not nullable, Maximum length: 2protected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of CustomerReturnProcessStep. -
RETS_MGMT_PROCESS
Use with available fluent helpers to apply the RetsMgmtProcess field to query operations. -
RETS_MGMT_PROCESS_ITEM
Use with available fluent helpers to apply the RetsMgmtProcessItem field to query operations. -
RETS_MGMT_PROC_ITM_QTY_SPLIT
Use with available fluent helpers to apply the RetsMgmtProcItmQtySplit field to query operations. -
RETS_MGMT_PROCESS_STEP
Use with available fluent helpers to apply the RetsMgmtProcessStep field to query operations. -
RETURNS_DOCUMENT_TYPE
Use with available fluent helpers to apply the ReturnsDocumentType field to query operations. -
RETURNS_DOCUMENT
Use with available fluent helpers to apply the ReturnsDocument field to query operations. -
RETURNS_DOCUMENT_ITEM
Use with available fluent helpers to apply the ReturnsDocumentItem field to query operations. -
RETURNS_DOCUMENT_STATUS
Use with available fluent helpers to apply the ReturnsDocumentStatus field to query operations. -
RETURNS_DOCUMENT_APPROVAL_STATUS
Use with available fluent helpers to apply the ReturnsDocumentApprovalStatus field to query operations. -
RETURNS_REFERENCE_DOCUMENT_TYPE
Use with available fluent helpers to apply the ReturnsReferenceDocumentType field to query operations. -
RETURNS_REFERENCE_DOCUMENT
Use with available fluent helpers to apply the ReturnsReferenceDocument field to query operations. -
RETURNS_REFERENCE_DOCUMENT_ITEM
Use with available fluent helpers to apply the ReturnsReferenceDocumentItem field to query operations. -
RETS_MGMT_PROC_STEP_EXEC_STATUS
Use with available fluent helpers to apply the RetsMgmtProcStepExecStatus field to query operations. -
TO_CUSTOMER_RETURN
Use with available fluent helpers to apply the to_CustomerReturn navigation property to query operations. -
TO_CUSTOMER_RETURN_ITEM
public static final CustomerReturnProcessStepOneToOneLink<CustomerReturnItem> TO_CUSTOMER_RETURN_ITEMUse with available fluent helpers to apply the to_CustomerReturnItem navigation property to query operations.
-
-
Constructor Details
-
CustomerReturnProcessStep
public CustomerReturnProcessStep() -
CustomerReturnProcessStep
public CustomerReturnProcessStep(@Nullable String retsMgmtProcess, @Nullable String retsMgmtProcessItem, @Nullable String retsMgmtProcItmQtySplit, @Nullable String retsMgmtProcessStep, @Nullable String returnsDocumentType, @Nullable String returnsDocument, @Nullable String returnsDocumentItem, @Nullable String returnsDocumentStatus, @Nullable String returnsDocumentApprovalStatus, @Nullable String returnsReferenceDocumentType, @Nullable String returnsReferenceDocument, @Nullable String returnsReferenceDocumentItem, @Nullable String retsMgmtProcStepExecStatus, @Nullable CustomerReturn toCustomerReturn, @Nullable CustomerReturnItem toCustomerReturnItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CustomerReturnProcessStep>
-
setRetsMgmtProcess
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: RetsMgmtProcess
- Parameters:
retsMgmtProcess- Process Identification Number
-
setRetsMgmtProcessItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: RetsMgmtProcessItem
- Parameters:
retsMgmtProcessItem- Item Number
-
setRetsMgmtProcItmQtySplit
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: RetsMgmtProcItmQtySplit
- Parameters:
retsMgmtProcItmQtySplit- Split Identification Number
-
setRetsMgmtProcessStep
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: RetsMgmtProcessStep
- Parameters:
retsMgmtProcessStep- Step ID
-
setReturnsDocumentType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ReturnsDocumentType
- Parameters:
returnsDocumentType- Document Type
-
setReturnsDocument
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ReturnsDocument
- Parameters:
returnsDocument- Document Number
-
setReturnsDocumentItem
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReturnsDocumentItem
- Parameters:
returnsDocumentItem- Document Item
-
setReturnsDocumentStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ReturnsDocumentStatus
- Parameters:
returnsDocumentStatus- Status of Document Item
-
setReturnsDocumentApprovalStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ReturnsDocumentApprovalStatus
- Parameters:
returnsDocumentApprovalStatus- Approval Status of Returns Process
-
setReturnsReferenceDocumentType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ReturnsReferenceDocumentType
- Parameters:
returnsReferenceDocumentType- Document Type
-
setReturnsReferenceDocument
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ReturnsReferenceDocument
- Parameters:
returnsReferenceDocument- Document Number
-
setReturnsReferenceDocumentItem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReturnsReferenceDocumentItem
- Parameters:
returnsReferenceDocumentItem- Document Item
-
setRetsMgmtProcStepExecStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: RetsMgmtProcStepExecStatus
- Parameters:
retsMgmtProcStepExecStatus- Execution Step Status
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CustomerReturnProcessStep>
-
getKey
- Overrides:
getKeyin classVdmObject<CustomerReturnProcessStep>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CustomerReturnProcessStep>
-
fromMap
- Overrides:
fromMapin classVdmObject<CustomerReturnProcessStep>
-
field
@Nonnull public static <T> CustomerReturnProcessStepField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> CustomerReturnProcessStepField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<CustomerReturnProcessStep>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CustomerReturnProcessStep>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CustomerReturnProcessStep>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CustomerReturnProcessStep>
-
fetchCustomerReturn
Fetches the CustomerReturn entity (one to one) associated with this entity. This corresponds to the OData navigation property to_CustomerReturn.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated CustomerReturn entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getCustomerReturnOrFetch
Retrieval of associated CustomerReturn entity (one to one). This corresponds to the OData navigation property to_CustomerReturn.If the navigation property to_CustomerReturn of a queried CustomerReturnProcessStep is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated CustomerReturn entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getCustomerReturnIfPresent
Retrieval of associated CustomerReturn entity (one to one). This corresponds to the OData navigation property to_CustomerReturn.If the navigation property for an entity CustomerReturnProcessStep has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_CustomerReturn is already loaded, the result will
contain the CustomerReturn entity. If not, an
Optionwith result stateemptyis returned.
-
setCustomerReturn
Overwrites the associated CustomerReturn entity for the loaded navigation property to_CustomerReturn.- Parameters:
value- New CustomerReturn entity.
-
fetchCustomerReturnItem
Fetches the CustomerReturnItem entity (one to one) associated with this entity. This corresponds to the OData navigation property to_CustomerReturnItem.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated CustomerReturnItem entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getCustomerReturnItemOrFetch
Retrieval of associated CustomerReturnItem entity (one to one). This corresponds to the OData navigation property to_CustomerReturnItem.If the navigation property to_CustomerReturnItem of a queried CustomerReturnProcessStep is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated CustomerReturnItem entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getCustomerReturnItemIfPresent
Retrieval of associated CustomerReturnItem entity (one to one). This corresponds to the OData navigation property to_CustomerReturnItem.If the navigation property for an entity CustomerReturnProcessStep has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_CustomerReturnItem is already loaded, the result
will contain the CustomerReturnItem entity. If not, an
Optionwith result stateemptyis returned.
-
setCustomerReturnItem
Overwrites the associated CustomerReturnItem entity for the loaded navigation property to_CustomerReturnItem.- Parameters:
value- New CustomerReturnItem entity.
-
builder
-
getRetsMgmtProcess
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: RetsMgmtProcess
- Returns:
- Process Identification Number
-
getRetsMgmtProcessItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: RetsMgmtProcessItem
- Returns:
- Item Number
-
getRetsMgmtProcItmQtySplit
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: RetsMgmtProcItmQtySplit
- Returns:
- Split Identification Number
-
getRetsMgmtProcessStep
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: RetsMgmtProcessStep
- Returns:
- Step ID
-
getReturnsDocumentType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ReturnsDocumentType
- Returns:
- Document Type
-
getReturnsDocument
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ReturnsDocument
- Returns:
- Document Number
-
getReturnsDocumentItem
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReturnsDocumentItem
- Returns:
- Document Item
-
getReturnsDocumentStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ReturnsDocumentStatus
- Returns:
- Status of Document Item
-
getReturnsDocumentApprovalStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ReturnsDocumentApprovalStatus
- Returns:
- Approval Status of Returns Process
-
getReturnsReferenceDocumentType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ReturnsReferenceDocumentType
- Returns:
- Document Type
-
getReturnsReferenceDocument
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ReturnsReferenceDocument
- Returns:
- Document Number
-
getReturnsReferenceDocumentItem
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReturnsReferenceDocumentItem
- Returns:
- Document Item
-
getRetsMgmtProcStepExecStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: RetsMgmtProcStepExecStatus
- Returns:
- Execution Step Status
-
toString
- Overrides:
toStringin classVdmObject<CustomerReturnProcessStep>
-
equals
- Overrides:
equalsin classVdmEntity<CustomerReturnProcessStep>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CustomerReturnProcessStep>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CustomerReturnProcessStep>
-