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

public class WarehouseResource extends VdmEntity<WarehouseResource> implements VdmEntitySet
Warehouse Resource

Original entity name from the Odata EDM: WarehouseResourceType

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: EWMWarehouse

      Parameters:
      eWMWarehouse - Warehouse Number/Warehouse Complex
    • setEWMResource

      public void setEWMResource(@Nullable String eWMResource)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: EWMResource

      Parameters:
      eWMResource - Resource (Means of Transportation or User)
    • setUserName

      public void setUserName(@Nullable String userName)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: UserName

      Parameters:
      userName - User Name in User Master Record
    • setEWMResourceGroup

      public void setEWMResourceGroup(@Nullable String eWMResourceGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: EWMResourceGroup

      Parameters:
      eWMResourceGroup - Resource Group
    • setEWMResourceType

      public void setEWMResourceType(@Nullable String eWMResourceType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: EWMResourceType

      Parameters:
      eWMResourceType - Resource Type
    • setWarehouseOrderQueue

      public void setWarehouseOrderQueue(@Nullable String warehouseOrderQueue)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: WarehouseOrderQueue

      Parameters:
      warehouseOrderQueue - Queue
    • setEWMCurrentQueue

      public void setEWMCurrentQueue(@Nullable String eWMCurrentQueue)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: EWMCurrentQueue

      Parameters:
      eWMCurrentQueue - Actual Queue of Resource
    • setEWMStorTypeOfLastWhseTaskConf

      public void setEWMStorTypeOfLastWhseTaskConf(@Nullable String eWMStorTypeOfLastWhseTaskConf)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: EWMStorTypeOfLastWhseTaskConf

      Parameters:
      eWMStorTypeOfLastWhseTaskConf - Storage Type of Last Removal
    • setEWMResourceLogonDateTime

      public void setEWMResourceLogonDateTime(@Nullable OffsetDateTime eWMResourceLogonDateTime)
      Constraints: Nullable

      Original property name from the Odata EDM: EWMResourceLogonDateTime

      Parameters:
      eWMResourceLogonDateTime - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • setEWMRsceIsLoggedOntoByCurUser

      public void setEWMRsceIsLoggedOntoByCurUser(@Nullable Boolean eWMRsceIsLoggedOntoByCurUser)
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMRsceIsLoggedOntoByCurUser

      Parameters:
      eWMRsceIsLoggedOntoByCurUser - Truth Value: True/False
    • 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<WarehouseResource>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity WarehouseResource 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 _WhseResourceGroupQueueSqnc is already loaded, the result will contain the WhseResourceGroupSequence entities. If not, an Option with result state empty is returned.
    • setWhseResourceGroupQueueSqnc

      public void setWhseResourceGroupQueueSqnc(@Nonnull List<WhseResourceGroupSequence> value)
      Overwrites the list of associated WhseResourceGroupSequence entities for the loaded navigation property _WhseResourceGroupQueueSqnc.

      If the navigation property _WhseResourceGroupQueueSqnc of a queried WarehouseResource 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 WhseResourceGroupSequence entities.
    • addWhseResourceGroupQueueSqnc

      public void addWhseResourceGroupQueueSqnc(WhseResourceGroupSequence... entity)
      Adds elements to the list of associated WhseResourceGroupSequence entities. This corresponds to the OData navigation property _WhseResourceGroupQueueSqnc.

      If the navigation property _WhseResourceGroupQueueSqnc of a queried WarehouseResource 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 WhseResourceGroupSequence entities.
    • logonToWarehouseResource

      @Nonnull public static BoundAction.SingleToSingle<WarehouseResource,WarehouseResource> logonToWarehouseResource()
      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.
    • logoffFromWarehouseResource

      @Nonnull public static BoundAction.SingleToSingle<WarehouseResource,WarehouseResource> logoffFromWarehouseResource()
      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

      @Nonnull public static WarehouseResource.WarehouseResourceBuilder builder()
    • getEWMWarehouse

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

      Original property name from the Odata EDM: EWMWarehouse

      Returns:
      Warehouse Number/Warehouse Complex
    • getEWMResource

      @Nullable public String getEWMResource()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: EWMResource

      Returns:
      Resource (Means of Transportation or User)
    • getUserName

      @Nullable public String getUserName()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: UserName

      Returns:
      User Name in User Master Record
    • getEWMResourceGroup

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

      Original property name from the Odata EDM: EWMResourceGroup

      Returns:
      Resource Group
    • getEWMResourceType

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

      Original property name from the Odata EDM: EWMResourceType

      Returns:
      Resource Type
    • getWarehouseOrderQueue

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

      Original property name from the Odata EDM: WarehouseOrderQueue

      Returns:
      Queue
    • getEWMCurrentQueue

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

      Original property name from the Odata EDM: EWMCurrentQueue

      Returns:
      Actual Queue of Resource
    • getEWMStorTypeOfLastWhseTaskConf

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

      Original property name from the Odata EDM: EWMStorTypeOfLastWhseTaskConf

      Returns:
      Storage Type of Last Removal
    • getEWMResourceLogonDateTime

      @Nullable public OffsetDateTime getEWMResourceLogonDateTime()
      Constraints: Nullable

      Original property name from the Odata EDM: EWMResourceLogonDateTime

      Returns:
      UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • getEWMRsceIsLoggedOntoByCurUser

      @Nullable public Boolean getEWMRsceIsLoggedOntoByCurUser()
      Constraints: Not nullable

      Original property name from the Odata EDM: EWMRsceIsLoggedOntoByCurUser

      Returns:
      Truth Value: True/False
    • 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<WarehouseResource>
    • equals

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

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

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

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