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

public class MasterRecipeMatlAssgmt extends VdmEntity<MasterRecipeMatlAssgmt>
Material Assignment

Original entity name from the Odata EDM: MasterRecipeMatlAssgmtType

  • Field Details

    • ALL_FIELDS

      public static final MasterRecipeMatlAssgmtSelectable ALL_FIELDS
      Selector for all available fields of MasterRecipeMatlAssgmt.
    • PRODUCT

      public static final MasterRecipeMatlAssgmtField<String> PRODUCT
      Use with available fluent helpers to apply the Product field to query operations.
    • PLANT

      public static final MasterRecipeMatlAssgmtField<String> PLANT
      Use with available fluent helpers to apply the Plant field to query operations.
    • MASTER_RECIPE_GROUP

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

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

      public static final MasterRecipeMatlAssgmtField<String> MASTER_RECIPE_MATERIAL_ASSIGNMENT
      Use with available fluent helpers to apply the MasterRecipeMaterialAssignment field to query operations.
    • MSTR_RCP_MATL_ASSGMT_INT_VERSION

      public static final MasterRecipeMatlAssgmtField<String> MSTR_RCP_MATL_ASSGMT_INT_VERSION
      Use with available fluent helpers to apply the MstrRcpMatlAssgmtIntVersion field to query operations.
    • CREATION_DATE

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

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

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

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

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

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

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

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

    • MasterRecipeMatlAssgmt

      public MasterRecipeMatlAssgmt()
    • MasterRecipeMatlAssgmt

      public MasterRecipeMatlAssgmt(@Nullable String product, @Nullable String plant, @Nullable String masterRecipeGroup, @Nullable String masterRecipe, @Nullable String masterRecipeMaterialAssignment, @Nullable String mstrRcpMatlAssgmtIntVersion, @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<MasterRecipeMatlAssgmt> getType()
      Specified by:
      getType in class VdmObject<MasterRecipeMatlAssgmt>
    • setProduct

      public void setProduct(@Nullable String product)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Product

      Parameters:
      product - Material Number
    • setPlant

      public void setPlant(@Nullable String plant)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • 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
    • setMasterRecipeMaterialAssignment

      public void setMasterRecipeMaterialAssignment(@Nullable String masterRecipeMaterialAssignment)
      (Key Field) Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: MasterRecipeMaterialAssignment

      Parameters:
      masterRecipeMaterialAssignment - Counter for additional criteria
    • setMstrRcpMatlAssgmtIntVersion

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

      Original property name from the Odata EDM: MstrRcpMatlAssgmtIntVersion

      Parameters:
      mstrRcpMatlAssgmtIntVersion - Internal counter
    • 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<MasterRecipeMatlAssgmt>
    • getKey

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

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

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

      @Nonnull public static <T> MasterRecipeMatlAssgmtField<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> MasterRecipeMatlAssgmtField<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<MasterRecipeMatlAssgmt>
    • setServicePathForFetch

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

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

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

      @Nonnull public static MasterRecipeMatlAssgmt.MasterRecipeMatlAssgmtBuilder builder()
    • getProduct

      @Nullable public String getProduct()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Product

      Returns:
      Material Number
    • getPlant

      @Nullable public String getPlant()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • 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
    • getMasterRecipeMaterialAssignment

      @Nullable public String getMasterRecipeMaterialAssignment()
      (Key Field) Constraints: Not nullable, Maximum length: 7

      Original property name from the Odata EDM: MasterRecipeMaterialAssignment

      Returns:
      Counter for additional criteria
    • getMstrRcpMatlAssgmtIntVersion

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

      Original property name from the Odata EDM: MstrRcpMatlAssgmtIntVersion

      Returns:
      Internal counter
    • 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<MasterRecipeMatlAssgmt>
    • equals

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

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

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