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

public class ProductionRoutingMatlAssgmt extends VdmEntity<ProductionRoutingMatlAssgmt>
Material Assignment

Original entity name from the Odata EDM: ProductionRoutingMatlAssgmtType

  • Field Details

  • Constructor Details

    • ProductionRoutingMatlAssgmt

      public ProductionRoutingMatlAssgmt()
    • ProductionRoutingMatlAssgmt

      public ProductionRoutingMatlAssgmt(@Nullable String product, @Nullable String plant, @Nullable String productionRoutingGroup, @Nullable String productionRouting, @Nullable String productionRoutingMatlAssgmt, @Nullable String productionRtgMatlAssgmtIntVers, @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<ProductionRoutingMatlAssgmt> getType()
      Specified by:
      getType in class VdmObject<ProductionRoutingMatlAssgmt>
    • 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
    • setProductionRoutingGroup

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

      Original property name from the Odata EDM: ProductionRoutingGroup

      Parameters:
      productionRoutingGroup - Key for Task List Group
    • setProductionRouting

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

      Original property name from the Odata EDM: ProductionRouting

      Parameters:
      productionRouting - Group Counter
    • setProductionRoutingMatlAssgmt

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

      Original property name from the Odata EDM: ProductionRoutingMatlAssgmt

      Parameters:
      productionRoutingMatlAssgmt - Counter for Additional Criteria
    • setProductionRtgMatlAssgmtIntVers

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

      Original property name from the Odata EDM: ProductionRtgMatlAssgmtIntVers

      Parameters:
      productionRtgMatlAssgmtIntVers - Internal counter
    • setCreationDate

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

      Original property name from the Odata EDM: CreationDate

      Parameters:
      creationDate - Date Record 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 User
    • 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 User
    • 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<ProductionRoutingMatlAssgmt>
    • getKey

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

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

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

      @Nonnull public static <T> ProductionRoutingMatlAssgmtField<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> ProductionRoutingMatlAssgmtField<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<ProductionRoutingMatlAssgmt>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ProductionRoutingMatlAssgmt>
    • 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
    • getProductionRoutingGroup

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

      Original property name from the Odata EDM: ProductionRoutingGroup

      Returns:
      Key for Task List Group
    • getProductionRouting

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

      Original property name from the Odata EDM: ProductionRouting

      Returns:
      Group Counter
    • getProductionRoutingMatlAssgmt

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

      Original property name from the Odata EDM: ProductionRoutingMatlAssgmt

      Returns:
      Counter for Additional Criteria
    • getProductionRtgMatlAssgmtIntVers

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

      Original property name from the Odata EDM: ProductionRtgMatlAssgmtIntVers

      Returns:
      Internal counter
    • getCreationDate

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

      Original property name from the Odata EDM: CreationDate

      Returns:
      Date Record Created On
    • getCreatedByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Created By User
    • 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 User
    • 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<ProductionRoutingMatlAssgmt>
    • equals

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

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

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