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
- Plantpublic 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
- Name 1public 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
building
- Building (Number or Code)public void setStreetName(@Nullable String streetName)
Original property name from the Odata EDM: StreetName
streetName
- Streetpublic void setAdditionalStreetSuffixName(@Nullable String additionalStreetSuffixName)
Original property name from the Odata EDM: AdditionalStreetSuffixName
additionalStreetSuffixName
- Street 5public void setCityName(@Nullable String cityName)
Original property name from the Odata EDM: CityName
cityName
- Citypublic void setPostalCode(@Nullable String postalCode)
Original property name from the Odata EDM: PostalCode
postalCode
- City postal codepublic void setCountry(@Nullable String country)
Original property name from the Odata EDM: Country
country
- Country Keypublic 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
@Nullable public String getStreetName()
Original property name from the Odata EDM: StreetName
@Nullable public String getAdditionalStreetSuffixName()
Original property name from the Odata EDM: AdditionalStreetSuffixName
@Nullable public String getCityName()
Original property name from the Odata EDM: CityName
@Nullable public String getPostalCode()
Original property name from the Odata EDM: PostalCode
@Nullable public String getCountry()
Original property name from the Odata EDM: Country
@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.