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

public class FreightUnitStop extends VdmEntity<FreightUnitStop> implements VdmEntitySet
Freight Unit Stop

Original entity name from the Odata EDM: FreightUnitStop_Type

  • Field Details

  • Constructor Details

    • FreightUnitStop

      public FreightUnitStop()
    • FreightUnitStop

      public FreightUnitStop(@Nullable UUID transportationOrderStopUUID, @Nullable UUID transportationOrderUUID, @Nullable String transportationOrderStop, @Nullable String transpOrdStopCategory, @Nullable String transpOrdStopRole, @Nullable UUID locationAdditionalUUID, @Nullable String locationId, @Nullable String locationUNCode, @Nullable String locationIATACode, @Nullable OffsetDateTime transpOrdStopAccptblStrtDteTme, @Nullable OffsetDateTime transpOrdStopReqStartDteTme, @Nullable OffsetDateTime transpOrdStopReqEndDteTme, @Nullable OffsetDateTime transpOrdStopAccptblEndDteTme, @Nullable OffsetDateTime transpOrdStopDteTme, @Nullable String transpOrdStopSequencePosition, @Nullable UUID transpOrdCapacityStopUUID, @Nullable UUID transpOrdStopCapacityItemUUID, @Nullable Boolean transpOrdStopExecIsBlocked, @Nullable FreightUnit to_FreightUnit, List<FreightUnitStage> to_FreightUnitStage)
  • Method Details

    • getType

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

      public void setTransportationOrderStopUUID(@Nullable UUID transportationOrderStopUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderStopUUID

      Parameters:
      transportationOrderStopUUID - NodeID
    • setTransportationOrderUUID

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

      Original property name from the Odata EDM: TransportationOrderUUID

      Parameters:
      transportationOrderUUID - Transportation Order UUID
    • setTransportationOrderStop

      public void setTransportationOrderStop(@Nullable String transportationOrderStop)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: TransportationOrderStop

      Parameters:
      transportationOrderStop - Stop
    • setTranspOrdStopCategory

      public void setTranspOrdStopCategory(@Nullable String transpOrdStopCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspOrdStopCategory

      Parameters:
      transpOrdStopCategory - Stop Category
    • setTranspOrdStopRole

      public void setTranspOrdStopRole(@Nullable String transpOrdStopRole)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: TranspOrdStopRole

      Parameters:
      transpOrdStopRole - Role of the Stop
    • setLocationAdditionalUUID

      public void setLocationAdditionalUUID(@Nullable UUID locationAdditionalUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: LocationAdditionalUUID

      Parameters:
      locationAdditionalUUID - Location Additonal UUID (RAW 16)
    • setLocationId

      public void setLocationId(@Nullable String locationId)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: LocationId

      Parameters:
      locationId - Location
    • setLocationUNCode

      public void setLocationUNCode(@Nullable String locationUNCode)
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: LocationUNCode

      Parameters:
      locationUNCode - United Nations Code for Trade and Transport Locations
    • setLocationIATACode

      public void setLocationIATACode(@Nullable String locationIATACode)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: LocationIATACode

      Parameters:
      locationIATACode - International Air Transport Association: Location
    • setTranspOrdStopAccptblStrtDteTme

      public void setTranspOrdStopAccptblStrtDteTme(@Nullable OffsetDateTime transpOrdStopAccptblStrtDteTme)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStopAccptblStrtDteTme

      Parameters:
      transpOrdStopAccptblStrtDteTme - Created on Timestamp
    • setTranspOrdStopReqStartDteTme

      public void setTranspOrdStopReqStartDteTme(@Nullable OffsetDateTime transpOrdStopReqStartDteTme)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStopReqStartDteTme

      Parameters:
      transpOrdStopReqStartDteTme - Created on Timestamp
    • setTranspOrdStopReqEndDteTme

      public void setTranspOrdStopReqEndDteTme(@Nullable OffsetDateTime transpOrdStopReqEndDteTme)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStopReqEndDteTme

      Parameters:
      transpOrdStopReqEndDteTme - Created on Timestamp
    • setTranspOrdStopAccptblEndDteTme

      public void setTranspOrdStopAccptblEndDteTme(@Nullable OffsetDateTime transpOrdStopAccptblEndDteTme)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStopAccptblEndDteTme

      Parameters:
      transpOrdStopAccptblEndDteTme - Created on Timestamp
    • setTranspOrdStopDteTme

      public void setTranspOrdStopDteTme(@Nullable OffsetDateTime transpOrdStopDteTme)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStopDteTme

      Parameters:
      transpOrdStopDteTme - Actual Date/Time of Event
    • setTranspOrdStopSequencePosition

      public void setTranspOrdStopSequencePosition(@Nullable String transpOrdStopSequencePosition)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspOrdStopSequencePosition

      Parameters:
      transpOrdStopSequencePosition - Stop Position in Transportation Stop Sequence
    • setTranspOrdCapacityStopUUID

      public void setTranspOrdCapacityStopUUID(@Nullable UUID transpOrdCapacityStopUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdCapacityStopUUID

      Parameters:
      transpOrdCapacityStopUUID - Key of a Stop of a Transportation Order
    • setTranspOrdStopCapacityItemUUID

      public void setTranspOrdStopCapacityItemUUID(@Nullable UUID transpOrdStopCapacityItemUUID)
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStopCapacityItemUUID

      Parameters:
      transpOrdStopCapacityItemUUID - Key of Transportation Order Item
    • setTranspOrdStopExecIsBlocked

      public void setTranspOrdStopExecIsBlocked(@Nullable Boolean transpOrdStopExecIsBlocked)
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspOrdStopExecIsBlocked

      Parameters:
      transpOrdStopExecIsBlocked - Execution Block
    • getEntityCollection

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

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

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

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

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

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<FreightUnitStop>
    • 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 FreightUnitStop 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.
    • getFreightUnitStageIfPresent

      @Nonnull public io.vavr.control.Option<List<FreightUnitStage>> getFreightUnitStageIfPresent()
      Retrieval of associated FreightUnitStage entities (one to many). This corresponds to the OData navigation property _FreightUnitStage.

      If the navigation property for an entity FreightUnitStop 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 _FreightUnitStage is already loaded, the result will contain the FreightUnitStage entities. If not, an Option with result state empty is returned.
    • setFreightUnitStage

      public void setFreightUnitStage(@Nonnull List<FreightUnitStage> value)
      Overwrites the list of associated FreightUnitStage entities for the loaded navigation property _FreightUnitStage.

      If the navigation property _FreightUnitStage of a queried FreightUnitStop is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of FreightUnitStage entities.
    • addFreightUnitStage

      public void addFreightUnitStage(FreightUnitStage... entity)
      Adds elements to the list of associated FreightUnitStage entities. This corresponds to the OData navigation property _FreightUnitStage.

      If the navigation property _FreightUnitStage of a queried FreightUnitStop is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of FreightUnitStage entities.
    • builder

      @Nonnull public static FreightUnitStop.FreightUnitStopBuilder builder()
    • getTransportationOrderStopUUID

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

      Original property name from the Odata EDM: TransportationOrderStopUUID

      Returns:
      NodeID
    • getTransportationOrderUUID

      @Nullable public UUID getTransportationOrderUUID()
      Constraints: Not nullable

      Original property name from the Odata EDM: TransportationOrderUUID

      Returns:
      Transportation Order UUID
    • getTransportationOrderStop

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

      Original property name from the Odata EDM: TransportationOrderStop

      Returns:
      Stop
    • getTranspOrdStopCategory

      @Nullable public String getTranspOrdStopCategory()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspOrdStopCategory

      Returns:
      Stop Category
    • getTranspOrdStopRole

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

      Original property name from the Odata EDM: TranspOrdStopRole

      Returns:
      Role of the Stop
    • getLocationAdditionalUUID

      @Nullable public UUID getLocationAdditionalUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: LocationAdditionalUUID

      Returns:
      Location Additonal UUID (RAW 16)
    • getLocationId

      @Nullable public String getLocationId()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: LocationId

      Returns:
      Location
    • getLocationUNCode

      @Nullable public String getLocationUNCode()
      Constraints: Not nullable, Maximum length: 5

      Original property name from the Odata EDM: LocationUNCode

      Returns:
      United Nations Code for Trade and Transport Locations
    • getLocationIATACode

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

      Original property name from the Odata EDM: LocationIATACode

      Returns:
      International Air Transport Association: Location
    • getTranspOrdStopAccptblStrtDteTme

      @Nullable public OffsetDateTime getTranspOrdStopAccptblStrtDteTme()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStopAccptblStrtDteTme

      Returns:
      Created on Timestamp
    • getTranspOrdStopReqStartDteTme

      @Nullable public OffsetDateTime getTranspOrdStopReqStartDteTme()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStopReqStartDteTme

      Returns:
      Created on Timestamp
    • getTranspOrdStopReqEndDteTme

      @Nullable public OffsetDateTime getTranspOrdStopReqEndDteTme()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStopReqEndDteTme

      Returns:
      Created on Timestamp
    • getTranspOrdStopAccptblEndDteTme

      @Nullable public OffsetDateTime getTranspOrdStopAccptblEndDteTme()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStopAccptblEndDteTme

      Returns:
      Created on Timestamp
    • getTranspOrdStopDteTme

      @Nullable public OffsetDateTime getTranspOrdStopDteTme()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStopDteTme

      Returns:
      Actual Date/Time of Event
    • getTranspOrdStopSequencePosition

      @Nullable public String getTranspOrdStopSequencePosition()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: TranspOrdStopSequencePosition

      Returns:
      Stop Position in Transportation Stop Sequence
    • getTranspOrdCapacityStopUUID

      @Nullable public UUID getTranspOrdCapacityStopUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdCapacityStopUUID

      Returns:
      Key of a Stop of a Transportation Order
    • getTranspOrdStopCapacityItemUUID

      @Nullable public UUID getTranspOrdStopCapacityItemUUID()
      Constraints: Nullable

      Original property name from the Odata EDM: TranspOrdStopCapacityItemUUID

      Returns:
      Key of Transportation Order Item
    • getTranspOrdStopExecIsBlocked

      @Nullable public Boolean getTranspOrdStopExecIsBlocked()
      Constraints: Not nullable

      Original property name from the Odata EDM: TranspOrdStopExecIsBlocked

      Returns:
      Execution Block
    • toString

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

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

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

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

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