public class ProductMLAccount extends VdmEntity<ProductMLAccount>
Original entity name from the Odata EDM: A_ProductMLAccountType
Modifier and Type | Class and Description |
---|---|
static class |
ProductMLAccount.ProductMLAccountBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductMLAccountSelectable |
ALL_FIELDS
Selector for all available fields of ProductMLAccount.
|
static ProductMLAccountField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static ProductMLAccountField<String> |
CURRENCY_ROLE
Use with available fluent helpers to apply the CurrencyRole field to query operations.
|
static ProductMLAccountField<BigDecimal> |
MOVING_AVERAGE_PRICE
Use with available fluent helpers to apply the MovingAveragePrice field to query operations.
|
static ProductMLAccountField<BigDecimal> |
PRICE_UNIT_QTY
Use with available fluent helpers to apply the PriceUnitQty field to query operations.
|
static ProductMLAccountField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductMLAccountField<String> |
PRODUCT_PRICE_CONTROL
Use with available fluent helpers to apply the ProductPriceControl field to query operations.
|
static ProductMLAccountField<BigDecimal> |
STANDARD_PRICE
Use with available fluent helpers to apply the StandardPrice field to query operations.
|
static ProductMLAccountField<String> |
VALUATION_AREA
Use with available fluent helpers to apply the ValuationArea field to query operations.
|
static ProductMLAccountField<String> |
VALUATION_TYPE
Use with available fluent helpers to apply the ValuationType field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductMLAccount() |
ProductMLAccount(String product,
String valuationArea,
String valuationType,
String currencyRole,
String currency,
String productPriceControl,
BigDecimal priceUnitQty,
BigDecimal movingAveragePrice,
BigDecimal standardPrice) |
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 ProductMLAccount.ProductMLAccountBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductMLAccountField<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 |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
String |
getCurrencyRole()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
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() |
BigDecimal |
getMovingAveragePrice()
Constraints: Not nullable, Precision: 12, Scale: 3
|
BigDecimal |
getPriceUnitQty()
Constraints: Not nullable, Precision: 5, Scale: 0
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getProductPriceControl()
Constraints: Not nullable, Maximum length: 1
|
BigDecimal |
getStandardPrice()
Constraints: Not nullable, Precision: 12, Scale: 3
|
Class<ProductMLAccount> |
getType() |
String |
getValuationArea()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getValuationType()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
int |
hashCode() |
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
void |
setCurrencyRole(String currencyRole)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setMovingAveragePrice(BigDecimal movingAveragePrice)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setPriceUnitQty(BigDecimal priceUnitQty)
Constraints: Not nullable, Precision: 5, Scale: 0
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setProductPriceControl(String productPriceControl)
Constraints: Not nullable, Maximum length: 1
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setStandardPrice(BigDecimal standardPrice)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setValuationArea(String valuationArea)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setValuationType(String valuationType)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
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 ProductMLAccountSelectable ALL_FIELDS
public static final ProductMLAccountField<String> PRODUCT
public static final ProductMLAccountField<String> VALUATION_AREA
public static final ProductMLAccountField<String> VALUATION_TYPE
public static final ProductMLAccountField<String> CURRENCY_ROLE
public static final ProductMLAccountField<String> CURRENCY
public static final ProductMLAccountField<String> PRODUCT_PRICE_CONTROL
public static final ProductMLAccountField<BigDecimal> PRICE_UNIT_QTY
public static final ProductMLAccountField<BigDecimal> MOVING_AVERAGE_PRICE
public static final ProductMLAccountField<BigDecimal> STANDARD_PRICE
public ProductMLAccount()
public ProductMLAccount(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable String currencyRole, @Nullable String currency, @Nullable String productPriceControl, @Nullable BigDecimal priceUnitQty, @Nullable BigDecimal movingAveragePrice, @Nullable BigDecimal standardPrice)
@Nonnull public Class<ProductMLAccount> getType()
getType
in class VdmObject<ProductMLAccount>
public void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Material Numberpublic void setValuationArea(@Nullable String valuationArea)
Original property name from the Odata EDM: ValuationArea
valuationArea
- Valuation areapublic void setValuationType(@Nullable String valuationType)
Original property name from the Odata EDM: ValuationType
valuationType
- Valuation Typepublic void setCurrencyRole(@Nullable String currencyRole)
Original property name from the Odata EDM: CurrencyRole
currencyRole
- Currency Typepublic void setCurrency(@Nullable String currency)
Original property name from the Odata EDM: Currency
currency
- Currency Keypublic void setProductPriceControl(@Nullable String productPriceControl)
Original property name from the Odata EDM: ProductPriceControl
productPriceControl
- Price control indicatorpublic void setPriceUnitQty(@Nullable BigDecimal priceUnitQty)
Original property name from the Odata EDM: PriceUnitQty
priceUnitQty
- Price Unitpublic void setMovingAveragePrice(@Nullable BigDecimal movingAveragePrice)
Original property name from the Odata EDM: MovingAveragePrice
movingAveragePrice
- Periodic Unit Pricepublic void setStandardPrice(@Nullable BigDecimal standardPrice)
Original property name from the Odata EDM: StandardPrice
standardPrice
- Standard Priceprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProductMLAccount>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductMLAccount>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductMLAccount>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductMLAccount>
@Nonnull public static <T> ProductMLAccountField<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> ProductMLAccountField<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<ProductMLAccount>
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<ProductMLAccount>
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<ProductMLAccount>
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<ProductMLAccount>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductMLAccount.ProductMLAccountBuilder builder()
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getValuationArea()
Original property name from the Odata EDM: ValuationArea
@Nullable public String getValuationType()
Original property name from the Odata EDM: ValuationType
@Nullable public String getCurrencyRole()
Original property name from the Odata EDM: CurrencyRole
@Nullable public String getCurrency()
Original property name from the Odata EDM: Currency
@Nullable public String getProductPriceControl()
Original property name from the Odata EDM: ProductPriceControl
@Nullable public BigDecimal getPriceUnitQty()
Original property name from the Odata EDM: PriceUnitQty
@Nullable public BigDecimal getMovingAveragePrice()
Original property name from the Odata EDM: MovingAveragePrice
@Nullable public BigDecimal getStandardPrice()
Original property name from the Odata EDM: StandardPrice
@Nonnull public String toString()
toString
in class VdmObject<ProductMLAccount>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductMLAccount>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductMLAccount>
public int hashCode()
hashCode
in class VdmObject<ProductMLAccount>
Copyright © 2021 SAP SE. All rights reserved.