Class WarehouseResource
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<WarehouseResource>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.warehouseresource.WarehouseResource
Warehouse Resource
Original entity name from the Odata EDM: WarehouseResourceType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WarehouseResourceSelectableSelector for all available fields of WarehouseResource.static final WarehouseResourceField<BigDecimal>Use with available fluent helpers to apply the ResourceLogonDateTime field to query operations.static final WarehouseResourceField<String>Use with available fluent helpers to apply the UserName field to query operations.static final WarehouseResourceField<String>Use with available fluent helpers to apply the Warehouse field to query operations.static final WarehouseResourceField<String>Use with available fluent helpers to apply the WarehouseResource field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionWarehouseResource(String warehouse, String warehouseResource, String userName, BigDecimal resourceLogonDateTime) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
WarehouseResourceField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> WarehouseResourceField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()Constraints: Not nullable, Precision: 15, Scale: 0getType()Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 18inthashCode()voidsetResourceLogonDateTime(BigDecimal resourceLogonDateTime) Constraints: Not nullable, Precision: 15, Scale: 0protected voidsetServicePathForFetch(String servicePathForFetch) voidsetUserName(String userName) Constraints: Not nullable, Maximum length: 12voidsetWarehouse(String warehouse) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetWarehouseResource(String warehouseResource) (Key Field) Constraints: Not nullable, Maximum length: 18toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of WarehouseResource. -
WAREHOUSE
Use with available fluent helpers to apply the Warehouse field to query operations. -
WAREHOUSE_RESOURCE
Use with available fluent helpers to apply the WarehouseResource field to query operations. -
USER_NAME
Use with available fluent helpers to apply the UserName field to query operations. -
RESOURCE_LOGON_DATE_TIME
Use with available fluent helpers to apply the ResourceLogonDateTime field to query operations.
-
-
Constructor Details
-
WarehouseResource
public WarehouseResource() -
WarehouseResource
public WarehouseResource(@Nullable String warehouse, @Nullable String warehouseResource, @Nullable String userName, @Nullable BigDecimal resourceLogonDateTime)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WarehouseResource>
-
setWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Warehouse
- Parameters:
warehouse- Warehouse Number/Warehouse Complex
-
setWarehouseResource
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: WarehouseResource
- Parameters:
warehouseResource- 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
-
setResourceLogonDateTime
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: ResourceLogonDateTime
- Parameters:
resourceLogonDateTime- The resourceLogonDateTime to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WarehouseResource>
-
getKey
- Overrides:
getKeyin classVdmObject<WarehouseResource>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WarehouseResource>
-
fromMap
- Overrides:
fromMapin classVdmObject<WarehouseResource>
-
field
@Nonnull public static <T> WarehouseResourceField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> WarehouseResourceField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<WarehouseResource>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<WarehouseResource>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<WarehouseResource>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WarehouseResource>
-
builder
-
getWarehouse
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Warehouse
- Returns:
- Warehouse Number/Warehouse Complex
-
getWarehouseResource
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: WarehouseResource
- 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
-
getResourceLogonDateTime
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: ResourceLogonDateTime
- Returns:
- The resourceLogonDateTime contained in this entity.
-
toString
- Overrides:
toStringin classVdmObject<WarehouseResource>
-
equals
- Overrides:
equalsin classVdmEntity<WarehouseResource>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WarehouseResource>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WarehouseResource>
-