public class WhseInboundDeliveryHead extends VdmEntity<WhseInboundDeliveryHead>
Original entity name from the Odata EDM: WhseInboundDeliveryHeadType
Modifier and Type | Class and Description |
---|---|
static class |
WhseInboundDeliveryHead.WhseInboundDeliveryHeadBuilder
Helper class to allow for fluent creation of WhseInboundDeliveryHead instances.
|
Modifier and Type | Field and Description |
---|---|
static WhseInboundDeliveryHeadField<String> |
ADVANCED_SHIPPING_NOTIFICATION
Use with available fluent helpers to apply the AdvancedShippingNotification field to query operations.
|
static WhseInboundDeliveryHeadSelectable |
ALL_FIELDS
Selector for all available fields of WhseInboundDeliveryHead.
|
static WhseInboundDeliveryHeadField<String> |
CARRIER
Use with available fluent helpers to apply the Carrier field to query operations.
|
static WhseInboundDeliveryHeadField<String> |
CARRIER_NAME
Use with available fluent helpers to apply the CarrierName field to query operations.
|
static WhseInboundDeliveryHeadField<String> |
DELIVERY_CATEGORY
Use with available fluent helpers to apply the DeliveryCategory field to query operations.
|
static WhseInboundDeliveryHeadField<String> |
DELIVERY_TYPE
Use with available fluent helpers to apply the DeliveryType field to query operations.
|
static WhseInboundDeliveryHeadField<String> |
INBOUND_DELIVERY
Use with available fluent helpers to apply the InboundDelivery field to query operations.
|
static WhseInboundDeliveryHeadField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static WhseInboundDeliveryHeadField<ZonedDateTime> |
PLANNED_DELIVERY_UTC_DATE_TIME
Use with available fluent helpers to apply the PlannedDeliveryUTCDateTime field to query operations.
|
static WhseInboundDeliveryHeadField<String> |
RECEIVING_OFFICE
Use with available fluent helpers to apply the ReceivingOffice field to query operations.
|
static WhseInboundDeliveryHeadField<String> |
SHIP_FROM_PARTY
Use with available fluent helpers to apply the ShipFromParty field to query operations.
|
static WhseInboundDeliveryHeadField<String> |
SHIP_FROM_PARTY_NAME
Use with available fluent helpers to apply the ShipFromPartyName field to query operations.
|
static WhseInboundDeliveryHeadLink<WhseInboundDeliveryItem> |
TO_WHSE_INBOUND_DELIVERY_ITEM
Use with available fluent helpers to apply the to_WhseInboundDeliveryItem navigation property to query
operations.
|
static WhseInboundDeliveryHeadField<String> |
WAREHOUSE
Use with available fluent helpers to apply the Warehouse field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
WhseInboundDeliveryHead() |
WhseInboundDeliveryHead(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) |
Modifier and Type | Method and Description |
---|---|
void |
addWhseInboundDeliveryItem(WhseInboundDeliveryItem... entity)
Adds elements to the list of associated WhseInboundDeliveryItem entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static WhseInboundDeliveryHead.WhseInboundDeliveryHeadBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<WhseInboundDeliveryItem> |
fetchWhseInboundDeliveryItem()
Fetches the WhseInboundDeliveryItem entities (one to many) associated with this entity.
|
static <T> WhseInboundDeliveryHeadField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getAdvancedShippingNotification()
Constraints: Not nullable, Maximum length: 35
|
String |
getCarrier()
Constraints: Not nullable, Maximum length: 10
|
String |
getCarrierName()
Constraints: Not nullable, Maximum length: 40
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getDeliveryCategory()
Constraints: Not nullable, Maximum length: 3
|
String |
getDeliveryType()
Constraints: Not nullable, Maximum length: 4
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getInboundDelivery()
(Key Field) Constraints: Not nullable, Maximum length: 35
|
protected Map<String,Object> |
getKey() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 0
|
ZonedDateTime |
getPlannedDeliveryUTCDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getReceivingOffice()
Constraints: Not nullable, Maximum length: 20
|
String |
getShipFromParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getShipFromPartyName()
Constraints: Not nullable, Maximum length: 40
|
Class<WhseInboundDeliveryHead> |
getType() |
String |
getWarehouse()
Constraints: Not nullable, Maximum length: 4
|
io.vavr.control.Option<List<WhseInboundDeliveryItem>> |
getWhseInboundDeliveryItemIfPresent()
Retrieval of associated WhseInboundDeliveryItem entities (one to many).
|
List<WhseInboundDeliveryItem> |
getWhseInboundDeliveryItemOrFetch()
Retrieval of associated WhseInboundDeliveryItem entities (one to many).
|
int |
hashCode() |
void |
setAdvancedShippingNotification(String advancedShippingNotification)
Constraints: Not nullable, Maximum length: 35
|
void |
setCarrier(String carrier)
Constraints: Not nullable, Maximum length: 10
|
void |
setCarrierName(String carrierName)
Constraints: Not nullable, Maximum length: 40
|
void |
setDeliveryCategory(String deliveryCategory)
Constraints: Not nullable, Maximum length: 3
|
void |
setDeliveryType(String deliveryType)
Constraints: Not nullable, Maximum length: 4
|
void |
setInboundDelivery(String inboundDelivery)
(Key Field) Constraints: Not nullable, Maximum length: 35
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setPlannedDeliveryUTCDateTime(ZonedDateTime plannedDeliveryUTCDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setReceivingOffice(String receivingOffice)
Constraints: Not nullable, Maximum length: 20
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setShipFromParty(String shipFromParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setShipFromPartyName(String shipFromPartyName)
Constraints: Not nullable, Maximum length: 40
|
void |
setWarehouse(String warehouse)
Constraints: Not nullable, Maximum length: 4
|
void |
setWhseInboundDeliveryItem(List<WhseInboundDeliveryItem> value)
Overwrites the list of associated WhseInboundDeliveryItem entities for the loaded navigation property
to_WhseInboundDeliveryItem.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final WhseInboundDeliveryHeadSelectable ALL_FIELDS
public static final WhseInboundDeliveryHeadField<String> INBOUND_DELIVERY
public static final WhseInboundDeliveryHeadField<String> WAREHOUSE
public static final WhseInboundDeliveryHeadField<String> DELIVERY_CATEGORY
public static final WhseInboundDeliveryHeadField<String> DELIVERY_TYPE
public static final WhseInboundDeliveryHeadField<String> SHIP_FROM_PARTY
public static final WhseInboundDeliveryHeadField<String> SHIP_FROM_PARTY_NAME
public static final WhseInboundDeliveryHeadField<String> CARRIER
public static final WhseInboundDeliveryHeadField<String> CARRIER_NAME
public static final WhseInboundDeliveryHeadField<String> ADVANCED_SHIPPING_NOTIFICATION
public static final WhseInboundDeliveryHeadField<ZonedDateTime> PLANNED_DELIVERY_UTC_DATE_TIME
public static final WhseInboundDeliveryHeadField<String> RECEIVING_OFFICE
public static final WhseInboundDeliveryHeadField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final WhseInboundDeliveryHeadLink<WhseInboundDeliveryItem> TO_WHSE_INBOUND_DELIVERY_ITEM
public 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)
@Nonnull public Class<WhseInboundDeliveryHead> getType()
getType
in class VdmObject<WhseInboundDeliveryHead>
public void setInboundDelivery(@Nullable String inboundDelivery)
Original property name from the Odata EDM: InboundDelivery
inboundDelivery
- Document Numberpublic void setWarehouse(@Nullable String warehouse)
Original property name from the Odata EDM: Warehouse
All activities within a warehouse, for example, goods movements and physical inventory, are assigned to a specific warehouse number. The physical warehouse where these activities take place is identified by the warehouse number.
warehouse
- Alphanumeric key that identifies a complex, physical warehouse within the warehouse management system.public void setDeliveryCategory(@Nullable String deliveryCategory)
Original property name from the Odata EDM: DeliveryCategory
deliveryCategory
- Document Categorypublic void setDeliveryType(@Nullable String deliveryType)
Original property name from the Odata EDM: DeliveryType
Each document type is assigned to one or more document categories.The document type maps the delivery process in the system in combination with the item type.
deliveryType
- In connection with the document category, the document type classifies the different documents in
relation to the delivery process.public void setShipFromParty(@Nullable String shipFromParty)
Original property name from the Odata EDM: ShipFromParty
shipFromParty
- Key identifying a business partner in the SAP system. The key is unique within a client.public void setShipFromPartyName(@Nullable String shipFromPartyName)
Original property name from the Odata EDM: ShipFromPartyName
shipFromPartyName
- First name field for business partners in the Organization category.public void setCarrier(@Nullable String carrier)
Original property name from the Odata EDM: Carrier
carrier
- Key identifying a business partner in the SAP system. The key is unique within a client.public void setCarrierName(@Nullable String carrierName)
Original property name from the Odata EDM: CarrierName
carrierName
- First name field for business partners in the Organization category.public void setAdvancedShippingNotification(@Nullable String advancedShippingNotification)
Original property name from the Odata EDM: AdvancedShippingNotification
advancedShippingNotification
- Document Numberpublic void setPlannedDeliveryUTCDateTime(@Nullable ZonedDateTime plannedDeliveryUTCDateTime)
Original property name from the Odata EDM: PlannedDeliveryUTCDateTime
plannedDeliveryUTCDateTime
- Creation Date/Timepublic void setReceivingOffice(@Nullable String receivingOffice)
Original property name from the Odata EDM: ReceivingOffice
receivingOffice
- Location Numberpublic void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
To standardize local times in a UTC time stamp and thus make them comparable with other times, these local times
need to be converted using your time zone and the ABAP command convert.Even if the system is able to determine
the time zone from Customizing or master data, you shoul save the time zone redundantly here.The internal
structure of the UTC time stamp is subdivided into a date part and a time part in packed number format
lastChangeDateTime
- The UTC time stamp is the date and time relative to UTC (Universal Coordinated Time).protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<WhseInboundDeliveryHead>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<WhseInboundDeliveryHead>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<WhseInboundDeliveryHead>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<WhseInboundDeliveryHead>
@Nonnull public static <T> WhseInboundDeliveryHeadField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> WhseInboundDeliveryHeadField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<WhseInboundDeliveryHead>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<WhseInboundDeliveryHead>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<WhseInboundDeliveryHead>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<WhseInboundDeliveryHead>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<WhseInboundDeliveryHead>
@Nonnull public List<WhseInboundDeliveryItem> fetchWhseInboundDeliveryItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<WhseInboundDeliveryItem> getWhseInboundDeliveryItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<WhseInboundDeliveryItem>> getWhseInboundDeliveryItemIfPresent()
If the navigation property for an entity WhseInboundDeliveryHead has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with
result state empty
is returned.public void setWhseInboundDeliveryItem(@Nonnull List<WhseInboundDeliveryItem> value)
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.
value
- List of WhseInboundDeliveryItem entities.public void addWhseInboundDeliveryItem(WhseInboundDeliveryItem... entity)
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.
entity
- Array of WhseInboundDeliveryItem entities.@Nonnull public static WhseInboundDeliveryHead.WhseInboundDeliveryHeadBuilder builder()
@Nullable public String getInboundDelivery()
Original property name from the Odata EDM: InboundDelivery
@Nullable public String getWarehouse()
Original property name from the Odata EDM: Warehouse
All activities within a warehouse, for example, goods movements and physical inventory, are assigned to a specific warehouse number. The physical warehouse where these activities take place is identified by the warehouse number.
@Nullable public String getDeliveryCategory()
Original property name from the Odata EDM: DeliveryCategory
@Nullable public String getDeliveryType()
Original property name from the Odata EDM: DeliveryType
Each document type is assigned to one or more document categories.The document type maps the delivery process in the system in combination with the item type.
@Nullable public String getShipFromParty()
Original property name from the Odata EDM: ShipFromParty
@Nullable public String getShipFromPartyName()
Original property name from the Odata EDM: ShipFromPartyName
@Nullable public String getCarrier()
Original property name from the Odata EDM: Carrier
@Nullable public String getCarrierName()
Original property name from the Odata EDM: CarrierName
@Nullable public String getAdvancedShippingNotification()
Original property name from the Odata EDM: AdvancedShippingNotification
@Nullable public ZonedDateTime getPlannedDeliveryUTCDateTime()
Original property name from the Odata EDM: PlannedDeliveryUTCDateTime
@Nullable public String getReceivingOffice()
Original property name from the Odata EDM: ReceivingOffice
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
To standardize local times in a UTC time stamp and thus make them comparable with other times, these local times
need to be converted using your time zone and the ABAP command convert.Even if the system is able to determine
the time zone from Customizing or master data, you shoul save the time zone redundantly here.The internal
structure of the UTC time stamp is subdivided into a date part and a time part in packed number format
@Nonnull public String toString()
toString
in class VdmObject<WhseInboundDeliveryHead>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<WhseInboundDeliveryHead>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<WhseInboundDeliveryHead>
public int hashCode()
hashCode
in class VdmObject<WhseInboundDeliveryHead>
Copyright © 2020 SAP SE. All rights reserved.