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

public class RptvMfgConfGRBatchCharc extends VdmEntity<RptvMfgConfGRBatchCharc> implements VdmEntitySet
Batch Characteristics for Confirmation

Original entity name from the Odata EDM: RptvMfgConfGRBatchCharcType

  • Field Details

  • Constructor Details

    • RptvMfgConfGRBatchCharc

      public RptvMfgConfGRBatchCharc()
    • RptvMfgConfGRBatchCharc

      public RptvMfgConfGRBatchCharc(@Nullable String repetitiveMfgConfirmation, @Nullable String plant, @Nullable String material, @Nullable String batch, @Nullable String characteristic, @Nullable String charcValue, @Nullable String charcInternalID, @Nullable String clfnCharcValuePositionNumber, @Nullable RepetitiveMfgConfirmation to_RepetitiveMfgConfirmation)
  • Method Details

    • getType

      @Nonnull public Class<RptvMfgConfGRBatchCharc> getType()
      Specified by:
      getType in class VdmObject<RptvMfgConfGRBatchCharc>
    • 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
    • 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 of a Batch
    • setMaterial

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

      Original property name from the Odata EDM: Material

      Parameters:
      material - Material Number
    • setBatch

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

      Original property name from the Odata EDM: Batch

      Parameters:
      batch - Batch Number
    • setCharacteristic

      public void setCharacteristic(@Nullable String characteristic)
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: Characteristic

      Parameters:
      characteristic - Characteristic Name
    • setCharcValue

      public void setCharcValue(@Nullable String charcValue)
      (Key Field) Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: CharcValue

      Parameters:
      charcValue - Characteristic Value
    • setCharcInternalID

      public void setCharcInternalID(@Nullable String charcInternalID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CharcInternalID

      Parameters:
      charcInternalID - Characteristic Internal ID
    • setClfnCharcValuePositionNumber

      public void setClfnCharcValuePositionNumber(@Nullable String clfnCharcValuePositionNumber)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ClfnCharcValuePositionNumber

      Parameters:
      clfnCharcValuePositionNumber - Characteristic value counter
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<RptvMfgConfGRBatchCharc>
    • 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 RptvMfgConfGRBatchCharc 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
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant of a Batch
    • getMaterial

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

      Original property name from the Odata EDM: Material

      Returns:
      Material Number
    • getBatch

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

      Original property name from the Odata EDM: Batch

      Returns:
      Batch Number
    • getCharacteristic

      @Nullable public String getCharacteristic()
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: Characteristic

      Returns:
      Characteristic Name
    • getCharcValue

      @Nullable public String getCharcValue()
      (Key Field) Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: CharcValue

      Returns:
      Characteristic Value
    • getCharcInternalID

      @Nullable public String getCharcInternalID()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CharcInternalID

      Returns:
      Characteristic Internal ID
    • getClfnCharcValuePositionNumber

      @Nullable public String getClfnCharcValuePositionNumber()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ClfnCharcValuePositionNumber

      Returns:
      Characteristic value counter
    • toString

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

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

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

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

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