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

public class InHouseRepairItem extends VdmEntity<InHouseRepairItem> implements VdmEntitySet
In-House Repair Item

Original entity name from the Odata EDM: InHouseRepairItem_Type

  • Field Details

  • Constructor Details

    • InHouseRepairItem

      public InHouseRepairItem()
    • InHouseRepairItem

      public InHouseRepairItem(@Nullable String inHouseRepair, @Nullable String inHouseRepairItem, @Nullable String inhRepairType, @Nullable String inhRepairReferenceEquipment, @Nullable String product, @Nullable String serialNumber, @Nullable String inhRepairItemStatus, @Nullable String serviceOrder, @Nullable String serviceQuotation, @Nullable InHouseRepair to_InHouseRepair)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: InHouseRepair

      Parameters:
      inHouseRepair - In-House Repair ID
    • setInHouseRepairItem

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

      Original property name from the Odata EDM: InHouseRepairItem

      Parameters:
      inHouseRepairItem - Repair Object
    • setInhRepairType

      public void setInhRepairType(@Nullable String inhRepairType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: InhRepairType

      Parameters:
      inhRepairType - Business Transaction Type
    • setInhRepairReferenceEquipment

      public void setInhRepairReferenceEquipment(@Nullable String inhRepairReferenceEquipment)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: InhRepairReferenceEquipment

      Parameters:
      inhRepairReferenceEquipment - Equipment Number
    • setProduct

      public void setProduct(@Nullable String product)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Product

      Parameters:
      product - Product Number
    • setSerialNumber

      public void setSerialNumber(@Nullable String serialNumber)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: SerialNumber

      Parameters:
      serialNumber - Serial Number of Equipment
    • setInhRepairItemStatus

      public void setInhRepairItemStatus(@Nullable String inhRepairItemStatus)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: InhRepairItemStatus

      Parameters:
      inhRepairItemStatus - Repair Object Status
    • setServiceOrder

      public void setServiceOrder(@Nullable String serviceOrder)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceOrder

      Parameters:
      serviceOrder - Repair Order
    • setServiceQuotation

      public void setServiceQuotation(@Nullable String serviceQuotation)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceQuotation

      Parameters:
      serviceQuotation - Repair Quotation
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity InHouseRepairItem 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 _InHouseRepair is already loaded, the result will contain the InHouseRepair entity. If not, an Option with result state empty is returned.
    • setInHouseRepair

      public void setInHouseRepair(InHouseRepair value)
      Overwrites the associated InHouseRepair entity for the loaded navigation property _InHouseRepair.
      Parameters:
      value - New InHouseRepair entity.
    • builder

      @Nonnull public static InHouseRepairItem.InHouseRepairItemBuilder builder()
    • getInHouseRepair

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

      Original property name from the Odata EDM: InHouseRepair

      Returns:
      In-House Repair ID
    • getInHouseRepairItem

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

      Original property name from the Odata EDM: InHouseRepairItem

      Returns:
      Repair Object
    • getInhRepairType

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

      Original property name from the Odata EDM: InhRepairType

      Returns:
      Business Transaction Type
    • getInhRepairReferenceEquipment

      @Nullable public String getInhRepairReferenceEquipment()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: InhRepairReferenceEquipment

      Returns:
      Equipment Number
    • getProduct

      @Nullable public String getProduct()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Product

      Returns:
      Product Number
    • getSerialNumber

      @Nullable public String getSerialNumber()
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: SerialNumber

      Returns:
      Serial Number of Equipment
    • getInhRepairItemStatus

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

      Original property name from the Odata EDM: InhRepairItemStatus

      Returns:
      Repair Object Status
    • getServiceOrder

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

      Original property name from the Odata EDM: ServiceOrder

      Returns:
      Repair Order
    • getServiceQuotation

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

      Original property name from the Odata EDM: ServiceQuotation

      Returns:
      Repair Quotation
    • toString

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

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

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

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

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