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

public class FreightUnitBusinessPartner extends VdmEntity<FreightUnitBusinessPartner> implements VdmEntitySet
Freight Unit Business Partner

Original entity name from the Odata EDM: FreightUnitBusinessPartner_Type

  • Field Details

  • Constructor Details

    • FreightUnitBusinessPartner

      public FreightUnitBusinessPartner()
    • FreightUnitBusinessPartner

      public FreightUnitBusinessPartner(@Nullable UUID transportationOrderBusPartUUID, @Nullable UUID transportationOrderUUID, @Nullable UUID businessPartnerUUID, @Nullable String businessPartner, @Nullable String transpOrdBizPartnerFunction, @Nullable String transpOrdBizPartnerAddressID, @Nullable FreightUnit to_FreightUnit)
  • Method Details

    • getType

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

      public void setTransportationOrderBusPartUUID(@Nullable UUID transportationOrderBusPartUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderBusPartUUID

      Parameters:
      transportationOrderBusPartUUID - NodeID
    • setTransportationOrderUUID

      public void setTransportationOrderUUID(@Nullable UUID transportationOrderUUID)
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderUUID

      Parameters:
      transportationOrderUUID - Transportation Order UUID
    • setBusinessPartnerUUID

      public void setBusinessPartnerUUID(@Nullable UUID businessPartnerUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: BusinessPartnerUUID

      Parameters:
      businessPartnerUUID - Business Partner GUID
    • setBusinessPartner

      public void setBusinessPartner(@Nullable String businessPartner)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: BusinessPartner

      Parameters:
      businessPartner - Ship-to Party
    • setTranspOrdBizPartnerFunction

      public void setTranspOrdBizPartnerFunction(@Nullable String transpOrdBizPartnerFunction)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TranspOrdBizPartnerFunction

      Parameters:
      transpOrdBizPartnerFunction - Partner Function
    • setTranspOrdBizPartnerAddressID

      public void setTranspOrdBizPartnerAddressID(@Nullable String transpOrdBizPartnerAddressID)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: TranspOrdBizPartnerAddressID

      Parameters:
      transpOrdBizPartnerAddressID - Unique Identifier for Address (APC_V_ADDRESS_ID)
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity FreightUnitBusinessPartner 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 _FreightUnit is already loaded, the result will contain the FreightUnit entity. If not, an Option with result state empty is returned.
    • setFreightUnit

      public void setFreightUnit(FreightUnit value)
      Overwrites the associated FreightUnit entity for the loaded navigation property _FreightUnit.
      Parameters:
      value - New FreightUnit entity.
    • builder

    • getTransportationOrderBusPartUUID

      @Nullable public UUID getTransportationOrderBusPartUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderBusPartUUID

      Returns:
      NodeID
    • getTransportationOrderUUID

      @Nullable public UUID getTransportationOrderUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderUUID

      Returns:
      Transportation Order UUID
    • getBusinessPartnerUUID

      @Nullable public UUID getBusinessPartnerUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: BusinessPartnerUUID

      Returns:
      Business Partner GUID
    • getBusinessPartner

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

      Original property name from the Odata EDM: BusinessPartner

      Returns:
      Ship-to Party
    • getTranspOrdBizPartnerFunction

      @Nullable public String getTranspOrdBizPartnerFunction()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TranspOrdBizPartnerFunction

      Returns:
      Partner Function
    • getTranspOrdBizPartnerAddressID

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

      Original property name from the Odata EDM: TranspOrdBizPartnerAddressID

      Returns:
      Unique Identifier for Address (APC_V_ADDRESS_ID)
    • toString

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

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

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

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

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