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

public class SchedgAgrmtSubcontrgComp extends VdmEntity<SchedgAgrmtSubcontrgComp>
Subcontracting Components

Original entity name from the Odata EDM: A_SchedgAgrmtSubcontrgCompType

  • Field Details

  • Constructor Details

    • SchedgAgrmtSubcontrgComp

      public SchedgAgrmtSubcontrgComp()
    • SchedgAgrmtSubcontrgComp

      public SchedgAgrmtSubcontrgComp(@Nullable String schedulingAgreement, @Nullable String schedulingAgreementItem, @Nullable String scheduleLine, @Nullable String reservationItem, @Nullable String recordType, @Nullable String reservation, @Nullable String material, @Nullable LocalDateTime requirementDate, @Nullable LocalTime requirementTime, @Nullable String plant, @Nullable BigDecimal quantityInEntryUnit, @Nullable String entryUnit)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: SchedulingAgreement

      Parameters:
      schedulingAgreement - Purchasing Document
    • setSchedulingAgreementItem

      public void setSchedulingAgreementItem(@Nullable String schedulingAgreementItem)
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SchedulingAgreementItem

      Parameters:
      schedulingAgreementItem - Purchasing Document Item
    • setScheduleLine

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

      Original property name from the Odata EDM: ScheduleLine

      Parameters:
      scheduleLine - Delivery Schedule Line Counter
    • setReservationItem

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

      Original property name from the Odata EDM: ReservationItem

      Parameters:
      reservationItem - Reservation Item
    • setRecordType

      public void setRecordType(@Nullable String recordType)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RecordType

      Parameters:
      recordType - Reservation Record Type
    • setReservation

      public void setReservation(@Nullable String reservation)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Reservation

      Parameters:
      reservation - Number of reservation/dependent requirements
    • setMaterial

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

      Original property name from the Odata EDM: Material

      Parameters:
      material - Material Number
    • setRequirementDate

      public void setRequirementDate(@Nullable LocalDateTime requirementDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RequirementDate

      Parameters:
      requirementDate - Material Component Requirement Date
    • setRequirementTime

      public void setRequirementTime(@Nullable LocalTime requirementTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RequirementTime

      Parameters:
      requirementTime - Material Component Requirement Time
    • setPlant

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

      Original property name from the Odata EDM: Plant

      Parameters:
      plant - Plant
    • setQuantityInEntryUnit

      public void setQuantityInEntryUnit(@Nullable BigDecimal quantityInEntryUnit)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: QuantityInEntryUnit

      Parameters:
      quantityInEntryUnit - Quantity in Unit of Entry
    • setEntryUnit

      public void setEntryUnit(@Nullable String entryUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EntryUnit

      Parameters:
      entryUnit - Unit of entry
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SchedgAgrmtSubcontrgCompField<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> SchedgAgrmtSubcontrgCompField<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<SchedgAgrmtSubcontrgComp>
    • setServicePathForFetch

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

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

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

    • getSchedulingAgreement

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

      Original property name from the Odata EDM: SchedulingAgreement

      Returns:
      Purchasing Document
    • getSchedulingAgreementItem

      @Nullable public String getSchedulingAgreementItem()
      (Key Field) Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: SchedulingAgreementItem

      Returns:
      Purchasing Document Item
    • getScheduleLine

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

      Original property name from the Odata EDM: ScheduleLine

      Returns:
      Delivery Schedule Line Counter
    • getReservationItem

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

      Original property name from the Odata EDM: ReservationItem

      Returns:
      Reservation Item
    • getRecordType

      @Nullable public String getRecordType()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: RecordType

      Returns:
      Reservation Record Type
    • getReservation

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

      Original property name from the Odata EDM: Reservation

      Returns:
      Number of reservation/dependent requirements
    • getMaterial

      @Nullable public String getMaterial()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Returns:
      Material Number
    • getRequirementDate

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

      Original property name from the Odata EDM: RequirementDate

      Returns:
      Material Component Requirement Date
    • getRequirementTime

      @Nullable public LocalTime getRequirementTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: RequirementTime

      Returns:
      Material Component Requirement Time
    • getPlant

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

      Original property name from the Odata EDM: Plant

      Returns:
      Plant
    • getQuantityInEntryUnit

      @Nullable public BigDecimal getQuantityInEntryUnit()
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: QuantityInEntryUnit

      Returns:
      Quantity in Unit of Entry
    • getEntryUnit

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

      Original property name from the Odata EDM: EntryUnit

      Returns:
      Unit of entry
    • toString

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

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

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

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