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

public class CustProjSlsOrdItemWorkPckg extends VdmEntity<CustProjSlsOrdItemWorkPckg>
Sales Order Item Work Package

Original entity name from the Odata EDM: A_CustProjSlsOrdItemWorkPckgType

  • Field Details

  • Constructor Details

    • CustProjSlsOrdItemWorkPckg

      public CustProjSlsOrdItemWorkPckg()
    • CustProjSlsOrdItemWorkPckg

      public CustProjSlsOrdItemWorkPckg(@Nullable String customerProject, @Nullable String salesOrderItem, @Nullable String workPackage, @Nullable String workPackageName, @Nullable String salesOrder, @Nullable LocalDateTime workPackageStartDate, @Nullable LocalDateTime workPackageEndDate)
  • Method Details

    • getType

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

      public void setCustomerProject(@Nullable String customerProject)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CustomerProject

      Parameters:
      customerProject - Commercial Project ID
    • setSalesOrderItem

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

      Original property name from the Odata EDM: SalesOrderItem

      Parameters:
      salesOrderItem - Sales Order Item
    • setWorkPackage

      public void setWorkPackage(@Nullable String workPackage)
      (Key Field) Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: WorkPackage

      Parameters:
      workPackage - Plan Item
    • setWorkPackageName

      public void setWorkPackageName(@Nullable String workPackageName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: WorkPackageName

      Parameters:
      workPackageName - Plan Item Description
    • setSalesOrder

      public void setSalesOrder(@Nullable String salesOrder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SalesOrder

      Parameters:
      salesOrder - Sales Order
    • setWorkPackageStartDate

      public void setWorkPackageStartDate(@Nullable LocalDateTime workPackageStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: WorkPackageStartDate

      Parameters:
      workPackageStartDate - Start Date
    • setWorkPackageEndDate

      public void setWorkPackageEndDate(@Nullable LocalDateTime workPackageEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: WorkPackageEndDate

      Parameters:
      workPackageEndDate - End Date
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> CustProjSlsOrdItemWorkPckgField<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> CustProjSlsOrdItemWorkPckgField<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<CustProjSlsOrdItemWorkPckg>
    • setServicePathForFetch

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

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

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

    • getCustomerProject

      @Nullable public String getCustomerProject()
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CustomerProject

      Returns:
      Commercial Project ID
    • getSalesOrderItem

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

      Original property name from the Odata EDM: SalesOrderItem

      Returns:
      Sales Order Item
    • getWorkPackage

      @Nullable public String getWorkPackage()
      (Key Field) Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: WorkPackage

      Returns:
      Plan Item
    • getWorkPackageName

      @Nullable public String getWorkPackageName()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: WorkPackageName

      Returns:
      Plan Item Description
    • getSalesOrder

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

      Original property name from the Odata EDM: SalesOrder

      Returns:
      Sales Order
    • getWorkPackageStartDate

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

      Original property name from the Odata EDM: WorkPackageStartDate

      Returns:
      Start Date
    • getWorkPackageEndDate

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

      Original property name from the Odata EDM: WorkPackageEndDate

      Returns:
      End Date
    • toString

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

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

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

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