Class WhseInboundDeliveryHead
Original entity name from the Odata EDM: WhseInboundDeliveryHeadType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of WhseInboundDeliveryHead instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WhseInboundDeliveryHeadField<String>Use with available fluent helpers to apply the AdvancedShippingNotification field to query operations.static final WhseInboundDeliveryHeadSelectableSelector for all available fields of WhseInboundDeliveryHead.static final WhseInboundDeliveryHeadField<String>Use with available fluent helpers to apply the Carrier field to query operations.static final WhseInboundDeliveryHeadField<String>Use with available fluent helpers to apply the CarrierName field to query operations.static final WhseInboundDeliveryHeadField<String>Use with available fluent helpers to apply the DeliveryCategory field to query operations.static final WhseInboundDeliveryHeadField<String>Use with available fluent helpers to apply the DeliveryType field to query operations.static final WhseInboundDeliveryHeadField<String>Use with available fluent helpers to apply the InboundDelivery field to query operations.static final WhseInboundDeliveryHeadField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final WhseInboundDeliveryHeadField<ZonedDateTime>Use with available fluent helpers to apply the PlannedDeliveryUTCDateTime field to query operations.static final WhseInboundDeliveryHeadField<String>Use with available fluent helpers to apply the ReceivingOffice field to query operations.static final WhseInboundDeliveryHeadField<String>Use with available fluent helpers to apply the ShipFromParty field to query operations.static final WhseInboundDeliveryHeadField<String>Use with available fluent helpers to apply the ShipFromPartyName field to query operations.static final WhseInboundDeliveryHeadLink<WhseInboundDeliveryItem>Use with available fluent helpers to apply the to_WhseInboundDeliveryItem navigation property to query operations.static final WhseInboundDeliveryHeadField<String>Use with available fluent helpers to apply the Warehouse field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionWhseInboundDeliveryHead(String inboundDelivery, String warehouse, String deliveryCategory, String deliveryType, String shipFromParty, String shipFromPartyName, String carrier, String carrierName, String advancedShippingNotification, ZonedDateTime plannedDeliveryUTCDateTime, String receivingOffice, ZonedDateTime lastChangeDateTime, List<WhseInboundDeliveryItem> toWhseInboundDeliveryItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated WhseInboundDeliveryItem entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the WhseInboundDeliveryItem entities (one to many) associated with this entity.static <T,DomainT>
WhseInboundDeliveryHeadField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> WhseInboundDeliveryHeadField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 40protected StringConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4protected String(Key Field) Constraints: Not nullable, Maximum length: 35getKey()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 40getType()Constraints: Not nullable, Maximum length: 4io.vavr.control.Option<List<WhseInboundDeliveryItem>>Retrieval of associated WhseInboundDeliveryItem entities (one to many).Retrieval of associated WhseInboundDeliveryItem entities (one to many).inthashCode()voidsetAdvancedShippingNotification(String advancedShippingNotification) Constraints: Not nullable, Maximum length: 35voidsetCarrier(String carrier) Constraints: Not nullable, Maximum length: 10voidsetCarrierName(String carrierName) Constraints: Not nullable, Maximum length: 40voidsetDeliveryCategory(String deliveryCategory) Constraints: Not nullable, Maximum length: 3voidsetDeliveryType(String deliveryType) Constraints: Not nullable, Maximum length: 4voidsetInboundDelivery(String inboundDelivery) (Key Field) Constraints: Not nullable, Maximum length: 35voidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 0voidsetPlannedDeliveryUTCDateTime(ZonedDateTime plannedDeliveryUTCDateTime) Constraints: Not nullable, Precision: 0voidsetReceivingOffice(String receivingOffice) Constraints: Not nullable, Maximum length: 20protected voidsetServicePathForFetch(String servicePathForFetch) voidsetShipFromParty(String shipFromParty) Constraints: Not nullable, Maximum length: 10voidsetShipFromPartyName(String shipFromPartyName) Constraints: Not nullable, Maximum length: 40voidsetWarehouse(String warehouse) Constraints: Not nullable, Maximum length: 4voidOverwrites the list of associated WhseInboundDeliveryItem entities for the loaded navigation property to_WhseInboundDeliveryItem.toString()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
-
Field Details
-
ALL_FIELDS
Selector for all available fields of WhseInboundDeliveryHead. -
INBOUND_DELIVERY
Use with available fluent helpers to apply the InboundDelivery field to query operations. -
WAREHOUSE
Use with available fluent helpers to apply the Warehouse field to query operations. -
DELIVERY_CATEGORY
Use with available fluent helpers to apply the DeliveryCategory field to query operations. -
DELIVERY_TYPE
Use with available fluent helpers to apply the DeliveryType field to query operations. -
SHIP_FROM_PARTY
Use with available fluent helpers to apply the ShipFromParty field to query operations. -
SHIP_FROM_PARTY_NAME
Use with available fluent helpers to apply the ShipFromPartyName field to query operations. -
CARRIER
Use with available fluent helpers to apply the Carrier field to query operations. -
CARRIER_NAME
Use with available fluent helpers to apply the CarrierName field to query operations. -
ADVANCED_SHIPPING_NOTIFICATION
Use with available fluent helpers to apply the AdvancedShippingNotification field to query operations. -
PLANNED_DELIVERY_UTC_DATE_TIME
Use with available fluent helpers to apply the PlannedDeliveryUTCDateTime field to query operations. -
RECEIVING_OFFICE
Use with available fluent helpers to apply the ReceivingOffice field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
TO_WHSE_INBOUND_DELIVERY_ITEM
public static final WhseInboundDeliveryHeadLink<WhseInboundDeliveryItem> TO_WHSE_INBOUND_DELIVERY_ITEMUse with available fluent helpers to apply the to_WhseInboundDeliveryItem navigation property to query operations.
-
-
Constructor Details
-
WhseInboundDeliveryHead
public WhseInboundDeliveryHead() -
WhseInboundDeliveryHead
public WhseInboundDeliveryHead(@Nullable String inboundDelivery, @Nullable String warehouse, @Nullable String deliveryCategory, @Nullable String deliveryType, @Nullable String shipFromParty, @Nullable String shipFromPartyName, @Nullable String carrier, @Nullable String carrierName, @Nullable String advancedShippingNotification, @Nullable ZonedDateTime plannedDeliveryUTCDateTime, @Nullable String receivingOffice, @Nullable ZonedDateTime lastChangeDateTime, List<WhseInboundDeliveryItem> toWhseInboundDeliveryItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WhseInboundDeliveryHead>
-
setInboundDelivery
(Key Field) Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: InboundDelivery
- Parameters:
inboundDelivery- Document Number
-
setWarehouse
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Warehouse
- Parameters:
warehouse- Warehouse Number/Warehouse Complex
-
setDeliveryCategory
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: DeliveryCategory
- Parameters:
deliveryCategory- Document Category
-
setDeliveryType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: DeliveryType
- Parameters:
deliveryType- Document Type
-
setShipFromParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ShipFromParty
- Parameters:
shipFromParty- Business Partner Number
-
setShipFromPartyName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ShipFromPartyName
- Parameters:
shipFromPartyName- Name 1 of organization
-
setCarrier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Carrier
- Parameters:
carrier- Business Partner Number
-
setCarrierName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CarrierName
- Parameters:
carrierName- Name 1 of organization
-
setAdvancedShippingNotification
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: AdvancedShippingNotification
- Parameters:
advancedShippingNotification- Document Number
-
setPlannedDeliveryUTCDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: PlannedDeliveryUTCDateTime
- Parameters:
plannedDeliveryUTCDateTime- Creation Date/Time
-
setReceivingOffice
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ReceivingOffice
- Parameters:
receivingOffice- Location Number
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WhseInboundDeliveryHead>
-
getKey
- Overrides:
getKeyin classVdmObject<WhseInboundDeliveryHead>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WhseInboundDeliveryHead>
-
fromMap
- Overrides:
fromMapin classVdmObject<WhseInboundDeliveryHead>
-
field
@Nonnull public static <T> WhseInboundDeliveryHeadField<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> WhseInboundDeliveryHeadField<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<WhseInboundDeliveryHead>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<WhseInboundDeliveryHead>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<WhseInboundDeliveryHead>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WhseInboundDeliveryHead>
-
fetchWhseInboundDeliveryItem
Fetches the WhseInboundDeliveryItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_WhseInboundDeliveryItem.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated WhseInboundDeliveryItem entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getWhseInboundDeliveryItemOrFetch
Retrieval of associated WhseInboundDeliveryItem entities (one to many). This corresponds to the OData navigation property to_WhseInboundDeliveryItem.If the navigation property to_WhseInboundDeliveryItem of a queried WhseInboundDeliveryHead 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.
- Returns:
- List of associated WhseInboundDeliveryItem entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getWhseInboundDeliveryItemIfPresent
@Nonnull public io.vavr.control.Option<List<WhseInboundDeliveryItem>> getWhseInboundDeliveryItemIfPresent()Retrieval of associated WhseInboundDeliveryItem entities (one to many). This corresponds to the OData navigation property to_WhseInboundDeliveryItem.If the navigation property for an entity WhseInboundDeliveryHead 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 to_WhseInboundDeliveryItem is already loaded, the
result will contain the WhseInboundDeliveryItem entities. If not, an
Optionwith result stateemptyis returned.
-
setWhseInboundDeliveryItem
Overwrites the list of associated WhseInboundDeliveryItem entities for the loaded navigation property to_WhseInboundDeliveryItem.If the navigation property to_WhseInboundDeliveryItem of a queried WhseInboundDeliveryHead 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 WhseInboundDeliveryItem entities.
-
addWhseInboundDeliveryItem
Adds elements to the list of associated WhseInboundDeliveryItem entities. This corresponds to the OData navigation property to_WhseInboundDeliveryItem.If the navigation property to_WhseInboundDeliveryItem of a queried WhseInboundDeliveryHead 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 WhseInboundDeliveryItem entities.
-
builder
-
getInboundDelivery
(Key Field) Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: InboundDelivery
- Returns:
- Document Number
-
getWarehouse
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Warehouse
- Returns:
- Warehouse Number/Warehouse Complex
-
getDeliveryCategory
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: DeliveryCategory
- Returns:
- Document Category
-
getDeliveryType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: DeliveryType
- Returns:
- Document Type
-
getShipFromParty
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ShipFromParty
- Returns:
- Business Partner Number
-
getShipFromPartyName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ShipFromPartyName
- Returns:
- Name 1 of organization
-
getCarrier
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Carrier
- Returns:
- Business Partner Number
-
getCarrierName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CarrierName
- Returns:
- Name 1 of organization
-
getAdvancedShippingNotification
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: AdvancedShippingNotification
- Returns:
- Document Number
-
getPlannedDeliveryUTCDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: PlannedDeliveryUTCDateTime
- Returns:
- Creation Date/Time
-
getReceivingOffice
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ReceivingOffice
- Returns:
- Location Number
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
toString
- Overrides:
toStringin classVdmObject<WhseInboundDeliveryHead>
-
equals
- Overrides:
equalsin classVdmEntity<WhseInboundDeliveryHead>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WhseInboundDeliveryHead>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WhseInboundDeliveryHead>
-