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

public class SrvcContrItmFUPSrvcOrd extends VdmEntity<SrvcContrItmFUPSrvcOrd> implements VdmEntitySet
Follow-Up Service Order of Contract Item

Original entity name from the Odata EDM: SrvcContrItmFUPSrvcOrd_Type

  • Field Details

  • Constructor Details

    • SrvcContrItmFUPSrvcOrd

      public SrvcContrItmFUPSrvcOrd()
    • SrvcContrItmFUPSrvcOrd

      public SrvcContrItmFUPSrvcOrd(@Nullable String serviceContract, @Nullable String serviceContractItem, @Nullable String serviceOrder, @Nullable String serviceOrderItem, @Nullable ServiceContractItem to_Item, @Nullable ServiceContract to_ServiceContract)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: ServiceContract

      Parameters:
      serviceContract - Transaction ID
    • setServiceContractItem

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

      Original property name from the Odata EDM: ServiceContractItem

      Parameters:
      serviceContractItem - Shortened Item Number in Document
    • setServiceOrder

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

      Original property name from the Odata EDM: ServiceOrder

      Parameters:
      serviceOrder - Transaction ID
    • setServiceOrderItem

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

      Original property name from the Odata EDM: ServiceOrderItem

      Parameters:
      serviceOrderItem - Shortened Item Number in Document
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity SrvcContrItmFUPSrvcOrd 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 _Item is already loaded, the result will contain the ServiceContractItem entity. If not, an Option with result state empty is returned.
    • setItem

      public void setItem(ServiceContractItem value)
      Overwrites the associated ServiceContractItem entity for the loaded navigation property _Item.
      Parameters:
      value - New ServiceContractItem entity.
    • getServiceContractIfPresent

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

      If the navigation property for an entity SrvcContrItmFUPSrvcOrd 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 _ServiceContract is already loaded, the result will contain the ServiceContract entity. If not, an Option with result state empty is returned.
    • setServiceContract

      public void setServiceContract(ServiceContract value)
      Overwrites the associated ServiceContract entity for the loaded navigation property _ServiceContract.
      Parameters:
      value - New ServiceContract entity.
    • builder

      @Nonnull public static SrvcContrItmFUPSrvcOrd.SrvcContrItmFUPSrvcOrdBuilder builder()
    • getServiceContract

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

      Original property name from the Odata EDM: ServiceContract

      Returns:
      Transaction ID
    • getServiceContractItem

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

      Original property name from the Odata EDM: ServiceContractItem

      Returns:
      Shortened Item Number in Document
    • getServiceOrder

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

      Original property name from the Odata EDM: ServiceOrder

      Returns:
      Transaction ID
    • getServiceOrderItem

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

      Original property name from the Odata EDM: ServiceOrderItem

      Returns:
      Shortened Item Number in Document
    • toString

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

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

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

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

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