Class WhseInboundDeliveryHead
- All Implemented Interfaces:
VdmEntitySet
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 ComplexProperty.Collection<WhseInboundDeliveryHead,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty.String<WhseInboundDeliveryHead>static final SimpleProperty<WhseInboundDeliveryHead>Selector for all available fields of WhseInboundDeliveryHead.static final SimpleProperty.String<WhseInboundDeliveryHead>static final SimpleProperty.String<WhseInboundDeliveryHead>static final SimpleProperty.DateTime<WhseInboundDeliveryHead>static final SimpleProperty.String<WhseInboundDeliveryHead>static final SimpleProperty.String<WhseInboundDeliveryHead>static final SimpleProperty.String<WhseInboundDeliveryHead>static final SimpleProperty.String<WhseInboundDeliveryHead>static final SimpleProperty.DateTime<WhseInboundDeliveryHead>static final SimpleProperty.String<WhseInboundDeliveryHead>static final SimpleProperty.String<WhseInboundDeliveryHead>static final SimpleProperty.String<WhseInboundDeliveryHead>Use with available request builders to apply the _WhseInbDeliveryItem navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionWhseInboundDeliveryHead(String eWMInboundDelivery, String eWMWarehouse, String eWMDeliveryDocumentCategory, String eWMDeliveryDocumentType, String shipFromParty, String shipFromPartyName, String carrier, String carrierName, String advancedShippingNotification, OffsetDateTime plannedDeliveryUTCDateTime, String receivingOffice, OffsetDateTime eWMDelivLastChangeUTCDateTime, Collection<SAP__Message> _Messages, List<WhseInboundDeliveryItem> to_WhseInbDeliveryItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddWhseInbDeliveryItem(WhseInboundDeliveryItem... entity) Adds elements to the list of associated WhseInboundDeliveryItem entities.builder()protected booleanbooleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 40protected Stringprotected StringConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4Constraints: Nullable(Key Field) Constraints: Not nullable, Maximum length: 35Constraints: Not nullable, Maximum length: 4protected ODataEntityKeygetKey()Constraints: NullableConstraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 40getType()io.vavr.control.Option<List<WhseInboundDeliveryItem>>Retrieval of associated WhseInboundDeliveryItem 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 nullablevoidsetAdvancedShippingNotification(String advancedShippingNotification) Constraints: Not nullable, Maximum length: 35voidsetCarrier(String carrier) Constraints: Not nullable, Maximum length: 10voidsetCarrierName(String carrierName) Constraints: Not nullable, Maximum length: 40voidsetEWMDeliveryDocumentCategory(String eWMDeliveryDocumentCategory) Constraints: Not nullable, Maximum length: 3voidsetEWMDeliveryDocumentType(String eWMDeliveryDocumentType) Constraints: Not nullable, Maximum length: 4voidsetEWMDelivLastChangeUTCDateTime(OffsetDateTime eWMDelivLastChangeUTCDateTime) Constraints: NullablevoidsetEWMInboundDelivery(String eWMInboundDelivery) (Key Field) Constraints: Not nullable, Maximum length: 35voidsetEWMWarehouse(String eWMWarehouse) Constraints: Not nullable, Maximum length: 4voidsetPlannedDeliveryUTCDateTime(OffsetDateTime plannedDeliveryUTCDateTime) Constraints: NullablevoidsetReceivingOffice(String receivingOffice) Constraints: Not nullable, Maximum length: 20voidsetShipFromParty(String shipFromParty) Constraints: Not nullable, Maximum length: 10voidsetShipFromPartyName(String shipFromPartyName) Constraints: Not nullable, Maximum length: 40voidOverwrites the list of associated WhseInboundDeliveryItem entities for the loaded navigation property _WhseInbDeliveryItem.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 WhseInboundDeliveryHead. -
EWM_INBOUND_DELIVERY
-
EWM_WAREHOUSE
-
EWM_DELIVERY_DOCUMENT_CATEGORY
-
EWM_DELIVERY_DOCUMENT_TYPE
-
SHIP_FROM_PARTY
-
SHIP_FROM_PARTY_NAME
-
CARRIER
-
CARRIER_NAME
-
ADVANCED_SHIPPING_NOTIFICATION
-
PLANNED_DELIVERY_UTC_DATE_TIME
-
RECEIVING_OFFICE
-
EWM_DELIV_LAST_CHANGE_UTC_DATE_TIME
public static final SimpleProperty.DateTime<WhseInboundDeliveryHead> EWM_DELIV_LAST_CHANGE_UTC_DATE_TIME -
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__WHSE_INB_DELIVERY_ITEM
public static final NavigationProperty.Collection<WhseInboundDeliveryHead,WhseInboundDeliveryItem> TO__WHSE_INB_DELIVERY_ITEMUse with available request builders to apply the _WhseInbDeliveryItem navigation property to query operations.
-
-
Constructor Details
-
WhseInboundDeliveryHead
public WhseInboundDeliveryHead() -
WhseInboundDeliveryHead
public WhseInboundDeliveryHead(@Nullable String eWMInboundDelivery, @Nullable String eWMWarehouse, @Nullable String eWMDeliveryDocumentCategory, @Nullable String eWMDeliveryDocumentType, @Nullable String shipFromParty, @Nullable String shipFromPartyName, @Nullable String carrier, @Nullable String carrierName, @Nullable String advancedShippingNotification, @Nullable OffsetDateTime plannedDeliveryUTCDateTime, @Nullable String receivingOffice, @Nullable OffsetDateTime eWMDelivLastChangeUTCDateTime, @Nullable Collection<SAP__Message> _Messages, List<WhseInboundDeliveryItem> to_WhseInbDeliveryItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<WhseInboundDeliveryHead>
-
setEWMInboundDelivery
(Key Field) Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: EWMInboundDelivery
- Parameters:
eWMInboundDelivery- Document Number
-
setEWMWarehouse
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMWarehouse
- Parameters:
eWMWarehouse- Warehouse Number/Warehouse Complex
-
setEWMDeliveryDocumentCategory
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: EWMDeliveryDocumentCategory
- Parameters:
eWMDeliveryDocumentCategory- Document Category
-
setEWMDeliveryDocumentType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMDeliveryDocumentType
- Parameters:
eWMDeliveryDocumentType- 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- Ship-From Party Name
-
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- Carrier Name
-
setAdvancedShippingNotification
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: AdvancedShippingNotification
- Parameters:
advancedShippingNotification- Document Number
-
setPlannedDeliveryUTCDateTime
Constraints: NullableOriginal 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
-
setEWMDelivLastChangeUTCDateTime
public void setEWMDelivLastChangeUTCDateTime(@Nullable OffsetDateTime eWMDelivLastChangeUTCDateTime) Constraints: NullableOriginal property name from the Odata EDM: EWMDelivLastChangeUTCDateTime
- Parameters:
eWMDelivLastChangeUTCDateTime- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<WhseInboundDeliveryHead>
-
getKey
- Overrides:
getKeyin classVdmObject<WhseInboundDeliveryHead>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<WhseInboundDeliveryHead>
-
fromMap
- Overrides:
fromMapin classVdmObject<WhseInboundDeliveryHead>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<WhseInboundDeliveryHead>
-
getWhseInbDeliveryItemIfPresent
@Nonnull public io.vavr.control.Option<List<WhseInboundDeliveryItem>> getWhseInbDeliveryItemIfPresent()Retrieval of associated WhseInboundDeliveryItem entities (one to many). This corresponds to the OData navigation property _WhseInbDeliveryItem.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 _WhseInbDeliveryItem is already loaded, the result will
contain the WhseInboundDeliveryItem entities. If not, an
Optionwith result stateemptyis returned.
-
setWhseInbDeliveryItem
Overwrites the list of associated WhseInboundDeliveryItem entities for the loaded navigation property _WhseInbDeliveryItem.If the navigation property _WhseInbDeliveryItem 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.
-
addWhseInbDeliveryItem
Adds elements to the list of associated WhseInboundDeliveryItem entities. This corresponds to the OData navigation property _WhseInbDeliveryItem.If the navigation property _WhseInbDeliveryItem 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.
-
postGoodsReceipt
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.
-
reverseGoodsReceipt
@Nonnull public static BoundAction.SingleToSingle<WhseInboundDeliveryHead,Void> reverseGoodsReceipt()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
-
getEWMInboundDelivery
(Key Field) Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: EWMInboundDelivery
- Returns:
- Document Number
-
getEWMWarehouse
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMWarehouse
- Returns:
- Warehouse Number/Warehouse Complex
-
getEWMDeliveryDocumentCategory
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: EWMDeliveryDocumentCategory
- Returns:
- Document Category
-
getEWMDeliveryDocumentType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: EWMDeliveryDocumentType
- 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:
- Ship-From Party Name
-
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:
- Carrier Name
-
getAdvancedShippingNotification
Constraints: Not nullable, Maximum length: 35Original property name from the Odata EDM: AdvancedShippingNotification
- Returns:
- Document Number
-
getPlannedDeliveryUTCDateTime
Constraints: NullableOriginal 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
-
getEWMDelivLastChangeUTCDateTime
Constraints: NullableOriginal property name from the Odata EDM: EWMDelivLastChangeUTCDateTime
- Returns:
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<WhseInboundDeliveryHead>
-
equals
- Overrides:
equalsin classVdmEntity<WhseInboundDeliveryHead>
-
canEqual
- Overrides:
canEqualin classVdmEntity<WhseInboundDeliveryHead>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<WhseInboundDeliveryHead>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<WhseInboundDeliveryHead>
-