public class WhseDeliveryDocumentAddress extends VdmEntity<WhseDeliveryDocumentAddress>
Original entity name from the Odata EDM: WhseDeliveryDocumentAddressType
Modifier and Type | Class and Description |
---|---|
static class |
WhseDeliveryDocumentAddress.WhseDeliveryDocumentAddressBuilder
Helper class to allow for fluent creation of WhseDeliveryDocumentAddress instances.
|
Modifier and Type | Field and Description |
---|---|
static WhseDeliveryDocumentAddressField<String> |
ADDITIONAL_STREET_PREFIX_NAME
Use with available fluent helpers to apply the AdditionalStreetPrefixName field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
ADDITIONAL_STREET_SUFFIX_NAME
Use with available fluent helpers to apply the AdditionalStreetSuffixName field to query operations.
|
static WhseDeliveryDocumentAddressSelectable |
ALL_FIELDS
Selector for all available fields of WhseDeliveryDocumentAddress.
|
static WhseDeliveryDocumentAddressField<String> |
BUSINESS_PARTNER_NAME1
Use with available fluent helpers to apply the BusinessPartnerName1 field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
BUSINESS_PARTNER_NAME2
Use with available fluent helpers to apply the BusinessPartnerName2 field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
BUSINESS_PARTNER_ROLE
Use with available fluent helpers to apply the BusinessPartnerRole field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
CITY_NAME
Use with available fluent helpers to apply the CityName field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
COUNTRY
Use with available fluent helpers to apply the Country field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
EMAIL_ADDRESS
Use with available fluent helpers to apply the EmailAddress field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
HOUSE_NUMBER
Use with available fluent helpers to apply the HouseNumber field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
IS_BUSINESS_PURPOSE_COMPLETED
Use with available fluent helpers to apply the IsBusinessPurposeCompleted field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
OUTBOUND_DELIVERY_ORDER
Use with available fluent helpers to apply the OutboundDeliveryOrder field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
OUTBOUND_DELIVERY_ORDER_ITEM
Use with available fluent helpers to apply the OutboundDeliveryOrderItem field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
PHONE_NUMBER
Use with available fluent helpers to apply the PhoneNumber field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
POSTAL_CODE
Use with available fluent helpers to apply the PostalCode field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
REGION
Use with available fluent helpers to apply the Region field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
STREET_NAME
Use with available fluent helpers to apply the StreetName field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
STREET_PREFIX_NAME
Use with available fluent helpers to apply the StreetPrefixName field to query operations.
|
static WhseDeliveryDocumentAddressField<String> |
STREET_SUFFIX_NAME
Use with available fluent helpers to apply the StreetSuffixName field to query operations.
|
static WhseDeliveryDocumentAddressOneToOneLink<WhseOutboundDeliveryOrderHead> |
TO_WHSE_OUTBOUND_DELIVERY_ORDER_HEAD
Use with available fluent helpers to apply the to_WhseOutboundDeliveryOrderHead navigation property to
query operations.
|
static WhseDeliveryDocumentAddressOneToOneLink<WhseOutboundDeliveryOrderItem> |
TO_WHSE_OUTBOUND_DELIVERY_ORDER_ITEM
Use with available fluent helpers to apply the to_WhseOutboundDeliveryOrderItem navigation property to
query operations.
|
changedOriginalFields
Constructor and Description |
---|
WhseDeliveryDocumentAddress() |
WhseDeliveryDocumentAddress(String outboundDeliveryOrder,
String outboundDeliveryOrderItem,
String businessPartnerRole,
String businessPartnerName1,
String businessPartnerName2,
String streetPrefixName,
String additionalStreetPrefixName,
String streetName,
String streetSuffixName,
String additionalStreetSuffixName,
String houseNumber,
String postalCode,
String cityName,
String region,
String country,
String phoneNumber,
String emailAddress,
String isBusinessPurposeCompleted,
WhseOutboundDeliveryOrderHead toWhseOutboundDeliveryOrderHead,
WhseOutboundDeliveryOrderItem toWhseOutboundDeliveryOrderItem) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static WhseDeliveryDocumentAddress.WhseDeliveryDocumentAddressBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
WhseOutboundDeliveryOrderHead |
fetchWhseOutboundDeliveryOrderHead()
Fetches the WhseOutboundDeliveryOrderHead entity (one to one) associated with this entity.
|
WhseOutboundDeliveryOrderItem |
fetchWhseOutboundDeliveryOrderItem()
Fetches the WhseOutboundDeliveryOrderItem entity (one to one) associated with this entity.
|
static <T> WhseDeliveryDocumentAddressField<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 |
getAdditionalStreetPrefixName()
Constraints: Not nullable, Maximum length: 40
|
String |
getAdditionalStreetSuffixName()
Constraints: Not nullable, Maximum length: 40
|
String |
getBusinessPartnerName1()
Constraints: Not nullable, Maximum length: 40
|
String |
getBusinessPartnerName2()
Constraints: Not nullable, Maximum length: 40
|
String |
getBusinessPartnerRole()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
String |
getCityName()
Constraints: Not nullable, Maximum length: 40
|
String |
getCountry()
Constraints: Not nullable, Maximum length: 3
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getEmailAddress()
Constraints: Not nullable, Maximum length: 241
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getHouseNumber()
Constraints: Not nullable, Maximum length: 10
|
String |
getIsBusinessPurposeCompleted()
Constraints: Not nullable, Maximum length: 1
|
protected Map<String,Object> |
getKey() |
String |
getOutboundDeliveryOrder()
(Key Field) Constraints: Not nullable, Maximum length: 35
|
String |
getOutboundDeliveryOrderItem()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getPhoneNumber()
Constraints: Not nullable, Maximum length: 30
|
String |
getPostalCode()
Constraints: Not nullable, Maximum length: 10
|
String |
getRegion()
Constraints: Not nullable, Maximum length: 3
|
String |
getStreetName()
Constraints: Not nullable, Maximum length: 60
|
String |
getStreetPrefixName()
Constraints: Not nullable, Maximum length: 40
|
String |
getStreetSuffixName()
Constraints: Not nullable, Maximum length: 40
|
Class<WhseDeliveryDocumentAddress> |
getType() |
io.vavr.control.Option<WhseOutboundDeliveryOrderHead> |
getWhseOutboundDeliveryOrderHeadIfPresent()
Retrieval of associated WhseOutboundDeliveryOrderHead entity (one to one).
|
WhseOutboundDeliveryOrderHead |
getWhseOutboundDeliveryOrderHeadOrFetch()
Retrieval of associated WhseOutboundDeliveryOrderHead entity (one to one).
|
io.vavr.control.Option<WhseOutboundDeliveryOrderItem> |
getWhseOutboundDeliveryOrderItemIfPresent()
Retrieval of associated WhseOutboundDeliveryOrderItem entity (one to one).
|
WhseOutboundDeliveryOrderItem |
getWhseOutboundDeliveryOrderItemOrFetch()
Retrieval of associated WhseOutboundDeliveryOrderItem entity (one to one).
|
int |
hashCode() |
void |
setAdditionalStreetPrefixName(String additionalStreetPrefixName)
Constraints: Not nullable, Maximum length: 40
|
void |
setAdditionalStreetSuffixName(String additionalStreetSuffixName)
Constraints: Not nullable, Maximum length: 40
|
void |
setBusinessPartnerName1(String businessPartnerName1)
Constraints: Not nullable, Maximum length: 40
|
void |
setBusinessPartnerName2(String businessPartnerName2)
Constraints: Not nullable, Maximum length: 40
|
void |
setBusinessPartnerRole(String businessPartnerRole)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setCityName(String cityName)
Constraints: Not nullable, Maximum length: 40
|
void |
setCountry(String country)
Constraints: Not nullable, Maximum length: 3
|
void |
setEmailAddress(String emailAddress)
Constraints: Not nullable, Maximum length: 241
|
void |
setHouseNumber(String houseNumber)
Constraints: Not nullable, Maximum length: 10
|
void |
setIsBusinessPurposeCompleted(String isBusinessPurposeCompleted)
Constraints: Not nullable, Maximum length: 1
|
void |
setOutboundDeliveryOrder(String outboundDeliveryOrder)
(Key Field) Constraints: Not nullable, Maximum length: 35
|
void |
setOutboundDeliveryOrderItem(String outboundDeliveryOrderItem)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setPhoneNumber(String phoneNumber)
Constraints: Not nullable, Maximum length: 30
|
void |
setPostalCode(String postalCode)
Constraints: Not nullable, Maximum length: 10
|
void |
setRegion(String region)
Constraints: Not nullable, Maximum length: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setStreetName(String streetName)
Constraints: Not nullable, Maximum length: 60
|
void |
setStreetPrefixName(String streetPrefixName)
Constraints: Not nullable, Maximum length: 40
|
void |
setStreetSuffixName(String streetSuffixName)
Constraints: Not nullable, Maximum length: 40
|
void |
setWhseOutboundDeliveryOrderHead(WhseOutboundDeliveryOrderHead value)
Overwrites the associated WhseOutboundDeliveryOrderHead entity for the loaded navigation property
to_WhseOutboundDeliveryOrderHead.
|
void |
setWhseOutboundDeliveryOrderItem(WhseOutboundDeliveryOrderItem value)
Overwrites the associated WhseOutboundDeliveryOrderItem entity for the loaded navigation property
to_WhseOutboundDeliveryOrderItem.
|
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 WhseDeliveryDocumentAddressSelectable ALL_FIELDS
public static final WhseDeliveryDocumentAddressField<String> OUTBOUND_DELIVERY_ORDER
public static final WhseDeliveryDocumentAddressField<String> OUTBOUND_DELIVERY_ORDER_ITEM
public static final WhseDeliveryDocumentAddressField<String> BUSINESS_PARTNER_ROLE
public static final WhseDeliveryDocumentAddressField<String> BUSINESS_PARTNER_NAME1
public static final WhseDeliveryDocumentAddressField<String> BUSINESS_PARTNER_NAME2
public static final WhseDeliveryDocumentAddressField<String> STREET_PREFIX_NAME
public static final WhseDeliveryDocumentAddressField<String> ADDITIONAL_STREET_PREFIX_NAME
public static final WhseDeliveryDocumentAddressField<String> STREET_NAME
public static final WhseDeliveryDocumentAddressField<String> STREET_SUFFIX_NAME
public static final WhseDeliveryDocumentAddressField<String> ADDITIONAL_STREET_SUFFIX_NAME
public static final WhseDeliveryDocumentAddressField<String> HOUSE_NUMBER
public static final WhseDeliveryDocumentAddressField<String> POSTAL_CODE
public static final WhseDeliveryDocumentAddressField<String> CITY_NAME
public static final WhseDeliveryDocumentAddressField<String> REGION
public static final WhseDeliveryDocumentAddressField<String> COUNTRY
public static final WhseDeliveryDocumentAddressField<String> PHONE_NUMBER
public static final WhseDeliveryDocumentAddressField<String> EMAIL_ADDRESS
public static final WhseDeliveryDocumentAddressField<String> IS_BUSINESS_PURPOSE_COMPLETED
public static final WhseDeliveryDocumentAddressOneToOneLink<WhseOutboundDeliveryOrderHead> TO_WHSE_OUTBOUND_DELIVERY_ORDER_HEAD
public static final WhseDeliveryDocumentAddressOneToOneLink<WhseOutboundDeliveryOrderItem> TO_WHSE_OUTBOUND_DELIVERY_ORDER_ITEM
public WhseDeliveryDocumentAddress()
public WhseDeliveryDocumentAddress(@Nullable String outboundDeliveryOrder, @Nullable String outboundDeliveryOrderItem, @Nullable String businessPartnerRole, @Nullable String businessPartnerName1, @Nullable String businessPartnerName2, @Nullable String streetPrefixName, @Nullable String additionalStreetPrefixName, @Nullable String streetName, @Nullable String streetSuffixName, @Nullable String additionalStreetSuffixName, @Nullable String houseNumber, @Nullable String postalCode, @Nullable String cityName, @Nullable String region, @Nullable String country, @Nullable String phoneNumber, @Nullable String emailAddress, @Nullable String isBusinessPurposeCompleted, @Nullable WhseOutboundDeliveryOrderHead toWhseOutboundDeliveryOrderHead, @Nullable WhseOutboundDeliveryOrderItem toWhseOutboundDeliveryOrderItem)
@Nonnull public Class<WhseDeliveryDocumentAddress> getType()
getType
in class VdmObject<WhseDeliveryDocumentAddress>
public void setOutboundDeliveryOrder(@Nullable String outboundDeliveryOrder)
Original property name from the Odata EDM: OutboundDeliveryOrder
outboundDeliveryOrder
- Document Numberpublic void setOutboundDeliveryOrderItem(@Nullable String outboundDeliveryOrderItem)
Original property name from the Odata EDM: OutboundDeliveryOrderItem
outboundDeliveryOrderItem
- Item Numberpublic void setBusinessPartnerRole(@Nullable String businessPartnerRole)
Original property name from the Odata EDM: BusinessPartnerRole
A partner role always refers to a certain role category.Possible partner roles include supplier, shipping office, goods recipient, and warehouse.
businessPartnerRole
- Describes the role or function of a partner in the business process.public void setBusinessPartnerName1(@Nullable String businessPartnerName1)
Original property name from the Odata EDM: BusinessPartnerName1
businessPartnerName1
- Address component: Name of an addresspublic void setBusinessPartnerName2(@Nullable String businessPartnerName2)
Original property name from the Odata EDM: BusinessPartnerName2
businessPartnerName2
- Name 2public void setStreetPrefixName(@Nullable String streetPrefixName)
Original property name from the Odata EDM: StreetPrefixName
The Street address contains two lines above the street and two lines below the street.See Print the Street address.This field is not always automatically printed, as it was subsequently added to the address structure.The print program or form may need to be adjusted.This exception applies to the following fields:Street2, Street3, Street4, Street5, c/o name, and to all address fields added after Release 4.5.
streetPrefixName
- Additional address field which is printed above the Street line.public void setAdditionalStreetPrefixName(@Nullable String additionalStreetPrefixName)
Original property name from the Odata EDM: AdditionalStreetPrefixName
The Street address contains two lines above the street and two lines below the street.See Print the Street address.
additionalStreetPrefixName
- Additional address field which is printed above the Street line.public void setStreetName(@Nullable String streetName)
Original property name from the Odata EDM: StreetName
The street name is saved, redundantly in upper case in another database field, for search help purposes.There are other fields for address parts which can be printed above or below the street. See Print the Street address.The house number and other supplements are usually maintained in their own fields. See Formatting the Street line.
streetName
- Street name as part of the address.public void setStreetSuffixName(@Nullable String streetSuffixName)
Original property name from the Odata EDM: StreetSuffixName
The Street address contains two lines above the street and two lines below the street.See Print the Street address.
streetSuffixName
- Additional address field which is printed below the Street line.public void setAdditionalStreetSuffixName(@Nullable String additionalStreetSuffixName)
Original property name from the Odata EDM: AdditionalStreetSuffixName
The Street address has two lines above the street and two lines below the steet.See Print the Street address.
additionalStreetSuffixName
- Additional address field which is printed under the Street line.public void setHouseNumber(@Nullable String houseNumber)
Original property name from the Odata EDM: HouseNumber
It is printed in the Street line.Other supplementary street information can be entered in the House number supplement or one of the Street2, Street3, Street4 or Street5 fields. See Print the Street address.A house number (e.g. 117) or a house number with supplement (e.g. 117a), or a house number range (e.g. 16-20), can be maintained in this field.
houseNumber
- House number as part of an address.public void setPostalCode(@Nullable String postalCode)
Original property name from the Odata EDM: PostalCode
If different postal codes are maintained for the PO Box and Street address of an address, this field contains the Street address postal code.
postalCode
- Postal code as part of the addresspublic void setCityName(@Nullable String cityName)
Original property name from the Odata EDM: CityName
The city name is saved redundantly in another database field in upper- case letters, for search help.If the Postal regional structure ('city file') is active, the city name is checked against the Cities defined in the regional structure.
cityName
- City name as part of the address.public void setRegion(@Nullable String region)
Original property name from the Odata EDM: Region
The automatic address formatting function prints the region in addresses in the USA, Canada, Italy, Brazil or Australia, and the county in Great Britain.For more information, see the examples in the documentation on the Address Layout Key.Meaning of the regional code in ...Australia -> ProvinceBrazil -> StateCanada -> ProvinceGermany -> StateGreat Britain -> CountyItaly -> ProvinceJapan -> PrefectureSwitzerland -> CantonUSA -> State
region
- In some countries, the region forms part of the address. The meaning depends on the country.public void setCountry(@Nullable String country)
Original property name from the Odata EDM: Country
The two-character ISO code in accordance with ISO 3166, which is delivered by SAP as a default, is usually used.It could also be the vehicle license plate country-code or a typical country key, for example, in Germany the Federal statistics office key.The country keys are determined at system installation in the global settings.The definition of the country key in the SAP system does not have to match political or government entities.Since the country key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country key cannot query the country key T005-LAND1, but have to program based on the ISO code T005 INTCA.
country
- The country key contains information which the system uses to check entries such as the length of the
postal code or bank account number.public void setPhoneNumber(@Nullable String phoneNumber)
Original property name from the Odata EDM: PhoneNumber
If the telephone number consists of a company number and an extension, the extension must be entered in the field extension.Telephone number, as it must be dialed from within the country.
phoneNumber
- Telephone numbmer, consisting of dialing code and number, but without the country code.public void setEmailAddress(@Nullable String emailAddress)
Original property name from the Odata EDM: EmailAddress
Example: user.name@company.comThe Internet mail address is used to send mail via the Internet world-wide; the protocol used is SMTP (Simple Mail Transfer Protocol).The Internet mail address format is specified in various RFCs (Internet Request for Comment), including RFCs 821 and 822.This is not an IP address (192.56.30.6).
emailAddress
- Internet mail address, also called e-mail address.public void setIsBusinessPurposeCompleted(@Nullable String isBusinessPurposeCompleted)
Original property name from the Odata EDM: IsBusinessPurposeCompleted
isBusinessPurposeCompleted
- Business Purpose Completed Flagprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<WhseDeliveryDocumentAddress>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<WhseDeliveryDocumentAddress>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<WhseDeliveryDocumentAddress>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<WhseDeliveryDocumentAddress>
@Nonnull public static <T> WhseDeliveryDocumentAddressField<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> WhseDeliveryDocumentAddressField<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<WhseDeliveryDocumentAddress>
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<WhseDeliveryDocumentAddress>
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<WhseDeliveryDocumentAddress>
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<WhseDeliveryDocumentAddress>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<WhseDeliveryDocumentAddress>
@Nullable public WhseOutboundDeliveryOrderHead fetchWhseOutboundDeliveryOrderHead() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.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.@Nullable public WhseOutboundDeliveryOrderHead getWhseOutboundDeliveryOrderHeadOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_WhseOutboundDeliveryOrderHead of a queried WhseDeliveryDocumentAddress 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<WhseOutboundDeliveryOrderHead> getWhseOutboundDeliveryOrderHeadIfPresent()
If the navigation property for an entity WhseDeliveryDocumentAddress 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 setWhseOutboundDeliveryOrderHead(WhseOutboundDeliveryOrderHead value)
value
- New WhseOutboundDeliveryOrderHead entity.@Nullable public WhseOutboundDeliveryOrderItem fetchWhseOutboundDeliveryOrderItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.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.@Nullable public WhseOutboundDeliveryOrderItem getWhseOutboundDeliveryOrderItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_WhseOutboundDeliveryOrderItem of a queried WhseDeliveryDocumentAddress 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<WhseOutboundDeliveryOrderItem> getWhseOutboundDeliveryOrderItemIfPresent()
If the navigation property for an entity WhseDeliveryDocumentAddress 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 setWhseOutboundDeliveryOrderItem(WhseOutboundDeliveryOrderItem value)
value
- New WhseOutboundDeliveryOrderItem entity.public static WhseDeliveryDocumentAddress.WhseDeliveryDocumentAddressBuilder builder()
@Nullable public String getOutboundDeliveryOrder()
Original property name from the Odata EDM: OutboundDeliveryOrder
@Nullable public String getOutboundDeliveryOrderItem()
Original property name from the Odata EDM: OutboundDeliveryOrderItem
@Nullable public String getBusinessPartnerRole()
Original property name from the Odata EDM: BusinessPartnerRole
A partner role always refers to a certain role category.Possible partner roles include supplier, shipping office, goods recipient, and warehouse.
@Nullable public String getBusinessPartnerName1()
Original property name from the Odata EDM: BusinessPartnerName1
@Nullable public String getBusinessPartnerName2()
Original property name from the Odata EDM: BusinessPartnerName2
@Nullable public String getStreetPrefixName()
Original property name from the Odata EDM: StreetPrefixName
The Street address contains two lines above the street and two lines below the street.See Print the Street address.This field is not always automatically printed, as it was subsequently added to the address structure.The print program or form may need to be adjusted.This exception applies to the following fields:Street2, Street3, Street4, Street5, c/o name, and to all address fields added after Release 4.5.
@Nullable public String getAdditionalStreetPrefixName()
Original property name from the Odata EDM: AdditionalStreetPrefixName
The Street address contains two lines above the street and two lines below the street.See Print the Street address.
@Nullable public String getStreetName()
Original property name from the Odata EDM: StreetName
The street name is saved, redundantly in upper case in another database field, for search help purposes.There are other fields for address parts which can be printed above or below the street. See Print the Street address.The house number and other supplements are usually maintained in their own fields. See Formatting the Street line.
@Nullable public String getStreetSuffixName()
Original property name from the Odata EDM: StreetSuffixName
The Street address contains two lines above the street and two lines below the street.See Print the Street address.
@Nullable public String getAdditionalStreetSuffixName()
Original property name from the Odata EDM: AdditionalStreetSuffixName
The Street address has two lines above the street and two lines below the steet.See Print the Street address.
@Nullable public String getHouseNumber()
Original property name from the Odata EDM: HouseNumber
It is printed in the Street line.Other supplementary street information can be entered in the House number supplement or one of the Street2, Street3, Street4 or Street5 fields. See Print the Street address.A house number (e.g. 117) or a house number with supplement (e.g. 117a), or a house number range (e.g. 16-20), can be maintained in this field.
@Nullable public String getPostalCode()
Original property name from the Odata EDM: PostalCode
If different postal codes are maintained for the PO Box and Street address of an address, this field contains the Street address postal code.
@Nullable public String getCityName()
Original property name from the Odata EDM: CityName
The city name is saved redundantly in another database field in upper- case letters, for search help.If the Postal regional structure ('city file') is active, the city name is checked against the Cities defined in the regional structure.
@Nullable public String getRegion()
Original property name from the Odata EDM: Region
The automatic address formatting function prints the region in addresses in the USA, Canada, Italy, Brazil or Australia, and the county in Great Britain.For more information, see the examples in the documentation on the Address Layout Key.Meaning of the regional code in ...Australia -> ProvinceBrazil -> StateCanada -> ProvinceGermany -> StateGreat Britain -> CountyItaly -> ProvinceJapan -> PrefectureSwitzerland -> CantonUSA -> State
@Nullable public String getCountry()
Original property name from the Odata EDM: Country
The two-character ISO code in accordance with ISO 3166, which is delivered by SAP as a default, is usually used.It could also be the vehicle license plate country-code or a typical country key, for example, in Germany the Federal statistics office key.The country keys are determined at system installation in the global settings.The definition of the country key in the SAP system does not have to match political or government entities.Since the country key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country key cannot query the country key T005-LAND1, but have to program based on the ISO code T005 INTCA.
@Nullable public String getPhoneNumber()
Original property name from the Odata EDM: PhoneNumber
If the telephone number consists of a company number and an extension, the extension must be entered in the field extension.Telephone number, as it must be dialed from within the country.
@Nullable public String getEmailAddress()
Original property name from the Odata EDM: EmailAddress
Example: user.name@company.comThe Internet mail address is used to send mail via the Internet world-wide; the protocol used is SMTP (Simple Mail Transfer Protocol).The Internet mail address format is specified in various RFCs (Internet Request for Comment), including RFCs 821 and 822.This is not an IP address (192.56.30.6).
@Nullable public String getIsBusinessPurposeCompleted()
Original property name from the Odata EDM: IsBusinessPurposeCompleted
public String toString()
toString
in class VdmObject<WhseDeliveryDocumentAddress>
public boolean equals(Object o)
equals
in class VdmObject<WhseDeliveryDocumentAddress>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<WhseDeliveryDocumentAddress>
public int hashCode()
hashCode
in class VdmObject<WhseDeliveryDocumentAddress>
Copyright © 2020 SAP SE. All rights reserved.