java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<RecipeProcessElementText>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.recipeheaderandformula.RecipeProcessElementText

public class RecipeProcessElementText extends VdmEntity<RecipeProcessElementText>
Recipe Process Element Descriptions

Original entity name from the Odata EDM: A_RecipeProcessElementTextType

  • Field Details

    • ALL_FIELDS

      public static final RecipeProcessElementTextSelectable ALL_FIELDS
      Selector for all available fields of RecipeProcessElementText.
    • DELETE_MC

      public static final RecipeProcessElementTextField<Boolean> DELETE_MC
      Use with available fluent helpers to apply the Delete_mc field to query operations.
    • UPDATE_MC

      public static final RecipeProcessElementTextField<Boolean> UPDATE_MC
      Use with available fluent helpers to apply the Update_mc field to query operations.
    • RECIPE_PROCESS_ELEMENT_UUID

      public static final RecipeProcessElementTextField<UUID> RECIPE_PROCESS_ELEMENT_UUID
      Use with available fluent helpers to apply the RecipeProcessElementUUID field to query operations.
    • LANGUAGE

      public static final RecipeProcessElementTextField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • RECIPE_PROCESS_UUID

      public static final RecipeProcessElementTextField<UUID> RECIPE_PROCESS_UUID
      Use with available fluent helpers to apply the RecipeProcessUUID field to query operations.
    • RECIPE_PROCESS_ELEMENT_DESC

      public static final RecipeProcessElementTextField<String> RECIPE_PROCESS_ELEMENT_DESC
      Use with available fluent helpers to apply the RecipeProcessElementDesc field to query operations.
    • RECIPE_LAST_CHANGE_DATE_TIME

      public static final RecipeProcessElementTextField<ZonedDateTime> RECIPE_LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the RecipeLastChangeDateTime field to query operations.
    • RECIPE_UUID

      public static final RecipeProcessElementTextField<UUID> RECIPE_UUID
      Use with available fluent helpers to apply the RecipeUUID field to query operations.
    • RECIPE

      public static final RecipeProcessElementTextField<String> RECIPE
      Use with available fluent helpers to apply the Recipe field to query operations.
    • RECIPE_PROCESS_STAGE_POS_NMBR

      public static final RecipeProcessElementTextField<String> RECIPE_PROCESS_STAGE_POS_NMBR
      Use with available fluent helpers to apply the RecipeProcessStagePosNmbr field to query operations.
    • RECIPE_PROCESS_OPERATION_POS_NMBR

      public static final RecipeProcessElementTextField<String> RECIPE_PROCESS_OPERATION_POS_NMBR
      Use with available fluent helpers to apply the RecipeProcessOperationPosNmbr field to query operations.
    • RECIPE_PROCESS_ACTION_POS_NMBR

      public static final RecipeProcessElementTextField<String> RECIPE_PROCESS_ACTION_POS_NMBR
      Use with available fluent helpers to apply the RecipeProcessActionPosNmbr field to query operations.
    • TO_RECIPE_PROCESS_ELEMENT

      public static final RecipeProcessElementTextOneToOneLink<RecipeProcessElement> TO_RECIPE_PROCESS_ELEMENT
      Use with available fluent helpers to apply the to_RecipeProcessElement navigation property to query operations.
  • Constructor Details

    • RecipeProcessElementText

      public RecipeProcessElementText()
    • RecipeProcessElementText

      public RecipeProcessElementText(@Nullable Boolean delete_mc, @Nullable Boolean update_mc, @Nullable UUID recipeProcessElementUUID, @Nullable String language, @Nullable UUID recipeProcessUUID, @Nullable String recipeProcessElementDesc, @Nullable ZonedDateTime recipeLastChangeDateTime, @Nullable UUID recipeUUID, @Nullable String recipe, @Nullable String recipeProcessStagePosNmbr, @Nullable String recipeProcessOperationPosNmbr, @Nullable String recipeProcessActionPosNmbr, @Nullable RecipeProcessElement toRecipeProcessElement)
  • Method Details

    • getType

      @Nonnull public Class<RecipeProcessElementText> getType()
      Specified by:
      getType in class VdmObject<RecipeProcessElementText>
    • setDelete_mc

      public void setDelete_mc(@Nullable Boolean delete_mc)
      Constraints: none

      Original property name from the Odata EDM: Delete_mc

      Parameters:
      delete_mc - Dyn. Method Control
    • setUpdate_mc

      public void setUpdate_mc(@Nullable Boolean update_mc)
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Parameters:
      update_mc - Dyn. Method Control
    • setRecipeProcessElementUUID

      public void setRecipeProcessElementUUID(@Nullable UUID recipeProcessElementUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: RecipeProcessElementUUID

      Parameters:
      recipeProcessElementUUID - Process Element GUID
    • setLanguage

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setRecipeProcessUUID

      public void setRecipeProcessUUID(@Nullable UUID recipeProcessUUID)
      Constraints: none

      Original property name from the Odata EDM: RecipeProcessUUID

      Parameters:
      recipeProcessUUID - Process GUID
    • setRecipeProcessElementDesc

      public void setRecipeProcessElementDesc(@Nullable String recipeProcessElementDesc)
      Constraints: Not nullable, Maximum length: 132

      Original property name from the Odata EDM: RecipeProcessElementDesc

      Parameters:
      recipeProcessElementDesc - Recipe Description
    • setRecipeLastChangeDateTime

      public void setRecipeLastChangeDateTime(@Nullable ZonedDateTime recipeLastChangeDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RecipeLastChangeDateTime

      Parameters:
      recipeLastChangeDateTime - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • setRecipeUUID

      public void setRecipeUUID(@Nullable UUID recipeUUID)
      Constraints: none

      Original property name from the Odata EDM: RecipeUUID

      Parameters:
      recipeUUID - Common Recipe GUID
    • setRecipe

      public void setRecipe(@Nullable String recipe)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: Recipe

      Parameters:
      recipe - Recipe ID
    • setRecipeProcessStagePosNmbr

      public void setRecipeProcessStagePosNmbr(@Nullable String recipeProcessStagePosNmbr)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RecipeProcessStagePosNmbr

      Parameters:
      recipeProcessStagePosNmbr - ID of a Process Element
    • setRecipeProcessOperationPosNmbr

      public void setRecipeProcessOperationPosNmbr(@Nullable String recipeProcessOperationPosNmbr)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RecipeProcessOperationPosNmbr

      Parameters:
      recipeProcessOperationPosNmbr - ID of a Process Element
    • setRecipeProcessActionPosNmbr

      public void setRecipeProcessActionPosNmbr(@Nullable String recipeProcessActionPosNmbr)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RecipeProcessActionPosNmbr

      Parameters:
      recipeProcessActionPosNmbr - ID of a Process Element
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<RecipeProcessElementText>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<RecipeProcessElementText>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<RecipeProcessElementText>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<RecipeProcessElementText>
    • field

      @Nonnull public static <T> RecipeProcessElementTextField<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> RecipeProcessElementTextField<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<RecipeProcessElementText>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<RecipeProcessElementText>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<RecipeProcessElementText>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<RecipeProcessElementText>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<RecipeProcessElementText>
    • fetchRecipeProcessElement

      @Nullable public RecipeProcessElement fetchRecipeProcessElement()
      Fetches the RecipeProcessElement entity (one to one) associated with this entity. This corresponds to the OData navigation property to_RecipeProcessElement.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated RecipeProcessElement entity, or null if 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.
    • getRecipeProcessElementOrFetch

      @Nullable public RecipeProcessElement getRecipeProcessElementOrFetch()
      Retrieval of associated RecipeProcessElement entity (one to one). This corresponds to the OData navigation property to_RecipeProcessElement.

      If the navigation property to_RecipeProcessElement of a queried RecipeProcessElementText 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 RecipeProcessElement 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.
    • getRecipeProcessElementIfPresent

      @Nonnull public io.vavr.control.Option<RecipeProcessElement> getRecipeProcessElementIfPresent()
      Retrieval of associated RecipeProcessElement entity (one to one). This corresponds to the OData navigation property to_RecipeProcessElement.

      If the navigation property for an entity RecipeProcessElementText has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_RecipeProcessElement is already loaded, the result will contain the RecipeProcessElement entity. If not, an Option with result state empty is returned.
    • setRecipeProcessElement

      public void setRecipeProcessElement(RecipeProcessElement value)
      Overwrites the associated RecipeProcessElement entity for the loaded navigation property to_RecipeProcessElement.
      Parameters:
      value - New RecipeProcessElement entity.
    • builder

    • getDelete_mc

      @Nullable public Boolean getDelete_mc()
      Constraints: none

      Original property name from the Odata EDM: Delete_mc

      Returns:
      Dyn. Method Control
    • getUpdate_mc

      @Nullable public Boolean getUpdate_mc()
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Returns:
      Dyn. Method Control
    • getRecipeProcessElementUUID

      @Nullable public UUID getRecipeProcessElementUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: RecipeProcessElementUUID

      Returns:
      Process Element GUID
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getRecipeProcessUUID

      @Nullable public UUID getRecipeProcessUUID()
      Constraints: none

      Original property name from the Odata EDM: RecipeProcessUUID

      Returns:
      Process GUID
    • getRecipeProcessElementDesc

      @Nullable public String getRecipeProcessElementDesc()
      Constraints: Not nullable, Maximum length: 132

      Original property name from the Odata EDM: RecipeProcessElementDesc

      Returns:
      Recipe Description
    • getRecipeLastChangeDateTime

      @Nullable public ZonedDateTime getRecipeLastChangeDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RecipeLastChangeDateTime

      Returns:
      UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • getRecipeUUID

      @Nullable public UUID getRecipeUUID()
      Constraints: none

      Original property name from the Odata EDM: RecipeUUID

      Returns:
      Common Recipe GUID
    • getRecipe

      @Nullable public String getRecipe()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: Recipe

      Returns:
      Recipe ID
    • getRecipeProcessStagePosNmbr

      @Nullable public String getRecipeProcessStagePosNmbr()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RecipeProcessStagePosNmbr

      Returns:
      ID of a Process Element
    • getRecipeProcessOperationPosNmbr

      @Nullable public String getRecipeProcessOperationPosNmbr()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RecipeProcessOperationPosNmbr

      Returns:
      ID of a Process Element
    • getRecipeProcessActionPosNmbr

      @Nullable public String getRecipeProcessActionPosNmbr()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: RecipeProcessActionPosNmbr

      Returns:
      ID of a Process Element
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<RecipeProcessElementText>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<RecipeProcessElementText>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<RecipeProcessElementText>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<RecipeProcessElementText>