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

public class FieldLogisticsShipmentVoyageStage extends VdmEntity<FieldLogisticsShipmentVoyageStage> implements VdmEntitySet
Field Logistics Shipment Stage

Original entity name from the Odata EDM: FieldLogisticsShipmentVoyageStage_Type

  • Field Details

  • Constructor Details

    • FieldLogisticsShipmentVoyageStage

      public FieldLogisticsShipmentVoyageStage()
    • FieldLogisticsShipmentVoyageStage

      public FieldLogisticsShipmentVoyageStage(@Nullable UUID fldLogsShptVoyageUUID, @Nullable String fldLogsVoyageStageID, @Nullable String fldLogsSrcePlnt, @Nullable String fldLogsDestPlnt, @Nullable String fldLogsShptVoyageStatusCode, @Nullable String fldLogsVoyageSrceStage, @Nullable String fldLogsVoyageDestStage, @Nullable LocalDate fldLogsVoyagePlndArrvlDate, @Nullable LocalDate fldLogsVoyagePlndDeptrDate, @Nullable OffsetDateTime fldLogsVoyageStgeChangeDateTme, @Nullable Collection<SAP__Message> _Messages, @Nullable FieldLogisticsShipmentVoyage to_Voyage)
  • Method Details

    • getType

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

      public void setFldLogsShptVoyageUUID(@Nullable UUID fldLogsShptVoyageUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: FldLogsShptVoyageUUID

      Parameters:
      fldLogsShptVoyageUUID - Field Logistics: Voyage UUID
    • setFldLogsVoyageStageID

      public void setFldLogsVoyageStageID(@Nullable String fldLogsVoyageStageID)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsVoyageStageID

      Parameters:
      fldLogsVoyageStageID - Field Logistics: Voyage Stage ID
    • setFldLogsSrcePlnt

      public void setFldLogsSrcePlnt(@Nullable String fldLogsSrcePlnt)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsSrcePlnt

      Parameters:
      fldLogsSrcePlnt - Plant
    • setFldLogsDestPlnt

      public void setFldLogsDestPlnt(@Nullable String fldLogsDestPlnt)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsDestPlnt

      Parameters:
      fldLogsDestPlnt - Plant
    • setFldLogsShptVoyageStatusCode

      public void setFldLogsShptVoyageStatusCode(@Nullable String fldLogsShptVoyageStatusCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FldLogsShptVoyageStatusCode

      Parameters:
      fldLogsShptVoyageStatusCode - Field Logistics: Voyage Status Code
    • setFldLogsVoyageSrceStage

      public void setFldLogsVoyageSrceStage(@Nullable String fldLogsVoyageSrceStage)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: FldLogsVoyageSrceStage

      Parameters:
      fldLogsVoyageSrceStage - Field Logistics: Source Stage
    • setFldLogsVoyageDestStage

      public void setFldLogsVoyageDestStage(@Nullable String fldLogsVoyageDestStage)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: FldLogsVoyageDestStage

      Parameters:
      fldLogsVoyageDestStage - Field Logistics: Destination Stage
    • setFldLogsVoyagePlndArrvlDate

      public void setFldLogsVoyagePlndArrvlDate(@Nullable LocalDate fldLogsVoyagePlndArrvlDate)
      Constraints: Nullable

      Original property name from the Odata EDM: FldLogsVoyagePlndArrvlDate

      Parameters:
      fldLogsVoyagePlndArrvlDate - Field Logistics: Planned Arrival Date
    • setFldLogsVoyagePlndDeptrDate

      public void setFldLogsVoyagePlndDeptrDate(@Nullable LocalDate fldLogsVoyagePlndDeptrDate)
      Constraints: Nullable

      Original property name from the Odata EDM: FldLogsVoyagePlndDeptrDate

      Parameters:
      fldLogsVoyagePlndDeptrDate - Field Logistics: Planned Departure Date
    • setFldLogsVoyageStgeChangeDateTme

      public void setFldLogsVoyageStgeChangeDateTme(@Nullable OffsetDateTime fldLogsVoyageStgeChangeDateTme)
      Constraints: Nullable

      Original property name from the Odata EDM: FldLogsVoyageStgeChangeDateTme

      Parameters:
      fldLogsVoyageStgeChangeDateTme - Changed On
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity FieldLogisticsShipmentVoyageStage 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 _Voyage is already loaded, the result will contain the FieldLogisticsShipmentVoyage entity. If not, an Option with result state empty is returned.
    • setVoyage

      public void setVoyage(FieldLogisticsShipmentVoyage value)
      Overwrites the associated FieldLogisticsShipmentVoyage entity for the loaded navigation property _Voyage.
      Parameters:
      value - New FieldLogisticsShipmentVoyage entity.
    • dispatchFldLogsMaterial

      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • setVoyageToArrived

      Action that can be applied to any entity object of this class.

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

    • getFldLogsShptVoyageUUID

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

      Original property name from the Odata EDM: FldLogsShptVoyageUUID

      Returns:
      Field Logistics: Voyage UUID
    • getFldLogsVoyageStageID

      @Nullable public String getFldLogsVoyageStageID()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsVoyageStageID

      Returns:
      Field Logistics: Voyage Stage ID
    • getFldLogsSrcePlnt

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

      Original property name from the Odata EDM: FldLogsSrcePlnt

      Returns:
      Plant
    • getFldLogsDestPlnt

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

      Original property name from the Odata EDM: FldLogsDestPlnt

      Returns:
      Plant
    • getFldLogsShptVoyageStatusCode

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

      Original property name from the Odata EDM: FldLogsShptVoyageStatusCode

      Returns:
      Field Logistics: Voyage Status Code
    • getFldLogsVoyageSrceStage

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

      Original property name from the Odata EDM: FldLogsVoyageSrceStage

      Returns:
      Field Logistics: Source Stage
    • getFldLogsVoyageDestStage

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

      Original property name from the Odata EDM: FldLogsVoyageDestStage

      Returns:
      Field Logistics: Destination Stage
    • getFldLogsVoyagePlndArrvlDate

      @Nullable public LocalDate getFldLogsVoyagePlndArrvlDate()
      Constraints: Nullable

      Original property name from the Odata EDM: FldLogsVoyagePlndArrvlDate

      Returns:
      Field Logistics: Planned Arrival Date
    • getFldLogsVoyagePlndDeptrDate

      @Nullable public LocalDate getFldLogsVoyagePlndDeptrDate()
      Constraints: Nullable

      Original property name from the Odata EDM: FldLogsVoyagePlndDeptrDate

      Returns:
      Field Logistics: Planned Departure Date
    • getFldLogsVoyageStgeChangeDateTme

      @Nullable public OffsetDateTime getFldLogsVoyageStgeChangeDateTme()
      Constraints: Nullable

      Original property name from the Odata EDM: FldLogsVoyageStgeChangeDateTme

      Returns:
      Changed On
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

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

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