public class ProductMLPrices extends VdmEntity<ProductMLPrices>
Original entity name from the Odata EDM: A_ProductMLPricesType
Modifier and Type | Class and Description |
---|---|
static class |
ProductMLPrices.ProductMLPricesBuilder |
Modifier and Type | Field and Description |
---|---|
static ProductMLPricesSelectable |
ALL_FIELDS
Selector for all available fields of ProductMLPrices.
|
static ProductMLPricesField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static ProductMLPricesField<String> |
CURRENCY_ROLE
Use with available fluent helpers to apply the CurrencyRole field to query operations.
|
static ProductMLPricesField<BigDecimal> |
FUTURE_PRICE
Use with available fluent helpers to apply the FuturePrice field to query operations.
|
static ProductMLPricesField<LocalDateTime> |
FUTURE_PRICE_VALIDITY_START_DATE
Use with available fluent helpers to apply the FuturePriceValidityStartDate field to query operations.
|
static ProductMLPricesField<BigDecimal> |
PLANNED_PRICE
Use with available fluent helpers to apply the PlannedPrice field to query operations.
|
static ProductMLPricesField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static ProductMLPricesField<String> |
VALUATION_AREA
Use with available fluent helpers to apply the ValuationArea field to query operations.
|
static ProductMLPricesField<String> |
VALUATION_TYPE
Use with available fluent helpers to apply the ValuationType field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
ProductMLPrices() |
ProductMLPrices(String product,
String valuationArea,
String valuationType,
String currencyRole,
String currency,
BigDecimal futurePrice,
LocalDateTime futurePriceValidityStartDate,
BigDecimal plannedPrice) |
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 ProductMLPrices.ProductMLPricesBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> ProductMLPricesField<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.
|
BigDecimal |
getFuturePrice()
Constraints: Not nullable, Precision: 12, Scale: 3
|
LocalDateTime |
getFuturePriceValidityStartDate()
Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getPlannedPrice()
Constraints: Not nullable, Precision: 24, Scale: 3
|
String |
getProduct()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
Class<ProductMLPrices> |
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 |
setFuturePrice(BigDecimal futurePrice)
Constraints: Not nullable, Precision: 12, Scale: 3
|
void |
setFuturePriceValidityStartDate(LocalDateTime futurePriceValidityStartDate)
Constraints: Not nullable, Precision: 0
|
void |
setPlannedPrice(BigDecimal plannedPrice)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setProduct(String product)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
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 ProductMLPricesSelectable ALL_FIELDS
public static final ProductMLPricesField<String> PRODUCT
public static final ProductMLPricesField<String> VALUATION_AREA
public static final ProductMLPricesField<String> VALUATION_TYPE
public static final ProductMLPricesField<String> CURRENCY_ROLE
public static final ProductMLPricesField<String> CURRENCY
public static final ProductMLPricesField<BigDecimal> FUTURE_PRICE
public static final ProductMLPricesField<LocalDateTime> FUTURE_PRICE_VALIDITY_START_DATE
public static final ProductMLPricesField<BigDecimal> PLANNED_PRICE
public ProductMLPrices()
public ProductMLPrices(@Nullable String product, @Nullable String valuationArea, @Nullable String valuationType, @Nullable String currencyRole, @Nullable String currency, @Nullable BigDecimal futurePrice, @Nullable LocalDateTime futurePriceValidityStartDate, @Nullable BigDecimal plannedPrice)
@Nonnull public Class<ProductMLPrices> getType()
getType
in class VdmObject<ProductMLPrices>
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 setFuturePrice(@Nullable BigDecimal futurePrice)
Original property name from the Odata EDM: FuturePrice
futurePrice
- Future pricepublic void setFuturePriceValidityStartDate(@Nullable LocalDateTime futurePriceValidityStartDate)
Original property name from the Odata EDM: FuturePriceValidityStartDate
futurePriceValidityStartDate
- Date from Which a Future Valuation Price Is to Be Validpublic void setPlannedPrice(@Nullable BigDecimal plannedPrice)
Original property name from the Odata EDM: PlannedPrice
plannedPrice
- Costprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<ProductMLPrices>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<ProductMLPrices>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<ProductMLPrices>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<ProductMLPrices>
@Nonnull public static <T> ProductMLPricesField<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> ProductMLPricesField<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<ProductMLPrices>
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<ProductMLPrices>
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<ProductMLPrices>
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<ProductMLPrices>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static ProductMLPrices.ProductMLPricesBuilder 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 BigDecimal getFuturePrice()
Original property name from the Odata EDM: FuturePrice
@Nullable public LocalDateTime getFuturePriceValidityStartDate()
Original property name from the Odata EDM: FuturePriceValidityStartDate
@Nullable public BigDecimal getPlannedPrice()
Original property name from the Odata EDM: PlannedPrice
@Nonnull public String toString()
toString
in class VdmObject<ProductMLPrices>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<ProductMLPrices>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<ProductMLPrices>
public int hashCode()
hashCode
in class VdmObject<ProductMLPrices>
Copyright © 2021 SAP SE. All rights reserved.