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

public class ShptStgeAssgmtCtn extends VdmEntity<ShptStgeAssgmtCtn> implements VdmEntitySet
Voyages Assigned to Container

Original entity name from the Odata EDM: ShptStgeAssgmtCtn_Type

  • Field Details

  • Constructor Details

    • ShptStgeAssgmtCtn

      public ShptStgeAssgmtCtn()
    • ShptStgeAssgmtCtn

      public ShptStgeAssgmtCtn(@Nullable UUID fldLogsShptVoyageUUID, @Nullable UUID fldLogsVoyStgeAssgmtUUID, @Nullable String fldLogsVoyStgeAssgmtSqncID, @Nullable String fldLogsShipmentItemTypeCode, @Nullable String fldLogsShptVoyageNumber, @Nullable String fldLogsShptVoyageTypeCode, @Nullable String fldLogsShptVoyageVehicleNumber, @Nullable String fldLogsShptVoyageVehicleName, @Nullable OffsetDateTime fldLogsVoyageChangeDateTime, @Nullable String fldLogsSrcePlnt, @Nullable String fldLogsDestPlnt, @Nullable String fldLogsVoyageSrceStage, @Nullable String fldLogsVoyageDestStage, @Nullable ShptContainerUnit to_ShptCtnUnit)
  • Method Details

    • getType

      @Nonnull public Class<ShptStgeAssgmtCtn> getType()
      Specified by:
      getType in class VdmObject<ShptStgeAssgmtCtn>
    • 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
    • setFldLogsVoyStgeAssgmtUUID

      public void setFldLogsVoyStgeAssgmtUUID(@Nullable UUID fldLogsVoyStgeAssgmtUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: FldLogsVoyStgeAssgmtUUID

      Parameters:
      fldLogsVoyStgeAssgmtUUID - Field Logistics: Voyage Stage Assignment UUID
    • setFldLogsVoyStgeAssgmtSqncID

      public void setFldLogsVoyStgeAssgmtSqncID(@Nullable String fldLogsVoyStgeAssgmtSqncID)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: FldLogsVoyStgeAssgmtSqncID

      Parameters:
      fldLogsVoyStgeAssgmtSqncID - Field Logistics: Voyage Stage Assignment Sequence ID
    • setFldLogsShipmentItemTypeCode

      public void setFldLogsShipmentItemTypeCode(@Nullable String fldLogsShipmentItemTypeCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FldLogsShipmentItemTypeCode

      Parameters:
      fldLogsShipmentItemTypeCode - Field Logistics: Shipment Item Type Code
    • setFldLogsShptVoyageNumber

      public void setFldLogsShptVoyageNumber(@Nullable String fldLogsShptVoyageNumber)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: FldLogsShptVoyageNumber

      Parameters:
      fldLogsShptVoyageNumber - Field Logistics: Voyage Number
    • setFldLogsShptVoyageTypeCode

      public void setFldLogsShptVoyageTypeCode(@Nullable String fldLogsShptVoyageTypeCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FldLogsShptVoyageTypeCode

      Parameters:
      fldLogsShptVoyageTypeCode - Field Logistics: Voyage Type Code
    • setFldLogsShptVoyageVehicleNumber

      public void setFldLogsShptVoyageVehicleNumber(@Nullable String fldLogsShptVoyageVehicleNumber)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: FldLogsShptVoyageVehicleNumber

      Parameters:
      fldLogsShptVoyageVehicleNumber - Field Logistics: Voyage Vehicle Number
    • setFldLogsShptVoyageVehicleName

      public void setFldLogsShptVoyageVehicleName(@Nullable String fldLogsShptVoyageVehicleName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: FldLogsShptVoyageVehicleName

      Parameters:
      fldLogsShptVoyageVehicleName - Field Logistics: Voyage Vehicle Name
    • setFldLogsVoyageChangeDateTime

      public void setFldLogsVoyageChangeDateTime(@Nullable OffsetDateTime fldLogsVoyageChangeDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: FldLogsVoyageChangeDateTime

      Parameters:
      fldLogsVoyageChangeDateTime - Changed On
    • 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
    • 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
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity ShptStgeAssgmtCtn 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 _ShptCtnUnit is already loaded, the result will contain the ShptContainerUnit entity. If not, an Option with result state empty is returned.
    • setShptCtnUnit

      public void setShptCtnUnit(ShptContainerUnit value)
      Overwrites the associated ShptContainerUnit entity for the loaded navigation property _ShptCtnUnit.
      Parameters:
      value - New ShptContainerUnit entity.
    • builder

      @Nonnull public static ShptStgeAssgmtCtn.ShptStgeAssgmtCtnBuilder builder()
    • getFldLogsShptVoyageUUID

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

      Original property name from the Odata EDM: FldLogsShptVoyageUUID

      Returns:
      Field Logistics: Voyage UUID
    • getFldLogsVoyStgeAssgmtUUID

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

      Original property name from the Odata EDM: FldLogsVoyStgeAssgmtUUID

      Returns:
      Field Logistics: Voyage Stage Assignment UUID
    • getFldLogsVoyStgeAssgmtSqncID

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

      Original property name from the Odata EDM: FldLogsVoyStgeAssgmtSqncID

      Returns:
      Field Logistics: Voyage Stage Assignment Sequence ID
    • getFldLogsShipmentItemTypeCode

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

      Original property name from the Odata EDM: FldLogsShipmentItemTypeCode

      Returns:
      Field Logistics: Shipment Item Type Code
    • getFldLogsShptVoyageNumber

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

      Original property name from the Odata EDM: FldLogsShptVoyageNumber

      Returns:
      Field Logistics: Voyage Number
    • getFldLogsShptVoyageTypeCode

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

      Original property name from the Odata EDM: FldLogsShptVoyageTypeCode

      Returns:
      Field Logistics: Voyage Type Code
    • getFldLogsShptVoyageVehicleNumber

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

      Original property name from the Odata EDM: FldLogsShptVoyageVehicleNumber

      Returns:
      Field Logistics: Voyage Vehicle Number
    • getFldLogsShptVoyageVehicleName

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

      Original property name from the Odata EDM: FldLogsShptVoyageVehicleName

      Returns:
      Field Logistics: Voyage Vehicle Name
    • getFldLogsVoyageChangeDateTime

      @Nullable public OffsetDateTime getFldLogsVoyageChangeDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: FldLogsVoyageChangeDateTime

      Returns:
      Changed On
    • 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
    • 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
    • toString

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

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

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

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

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