Class WarehouseResource
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: WarehouseResourceType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of WarehouseResource instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<WarehouseResource,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<WarehouseResource>Selector for all available fields of WarehouseResource.static final SimpleProperty.String<WarehouseResource>static final SimpleProperty.String<WarehouseResource>static final SimpleProperty.String<WarehouseResource>static final SimpleProperty.DateTime<WarehouseResource>static final SimpleProperty.String<WarehouseResource>static final SimpleProperty.Boolean<WarehouseResource>static final SimpleProperty.String<WarehouseResource>static final SimpleProperty.String<WarehouseResource>Use with available request builders to apply the _WhseResourceGroupQueueSqnc navigation property to query operations.static final SimpleProperty.String<WarehouseResource>static final SimpleProperty.String<WarehouseResource>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionWarehouseResource(String eWMWarehouse, String eWMResource, String userName, String eWMResourceGroup, String eWMResourceType, String warehouseOrderQueue, String eWMCurrentQueue, String eWMStorTypeOfLastWhseTaskConf, OffsetDateTime eWMResourceLogonDateTime, Boolean eWMRsceIsLoggedOntoByCurUser, Collection<SAP__Message> _Messages, List<WhseResourceGroupSequence> to_WhseResourceGroupQueueSqnc) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated WhseResourceGroupSequence entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected StringConstraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 4Constraints: NullableConstraints: Not nullable, Maximum length: 4Constraints: Not nullableConstraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 4protected ODataEntityKeygetKey()getType()Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<List<WhseResourceGroupSequence>>Retrieval of associated WhseResourceGroupSequence entities (one to many).inthashCode()Action that can be applied to any entity object of this class.Action that can be applied to any entity object of this class.voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetEWMCurrentQueue(String eWMCurrentQueue) Constraints: Not nullable, Maximum length: 10voidsetEWMResource(String eWMResource) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetEWMResourceGroup(String eWMResourceGroup) Constraints: Not nullable, Maximum length: 4voidsetEWMResourceLogonDateTime(OffsetDateTime eWMResourceLogonDateTime) Constraints: NullablevoidsetEWMResourceType(String eWMResourceType) Constraints: Not nullable, Maximum length: 4voidsetEWMRsceIsLoggedOntoByCurUser(Boolean eWMRsceIsLoggedOntoByCurUser) Constraints: Not nullablevoidsetEWMStorTypeOfLastWhseTaskConf(String eWMStorTypeOfLastWhseTaskConf) Constraints: Not nullable, Maximum length: 4voidsetEWMWarehouse(String eWMWarehouse) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetUserName(String userName) Constraints: Not nullable, Maximum length: 12voidsetWarehouseOrderQueue(String warehouseOrderQueue) Constraints: Not nullable, Maximum length: 10voidOverwrites the list of associated WhseResourceGroupSequence entities for the loaded navigation property _WhseResourceGroupQueueSqnc.toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of WarehouseResource. -
EWM_WAREHOUSE
-
EWM_RESOURCE
-
USER_NAME
-
EWM_RESOURCE_GROUP
-
EWM_RESOURCE_TYPE
-
WAREHOUSE_ORDER_QUEUE
-
EWM_CURRENT_QUEUE
-
EWM_STOR_TYPE_OF_LAST_WHSE_TASK_CONF
-
EWM_RESOURCE_LOGON_DATE_TIME
-
EWM_RSCE_IS_LOGGED_ONTO_BY_CUR_USER
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__WHSE_RESOURCE_GROUP_QUEUE_SQNC
public static final NavigationProperty.Collection<WarehouseResource,WhseResourceGroupSequence> TO__WHSE_RESOURCE_GROUP_QUEUE_SQNCUse with available request builders to apply the _WhseResourceGroupQueueSqnc navigation property to query operations.
-
-
Constructor Details
-
WarehouseResource
public WarehouseResource() -
WarehouseResource
public WarehouseResource(@Nullable String eWMWarehouse, @Nullable String eWMResource, @Nullable String userName, @Nullable String eWMResourceGroup, @Nullable String eWMResourceType, @Nullable String warehouseOrderQueue, @Nullable String eWMCurrentQueue, @Nullable String eWMStorTypeOfLastWhseTaskConf, @Nullable OffsetDateTime eWMResourceLogonDateTime, @Nullable Boolean eWMRsceIsLoggedOntoByCurUser, @Nullable Collection<SAP__Message> _Messages, List<WhseResourceGroupSequence> to_WhseResourceGroupQueueSqnc)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WarehouseResource>
-
setEWMWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMWarehouse
- Parameters:
eWMWarehouse- Warehouse Number/Warehouse Complex
-
setEWMResource
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: EWMResource
- Parameters:
eWMResource- Resource (Means of Transportation or User)
-
setUserName
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: UserName
- Parameters:
userName- User Name in User Master Record
-
setEWMResourceGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMResourceGroup
- Parameters:
eWMResourceGroup- Resource Group
-
setEWMResourceType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMResourceType
- Parameters:
eWMResourceType- Resource Type
-
setWarehouseOrderQueue
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: WarehouseOrderQueue
- Parameters:
warehouseOrderQueue- Queue
-
setEWMCurrentQueue
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: EWMCurrentQueue
- Parameters:
eWMCurrentQueue- Actual Queue of Resource
-
setEWMStorTypeOfLastWhseTaskConf
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMStorTypeOfLastWhseTaskConf
- Parameters:
eWMStorTypeOfLastWhseTaskConf- Storage Type of Last Removal
-
setEWMResourceLogonDateTime
Constraints: NullableOriginal property name from the Odata EDM: EWMResourceLogonDateTime
- Parameters:
eWMResourceLogonDateTime- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
setEWMRsceIsLoggedOntoByCurUser
Constraints: Not nullableOriginal property name from the Odata EDM: EWMRsceIsLoggedOntoByCurUser
- Parameters:
eWMRsceIsLoggedOntoByCurUser- Truth Value: True/False
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WarehouseResource>
-
getKey
- Overrides:
getKeyin classVdmObject<WarehouseResource>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WarehouseResource>
-
fromMap
- Overrides:
fromMapin classVdmObject<WarehouseResource>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<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
Optionresult state will beempty.- Returns:
- If the information for navigation property _WhseResourceGroupQueueSqnc is already loaded, the
result will contain the WhseResourceGroupSequence entities. If not, an
Optionwith result stateemptyis returned.
-
setWhseResourceGroupQueueSqnc
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
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
-
getEWMWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMWarehouse
- Returns:
- Warehouse Number/Warehouse Complex
-
getEWMResource
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: EWMResource
- Returns:
- Resource (Means of Transportation or User)
-
getUserName
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: UserName
- Returns:
- User Name in User Master Record
-
getEWMResourceGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMResourceGroup
- Returns:
- Resource Group
-
getEWMResourceType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMResourceType
- Returns:
- Resource Type
-
getWarehouseOrderQueue
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: WarehouseOrderQueue
- Returns:
- Queue
-
getEWMCurrentQueue
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: EWMCurrentQueue
- Returns:
- Actual Queue of Resource
-
getEWMStorTypeOfLastWhseTaskConf
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMStorTypeOfLastWhseTaskConf
- Returns:
- Storage Type of Last Removal
-
getEWMResourceLogonDateTime
Constraints: NullableOriginal property name from the Odata EDM: EWMResourceLogonDateTime
- Returns:
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
getEWMRsceIsLoggedOntoByCurUser
Constraints: Not nullableOriginal property name from the Odata EDM: EWMRsceIsLoggedOntoByCurUser
- Returns:
- Truth Value: True/False
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<WarehouseResource>
-
equals
- Overrides:
equalsin classVdmEntity<WarehouseResource>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WarehouseResource>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WarehouseResource>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<WarehouseResource>
-