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

public class MasterRecipeOpCompAlloc extends VdmEntity<MasterRecipeOpCompAlloc>
Operation Component Allocation

Original entity name from the Odata EDM: MasterRecipeOpCompAllocType

  • Field Details

    • ALL_FIELDS

      public static final MasterRecipeOpCompAllocSelectable ALL_FIELDS
      Selector for all available fields of MasterRecipeOpCompAlloc.
    • MASTER_RECIPE_GROUP

      public static final MasterRecipeOpCompAllocField<String> MASTER_RECIPE_GROUP
      Use with available fluent helpers to apply the MasterRecipeGroup field to query operations.
    • MASTER_RECIPE

      public static final MasterRecipeOpCompAllocField<String> MASTER_RECIPE
      Use with available fluent helpers to apply the MasterRecipe field to query operations.
    • MASTER_RECIPE_OPERATION_INT_ID

      public static final MasterRecipeOpCompAllocField<String> MASTER_RECIPE_OPERATION_INT_ID
      Use with available fluent helpers to apply the MasterRecipeOperationIntID field to query operations.
    • MSTR_RCP_OP_BOM_ITEM_INTERNAL_ID

      public static final MasterRecipeOpCompAllocField<String> MSTR_RCP_OP_BOM_ITEM_INTERNAL_ID
      Use with available fluent helpers to apply the MstrRcpOpBOMItemInternalID field to query operations.
    • MSTR_RCP_OP_BOM_ITEM_INT_VERSION

      public static final MasterRecipeOpCompAllocField<String> MSTR_RCP_OP_BOM_ITEM_INT_VERSION
      Use with available fluent helpers to apply the MstrRcpOpBOMItemIntVersion field to query operations.
    • BILL_OF_MATERIAL_CATEGORY

      public static final MasterRecipeOpCompAllocField<String> BILL_OF_MATERIAL_CATEGORY
      Use with available fluent helpers to apply the BillOfMaterialCategory field to query operations.
    • BILL_OF_MATERIAL

      public static final MasterRecipeOpCompAllocField<String> BILL_OF_MATERIAL
      Use with available fluent helpers to apply the BillOfMaterial field to query operations.
    • BILL_OF_MATERIAL_VARIANT

      public static final MasterRecipeOpCompAllocField<String> BILL_OF_MATERIAL_VARIANT
      Use with available fluent helpers to apply the BillOfMaterialVariant field to query operations.
    • BILL_OF_MATERIAL_ITEM_NODE_NUMBER

      public static final MasterRecipeOpCompAllocField<String> BILL_OF_MATERIAL_ITEM_NODE_NUMBER
      Use with available fluent helpers to apply the BillOfMaterialItemNodeNumber field to query operations.
    • MATL_COMP_IS_MARKED_FOR_BACKFLUSH

      public static final MasterRecipeOpCompAllocField<Boolean> MATL_COMP_IS_MARKED_FOR_BACKFLUSH
      Use with available fluent helpers to apply the MatlCompIsMarkedForBackflush field to query operations.
    • CREATION_DATE

      public static final MasterRecipeOpCompAllocField<LocalDateTime> CREATION_DATE
      Use with available fluent helpers to apply the CreationDate field to query operations.
    • CREATED_BY_USER

      public static final MasterRecipeOpCompAllocField<String> CREATED_BY_USER
      Use with available fluent helpers to apply the CreatedByUser field to query operations.
    • LAST_CHANGE_DATE

      public static final MasterRecipeOpCompAllocField<LocalDateTime> LAST_CHANGE_DATE
      Use with available fluent helpers to apply the LastChangeDate field to query operations.
    • LAST_CHANGED_BY_USER

      public static final MasterRecipeOpCompAllocField<String> LAST_CHANGED_BY_USER
      Use with available fluent helpers to apply the LastChangedByUser field to query operations.
    • VALIDITY_START_DATE

      public static final MasterRecipeOpCompAllocField<LocalDateTime> VALIDITY_START_DATE
      Use with available fluent helpers to apply the ValidityStartDate field to query operations.
    • VALIDITY_END_DATE

      public static final MasterRecipeOpCompAllocField<LocalDateTime> VALIDITY_END_DATE
      Use with available fluent helpers to apply the ValidityEndDate field to query operations.
    • CHANGE_NUMBER

      public static final MasterRecipeOpCompAllocField<String> CHANGE_NUMBER
      Use with available fluent helpers to apply the ChangeNumber field to query operations.
    • CHANGED_DATE_TIME

      public static final MasterRecipeOpCompAllocField<ZonedDateTime> CHANGED_DATE_TIME
      Use with available fluent helpers to apply the ChangedDateTime field to query operations.
  • Constructor Details

    • MasterRecipeOpCompAlloc

      public MasterRecipeOpCompAlloc()
    • MasterRecipeOpCompAlloc

      public MasterRecipeOpCompAlloc(@Nullable String masterRecipeGroup, @Nullable String masterRecipe, @Nullable String masterRecipeOperationIntID, @Nullable String mstrRcpOpBOMItemInternalID, @Nullable String mstrRcpOpBOMItemIntVersion, @Nullable String billOfMaterialCategory, @Nullable String billOfMaterial, @Nullable String billOfMaterialVariant, @Nullable String billOfMaterialItemNodeNumber, @Nullable Boolean matlCompIsMarkedForBackflush, @Nullable LocalDateTime creationDate, @Nullable String createdByUser, @Nullable LocalDateTime lastChangeDate, @Nullable String lastChangedByUser, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String changeNumber, @Nullable ZonedDateTime changedDateTime)
  • Method Details

    • getType

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

      public void setMasterRecipeGroup(@Nullable String masterRecipeGroup)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MasterRecipeGroup

      Parameters:
      masterRecipeGroup - Key for Task List Group
    • setMasterRecipe

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

      Original property name from the Odata EDM: MasterRecipe

      Parameters:
      masterRecipe - Group Counter
    • setMasterRecipeOperationIntID

      public void setMasterRecipeOperationIntID(@Nullable String masterRecipeOperationIntID)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MasterRecipeOperationIntID

      Parameters:
      masterRecipeOperationIntID - Task list node number for operation
    • setMstrRcpOpBOMItemInternalID

      public void setMstrRcpOpBOMItemInternalID(@Nullable String mstrRcpOpBOMItemInternalID)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MstrRcpOpBOMItemInternalID

      Parameters:
      mstrRcpOpBOMItemInternalID - No. for material comp. allocation to task list
    • setMstrRcpOpBOMItemIntVersion

      public void setMstrRcpOpBOMItemIntVersion(@Nullable String mstrRcpOpBOMItemIntVersion)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MstrRcpOpBOMItemIntVersion

      Parameters:
      mstrRcpOpBOMItemIntVersion - Internal counter
    • setBillOfMaterialCategory

      public void setBillOfMaterialCategory(@Nullable String billOfMaterialCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BillOfMaterialCategory

      Parameters:
      billOfMaterialCategory - BOM category
    • setBillOfMaterial

      public void setBillOfMaterial(@Nullable String billOfMaterial)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BillOfMaterial

      Parameters:
      billOfMaterial - Bill Of Material
    • setBillOfMaterialVariant

      public void setBillOfMaterialVariant(@Nullable String billOfMaterialVariant)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BillOfMaterialVariant

      Parameters:
      billOfMaterialVariant - Alternative BOM
    • setBillOfMaterialItemNodeNumber

      public void setBillOfMaterialItemNodeNumber(@Nullable String billOfMaterialItemNodeNumber)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BillOfMaterialItemNodeNumber

      Parameters:
      billOfMaterialItemNodeNumber - Node Number
    • setMatlCompIsMarkedForBackflush

      public void setMatlCompIsMarkedForBackflush(@Nullable Boolean matlCompIsMarkedForBackflush)
      Constraints: none

      Original property name from the Odata EDM: MatlCompIsMarkedForBackflush

      Parameters:
      matlCompIsMarkedForBackflush - Indicator: Backflush
    • setCreationDate

      public void setCreationDate(@Nullable LocalDateTime creationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Created On
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Created By
    • setLastChangeDate

      public void setLastChangeDate(@Nullable LocalDateTime lastChangeDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Parameters:
      lastChangeDate - Last Changed On
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Last Changed By
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Valid-From Date
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - Valid-To Date
    • setChangeNumber

      public void setChangeNumber(@Nullable String changeNumber)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Parameters:
      changeNumber - Change Number
    • setChangedDateTime

      public void setChangedDateTime(@Nullable ZonedDateTime changedDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ChangedDateTime

      Parameters:
      changedDateTime - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> MasterRecipeOpCompAllocField<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> MasterRecipeOpCompAllocField<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<MasterRecipeOpCompAlloc>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<MasterRecipeOpCompAlloc>
    • builder

    • getMasterRecipeGroup

      @Nullable public String getMasterRecipeGroup()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MasterRecipeGroup

      Returns:
      Key for Task List Group
    • getMasterRecipe

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

      Original property name from the Odata EDM: MasterRecipe

      Returns:
      Group Counter
    • getMasterRecipeOperationIntID

      @Nullable public String getMasterRecipeOperationIntID()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MasterRecipeOperationIntID

      Returns:
      Task list node number for operation
    • getMstrRcpOpBOMItemInternalID

      @Nullable public String getMstrRcpOpBOMItemInternalID()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MstrRcpOpBOMItemInternalID

      Returns:
      No. for material comp. allocation to task list
    • getMstrRcpOpBOMItemIntVersion

      @Nullable public String getMstrRcpOpBOMItemIntVersion()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MstrRcpOpBOMItemIntVersion

      Returns:
      Internal counter
    • getBillOfMaterialCategory

      @Nullable public String getBillOfMaterialCategory()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BillOfMaterialCategory

      Returns:
      BOM category
    • getBillOfMaterial

      @Nullable public String getBillOfMaterial()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BillOfMaterial

      Returns:
      Bill Of Material
    • getBillOfMaterialVariant

      @Nullable public String getBillOfMaterialVariant()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: BillOfMaterialVariant

      Returns:
      Alternative BOM
    • getBillOfMaterialItemNodeNumber

      @Nullable public String getBillOfMaterialItemNodeNumber()
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: BillOfMaterialItemNodeNumber

      Returns:
      Node Number
    • getMatlCompIsMarkedForBackflush

      @Nullable public Boolean getMatlCompIsMarkedForBackflush()
      Constraints: none

      Original property name from the Odata EDM: MatlCompIsMarkedForBackflush

      Returns:
      Indicator: Backflush
    • getCreationDate

      @Nullable public LocalDateTime getCreationDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Returns:
      Created On
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Created By
    • getLastChangeDate

      @Nullable public LocalDateTime getLastChangeDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      Last Changed On
    • getLastChangedByUser

      @Nullable public String getLastChangedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Last Changed By
    • getValidityStartDate

      @Nullable public LocalDateTime getValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Valid-From Date
    • getValidityEndDate

      @Nullable public LocalDateTime getValidityEndDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      Valid-To Date
    • getChangeNumber

      @Nullable public String getChangeNumber()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ChangeNumber

      Returns:
      Change Number
    • getChangedDateTime

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

      Original property name from the Odata EDM: ChangedDateTime

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

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

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

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

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