public class ProductionSupplyAreaAddress extends VdmEntity<ProductionSupplyAreaAddress>
Original entity name from the Odata EDM: A_ProductionSupplyAreaAddressType
Modifier and Type | Class and Description |
---|---|
static class |
ProductionSupplyAreaAddress.ProductionSupplyAreaAddressBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductionSupplyAreaAddressField<String> |
ADDITIONAL_STREET_SUFFIX_NAME
Use with available fluent helpers to apply the AdditionalStreetSuffixName field to query operations.
|
static ProductionSupplyAreaAddressSelectable |
ALL_FIELDS
Selector for all available fields of ProductionSupplyAreaAddress.
|
static ProductionSupplyAreaAddressField<String> |
BUILDING
Use with available fluent helpers to apply the Building field to query operations.
|
static ProductionSupplyAreaAddressField<String> |
BUSINESS_PARTNER_NAME1
Use with available fluent helpers to apply the BusinessPartnerName1 field to query operations.
|
static ProductionSupplyAreaAddressField<String> |
BUSINESS_PARTNER_NAME2
Use with available fluent helpers to apply the BusinessPartnerName2 field to query operations.
|
static ProductionSupplyAreaAddressField<String> |
CITY_NAME
Use with available fluent helpers to apply the CityName field to query operations.
|
static ProductionSupplyAreaAddressField<String> |
COUNTRY
Use with available fluent helpers to apply the Country field to query operations.
|
static ProductionSupplyAreaAddressField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static ProductionSupplyAreaAddressField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static ProductionSupplyAreaAddressField<String> |
POSTAL_CODE
Use with available fluent helpers to apply the PostalCode field to query operations.
|
static ProductionSupplyAreaAddressField<String> |
PRODUCTION_SUPPLY_AREA
Use with available fluent helpers to apply the ProductionSupplyArea field to query operations.
|
static ProductionSupplyAreaAddressField<String> |
PRODUCTION_SUPPLY_AREA_ADDRESS_ID
Use with available fluent helpers to apply the ProductionSupplyAreaAddressID field to query operations.
|
static ProductionSupplyAreaAddressField<String> |
STREET_NAME
Use with available fluent helpers to apply the StreetName field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductionSupplyAreaAddress() |
ProductionSupplyAreaAddress(String productionSupplyArea,
String plant,
String productionSupplyAreaAddressID,
String businessPartnerName1,
String businessPartnerName2,
String building,
String streetName,
String additionalStreetSuffixName,
String cityName,
String postalCode,
String country,
ZonedDateTime lastChangeDateTime) |
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 ProductionSupplyAreaAddress.ProductionSupplyAreaAddressBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductionSupplyAreaAddressField<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 |
getAdditionalStreetSuffixName()
Constraints: Not nullable, Maximum length: 40
|
String |
getBuilding()
Constraints: Not nullable, Maximum length: 20
|
String |
getBusinessPartnerName1()
Constraints: Not nullable, Maximum length: 40
|
String |
getBusinessPartnerName2()
Constraints: Not nullable, Maximum length: 40
|
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.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getPostalCode()
Constraints: Not nullable, Maximum length: 10
|
String |
getProductionSupplyArea()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getProductionSupplyAreaAddressID()
Constraints: Not nullable, Maximum length: 10
|
String |
getStreetName()
Constraints: Not nullable, Maximum length: 60
|
Class<ProductionSupplyAreaAddress> |
getType() |
int |
hashCode() |
void |
setAdditionalStreetSuffixName(String additionalStreetSuffixName)
Constraints: Not nullable, Maximum length: 40
|
void |
setBuilding(String building)
Constraints: Not nullable, Maximum length: 20
|
void |
setBusinessPartnerName1(String businessPartnerName1)
Constraints: Not nullable, Maximum length: 40
|
void |
setBusinessPartnerName2(String businessPartnerName2)
Constraints: Not nullable, Maximum length: 40
|
void |
setCityName(String cityName)
Constraints: Not nullable, Maximum length: 40
|
void |
setCountry(String country)
Constraints: Not nullable, Maximum length: 3
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setPostalCode(String postalCode)
Constraints: Not nullable, Maximum length: 10
|
void |
setProductionSupplyArea(String productionSupplyArea)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setProductionSupplyAreaAddressID(String productionSupplyAreaAddressID)
Constraints: Not nullable, Maximum length: 10
|
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
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final ProductionSupplyAreaAddressSelectable ALL_FIELDS
public static final ProductionSupplyAreaAddressField<String> PRODUCTION_SUPPLY_AREA
public static final ProductionSupplyAreaAddressField<String> PLANT
public static final ProductionSupplyAreaAddressField<String> PRODUCTION_SUPPLY_AREA_ADDRESS_ID
public static final ProductionSupplyAreaAddressField<String> BUSINESS_PARTNER_NAME1
public static final ProductionSupplyAreaAddressField<String> BUSINESS_PARTNER_NAME2
public static final ProductionSupplyAreaAddressField<String> BUILDING
public static final ProductionSupplyAreaAddressField<String> STREET_NAME
public static final ProductionSupplyAreaAddressField<String> ADDITIONAL_STREET_SUFFIX_NAME
public static final ProductionSupplyAreaAddressField<String> CITY_NAME
public static final ProductionSupplyAreaAddressField<String> POSTAL_CODE
public static final ProductionSupplyAreaAddressField<String> COUNTRY
public static final ProductionSupplyAreaAddressField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public ProductionSupplyAreaAddress()
public ProductionSupplyAreaAddress(@Nullable String productionSupplyArea, @Nullable String plant, @Nullable String productionSupplyAreaAddressID, @Nullable String businessPartnerName1, @Nullable String businessPartnerName2, @Nullable String building, @Nullable String streetName, @Nullable String additionalStreetSuffixName, @Nullable String cityName, @Nullable String postalCode, @Nullable String country, @Nullable ZonedDateTime lastChangeDateTime)
@Nonnull public Class<ProductionSupplyAreaAddress> getType()
getType
in class VdmObject<ProductionSupplyAreaAddress>
public void setProductionSupplyArea(@Nullable String productionSupplyArea)
Original property name from the Odata EDM: ProductionSupplyArea
productionSupplyArea
- Production Supply Areapublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setProductionSupplyAreaAddressID(@Nullable String productionSupplyAreaAddressID)
Original property name from the Odata EDM: ProductionSupplyAreaAddressID
productionSupplyAreaAddressID
- Address for Supply Areapublic 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 setBuilding(@Nullable String building)
Original property name from the Odata EDM: Building
This field is not used when the address is printed. The name of a building such as "Empire State Building", which is also to appear in the printout of the address, must be stored above or below the street in one of the fields Street2, Street3, Street4 or Street5, depending on its position. See Print the Street address.
building
- Number or abbreviation of a building in an address.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 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 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 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 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/region code or a typical country/region key, for example, in Germany the Federal statistics office key.The country/region keys are determined at system installation in the global settings.The definition of the country/region keys in the SAP system does not necessarily have to match political or state units.Since the country/region key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country/region key cannot query the country/region key T005-LAND1, but have to program based on the ISO code T005 INTCA.
country
- The country/region key contains information which the system uses to check entries such as the length
of the postal code or bank account number.public void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Last Change Timestampprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProductionSupplyAreaAddress>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductionSupplyAreaAddress>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductionSupplyAreaAddress>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductionSupplyAreaAddress>
@Nonnull public static <T> ProductionSupplyAreaAddressField<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> ProductionSupplyAreaAddressField<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<ProductionSupplyAreaAddress>
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<ProductionSupplyAreaAddress>
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<ProductionSupplyAreaAddress>
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<ProductionSupplyAreaAddress>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductionSupplyAreaAddress.ProductionSupplyAreaAddressBuilder builder()
@Nullable public String getProductionSupplyArea()
Original property name from the Odata EDM: ProductionSupplyArea
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getProductionSupplyAreaAddressID()
Original property name from the Odata EDM: ProductionSupplyAreaAddressID
@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 getBuilding()
Original property name from the Odata EDM: Building
This field is not used when the address is printed. The name of a building such as "Empire State Building", which is also to appear in the printout of the address, must be stored above or below the street in one of the fields Street2, Street3, Street4 or Street5, depending on its position. 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 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 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 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 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/region code or a typical country/region key, for example, in Germany the Federal statistics office key.The country/region keys are determined at system installation in the global settings.The definition of the country/region keys in the SAP system does not necessarily have to match political or state units.Since the country/region key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country/region key cannot query the country/region key T005-LAND1, but have to program based on the ISO code T005 INTCA.
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nonnull public String toString()
toString
in class VdmObject<ProductionSupplyAreaAddress>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductionSupplyAreaAddress>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductionSupplyAreaAddress>
public int hashCode()
hashCode
in class VdmObject<ProductionSupplyAreaAddress>
Copyright © 2021 SAP SE. All rights reserved.