java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<RptvMfgConfMatlDocHndlgUnit>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.repetitivemanufacturingconfirmation.RptvMfgConfMatlDocHndlgUnit
All Implemented Interfaces:
VdmEntitySet

public class RptvMfgConfMatlDocHndlgUnit extends VdmEntity<RptvMfgConfMatlDocHndlgUnit> implements VdmEntitySet
Handling Units for Confirmation

Original entity name from the Odata EDM: RptvMfgConfMatlDocHndlgUnit_Type

  • Field Details

  • Constructor Details

    • RptvMfgConfMatlDocHndlgUnit

      public RptvMfgConfMatlDocHndlgUnit()
    • RptvMfgConfMatlDocHndlgUnit

      public RptvMfgConfMatlDocHndlgUnit(@Nullable String repetitiveMfgConfirmation, @Nullable String materialDocument, @Nullable String materialDocumentYear, @Nullable String materialDocumentItem, @Nullable String handlingUnitExternalID, @Nullable String handlingUnitItem, @Nullable RepetitiveMfgConfirmation to_RepetitiveMfgConfirmation)
  • Method Details

    • getType

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

      public void setRepetitiveMfgConfirmation(@Nullable String repetitiveMfgConfirmation)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RepetitiveMfgConfirmation

      Parameters:
      repetitiveMfgConfirmation - Repetitive Manufacturing Confirmation ID
    • setMaterialDocument

      public void setMaterialDocument(@Nullable String materialDocument)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: MaterialDocument

      Parameters:
      materialDocument - Number of Material Document
    • setMaterialDocumentYear

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

      Original property name from the Odata EDM: MaterialDocumentYear

      Parameters:
      materialDocumentYear - Material Document Year
    • setMaterialDocumentItem

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

      Original property name from the Odata EDM: MaterialDocumentItem

      Parameters:
      materialDocumentItem - Material Document Item
    • setHandlingUnitExternalID

      public void setHandlingUnitExternalID(@Nullable String handlingUnitExternalID)
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: HandlingUnitExternalID

      Parameters:
      handlingUnitExternalID - External Handling Unit Identification
    • setHandlingUnitItem

      public void setHandlingUnitItem(@Nullable String handlingUnitItem)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: HandlingUnitItem

      Parameters:
      handlingUnitItem - Handling Unit Item
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<RptvMfgConfMatlDocHndlgUnit>
    • toMapOfFields

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

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

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

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

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

      If the navigation property for an entity RptvMfgConfMatlDocHndlgUnit 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 _RepetitiveMfgConfirmation is already loaded, the result will contain the RepetitiveMfgConfirmation entity. If not, an Option with result state empty is returned.
    • setRepetitiveMfgConfirmation

      public void setRepetitiveMfgConfirmation(RepetitiveMfgConfirmation value)
      Overwrites the associated RepetitiveMfgConfirmation entity for the loaded navigation property _RepetitiveMfgConfirmation.
      Parameters:
      value - New RepetitiveMfgConfirmation entity.
    • builder

    • getRepetitiveMfgConfirmation

      @Nullable public String getRepetitiveMfgConfirmation()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: RepetitiveMfgConfirmation

      Returns:
      Repetitive Manufacturing Confirmation ID
    • getMaterialDocument

      @Nullable public String getMaterialDocument()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: MaterialDocument

      Returns:
      Number of Material Document
    • getMaterialDocumentYear

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

      Original property name from the Odata EDM: MaterialDocumentYear

      Returns:
      Material Document Year
    • getMaterialDocumentItem

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

      Original property name from the Odata EDM: MaterialDocumentItem

      Returns:
      Material Document Item
    • getHandlingUnitExternalID

      @Nullable public String getHandlingUnitExternalID()
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: HandlingUnitExternalID

      Returns:
      External Handling Unit Identification
    • getHandlingUnitItem

      @Nullable public String getHandlingUnitItem()
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: HandlingUnitItem

      Returns:
      Handling Unit Item
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<RptvMfgConfMatlDocHndlgUnit>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<RptvMfgConfMatlDocHndlgUnit>