public class CustomerMaterial extends VdmEntity<CustomerMaterial>
Original entity name from the Odata EDM: A_CustomerMaterialType
Modifier and Type | Class and Description |
---|---|
static class |
CustomerMaterial.CustomerMaterialBuilder |
Modifier and Type | Field and Description |
---|---|
static CustomerMaterialSelectable |
ALL_FIELDS
Selector for all available fields of CustomerMaterial.
|
static CustomerMaterialField<String> |
BASE_UNIT
Use with available fluent helpers to apply the BaseUnit field to query operations.
|
static CustomerMaterialField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations.
|
static CustomerMaterialField<String> |
CUSTOMER_MATERIAL_ITEM_USAGE
Use with available fluent helpers to apply the CustomerMaterialItemUsage field to query operations.
|
static CustomerMaterialField<String> |
DELIVERY_PRIORITY
Use with available fluent helpers to apply the DeliveryPriority field to query operations.
|
static CustomerMaterialField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static CustomerMaterialField<String> |
E_TAG
Use with available fluent helpers to apply the ETag field to query operations.
|
static CustomerMaterialField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static CustomerMaterialField<String> |
MATERIAL_BY_CUSTOMER
Use with available fluent helpers to apply the MaterialByCustomer field to query operations.
|
static CustomerMaterialField<String> |
MATERIAL_DESCRIPTION_BY_CUSTOMER
Use with available fluent helpers to apply the MaterialDescriptionByCustomer field to query operations.
|
static CustomerMaterialField<BigDecimal> |
MAX_NMBR_OF_PARTIAL_DELIVERY
Use with available fluent helpers to apply the MaxNmbrOfPartialDelivery field to query operations.
|
static CustomerMaterialField<BigDecimal> |
MIN_DELIVERY_QTY_IN_BASE_UNIT
Use with available fluent helpers to apply the MinDeliveryQtyInBaseUnit field to query operations.
|
static CustomerMaterialField<BigDecimal> |
OVERDELIV_TOLRTD_LMT_RATIO_IN_PCT
Use with available fluent helpers to apply the OverdelivTolrtdLmtRatioInPct field to query operations.
|
static CustomerMaterialField<String> |
PARTIAL_DELIVERY_IS_ALLOWED
Use with available fluent helpers to apply the PartialDeliveryIsAllowed field to query operations.
|
static CustomerMaterialField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static CustomerMaterialField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static CustomerMaterialField<BigDecimal> |
SALES_QTY_TO_BASE_QTY_DNMNTR
Use with available fluent helpers to apply the SalesQtyToBaseQtyDnmntr field to query operations.
|
static CustomerMaterialField<BigDecimal> |
SALES_QTY_TO_BASE_QTY_NMRTR
Use with available fluent helpers to apply the SalesQtyToBaseQtyNmrtr field to query operations.
|
static CustomerMaterialField<String> |
SALES_UNIT
Use with available fluent helpers to apply the SalesUnit field to query operations.
|
static CustomerMaterialField<BigDecimal> |
UNDERDELIV_TOLRTD_LMT_RATIO_IN_PCT
Use with available fluent helpers to apply the UnderdelivTolrtdLmtRatioInPct field to query operations.
|
static CustomerMaterialField<Boolean> |
UNLIMITED_OVERDELIVERY_IS_ALLOWED
Use with available fluent helpers to apply the UnlimitedOverdeliveryIsAllowed field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CustomerMaterial() |
CustomerMaterial(String salesOrganization,
String distributionChannel,
String customer,
String material,
String materialByCustomer,
String materialDescriptionByCustomer,
String plant,
String deliveryPriority,
BigDecimal minDeliveryQtyInBaseUnit,
String baseUnit,
String partialDeliveryIsAllowed,
BigDecimal maxNmbrOfPartialDelivery,
BigDecimal underdelivTolrtdLmtRatioInPct,
BigDecimal overdelivTolrtdLmtRatioInPct,
Boolean unlimitedOverdeliveryIsAllowed,
String customerMaterialItemUsage,
String salesUnit,
BigDecimal salesQtyToBaseQtyDnmntr,
BigDecimal salesQtyToBaseQtyNmrtr,
String eTag) |
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 CustomerMaterial.CustomerMaterialBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> CustomerMaterialField<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 |
getBaseUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getCustomer()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerMaterialItemUsage()
Constraints: Not nullable, Maximum length: 4
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getDeliveryPriority()
Constraints: Not nullable, Maximum length: 2
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDistributionChannel()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
String |
getETag()
Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
getKey() |
String |
getMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
String |
getMaterialByCustomer()
Constraints: Not nullable, Maximum length: 35
|
String |
getMaterialDescriptionByCustomer()
Constraints: Not nullable, Maximum length: 40
|
BigDecimal |
getMaxNmbrOfPartialDelivery()
Constraints: Not nullable, Precision: 1, Scale: 0
|
BigDecimal |
getMinDeliveryQtyInBaseUnit()
Constraints: Not nullable, Precision: 13, Scale: 3
|
BigDecimal |
getOverdelivTolrtdLmtRatioInPct()
Constraints: Not nullable, Precision: 3, Scale: 1
|
String |
getPartialDeliveryIsAllowed()
Constraints: Not nullable, Maximum length: 1
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getSalesOrganization()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
BigDecimal |
getSalesQtyToBaseQtyDnmntr()
Constraints: Not nullable, Precision: 5, Scale: 0
|
BigDecimal |
getSalesQtyToBaseQtyNmrtr()
Constraints: Not nullable, Precision: 5, Scale: 0
|
String |
getSalesUnit()
Constraints: Not nullable, Maximum length: 3
|
Class<CustomerMaterial> |
getType() |
BigDecimal |
getUnderdelivTolrtdLmtRatioInPct()
Constraints: Not nullable, Precision: 3, Scale: 1
|
Boolean |
getUnlimitedOverdeliveryIsAllowed()
Constraints: none
|
int |
hashCode() |
void |
setBaseUnit(String baseUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCustomer(String customer)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerMaterialItemUsage(String customerMaterialItemUsage)
Constraints: Not nullable, Maximum length: 4
|
void |
setDeliveryPriority(String deliveryPriority)
Constraints: Not nullable, Maximum length: 2
|
void |
setDistributionChannel(String distributionChannel)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setETag(String eTag)
Constraints: Not nullable, Maximum length: 10
|
void |
setMaterial(String material)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setMaterialByCustomer(String materialByCustomer)
Constraints: Not nullable, Maximum length: 35
|
void |
setMaterialDescriptionByCustomer(String materialDescriptionByCustomer)
Constraints: Not nullable, Maximum length: 40
|
void |
setMaxNmbrOfPartialDelivery(BigDecimal maxNmbrOfPartialDelivery)
Constraints: Not nullable, Precision: 1, Scale: 0
|
void |
setMinDeliveryQtyInBaseUnit(BigDecimal minDeliveryQtyInBaseUnit)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setOverdelivTolrtdLmtRatioInPct(BigDecimal overdelivTolrtdLmtRatioInPct)
Constraints: Not nullable, Precision: 3, Scale: 1
|
void |
setPartialDeliveryIsAllowed(String partialDeliveryIsAllowed)
Constraints: Not nullable, Maximum length: 1
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setSalesOrganization(String salesOrganization)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setSalesQtyToBaseQtyDnmntr(BigDecimal salesQtyToBaseQtyDnmntr)
Constraints: Not nullable, Precision: 5, Scale: 0
|
void |
setSalesQtyToBaseQtyNmrtr(BigDecimal salesQtyToBaseQtyNmrtr)
Constraints: Not nullable, Precision: 5, Scale: 0
|
void |
setSalesUnit(String salesUnit)
Constraints: Not nullable, Maximum length: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setUnderdelivTolrtdLmtRatioInPct(BigDecimal underdelivTolrtdLmtRatioInPct)
Constraints: Not nullable, Precision: 3, Scale: 1
|
void |
setUnlimitedOverdeliveryIsAllowed(Boolean unlimitedOverdeliveryIsAllowed)
Constraints: none
|
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 CustomerMaterialSelectable ALL_FIELDS
public static final CustomerMaterialField<String> SALES_ORGANIZATION
public static final CustomerMaterialField<String> DISTRIBUTION_CHANNEL
public static final CustomerMaterialField<String> CUSTOMER
public static final CustomerMaterialField<String> MATERIAL
public static final CustomerMaterialField<String> MATERIAL_BY_CUSTOMER
public static final CustomerMaterialField<String> MATERIAL_DESCRIPTION_BY_CUSTOMER
public static final CustomerMaterialField<String> PLANT
public static final CustomerMaterialField<String> DELIVERY_PRIORITY
public static final CustomerMaterialField<BigDecimal> MIN_DELIVERY_QTY_IN_BASE_UNIT
public static final CustomerMaterialField<String> BASE_UNIT
public static final CustomerMaterialField<String> PARTIAL_DELIVERY_IS_ALLOWED
public static final CustomerMaterialField<BigDecimal> MAX_NMBR_OF_PARTIAL_DELIVERY
public static final CustomerMaterialField<BigDecimal> UNDERDELIV_TOLRTD_LMT_RATIO_IN_PCT
public static final CustomerMaterialField<BigDecimal> OVERDELIV_TOLRTD_LMT_RATIO_IN_PCT
public static final CustomerMaterialField<Boolean> UNLIMITED_OVERDELIVERY_IS_ALLOWED
public static final CustomerMaterialField<String> CUSTOMER_MATERIAL_ITEM_USAGE
public static final CustomerMaterialField<String> SALES_UNIT
public static final CustomerMaterialField<BigDecimal> SALES_QTY_TO_BASE_QTY_DNMNTR
public static final CustomerMaterialField<BigDecimal> SALES_QTY_TO_BASE_QTY_NMRTR
public static final CustomerMaterialField<String> E_TAG
public CustomerMaterial()
public CustomerMaterial(@Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String customer, @Nullable String material, @Nullable String materialByCustomer, @Nullable String materialDescriptionByCustomer, @Nullable String plant, @Nullable String deliveryPriority, @Nullable BigDecimal minDeliveryQtyInBaseUnit, @Nullable String baseUnit, @Nullable String partialDeliveryIsAllowed, @Nullable BigDecimal maxNmbrOfPartialDelivery, @Nullable BigDecimal underdelivTolrtdLmtRatioInPct, @Nullable BigDecimal overdelivTolrtdLmtRatioInPct, @Nullable Boolean unlimitedOverdeliveryIsAllowed, @Nullable String customerMaterialItemUsage, @Nullable String salesUnit, @Nullable BigDecimal salesQtyToBaseQtyDnmntr, @Nullable BigDecimal salesQtyToBaseQtyNmrtr, @Nullable String eTag)
@Nonnull public Class<CustomerMaterial> getType()
getType
in class VdmObject<CustomerMaterial>
public void setSalesOrganization(@Nullable String salesOrganization)
Original property name from the Odata EDM: SalesOrganization
salesOrganization
- Sales Organizationpublic void setDistributionChannel(@Nullable String distributionChannel)
Original property name from the Odata EDM: DistributionChannel
distributionChannel
- Distribution Channelpublic void setCustomer(@Nullable String customer)
Original property name from the Odata EDM: Customer
customer
- Customer numberpublic void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Material Numberpublic void setMaterialByCustomer(@Nullable String materialByCustomer)
Original property name from the Odata EDM: MaterialByCustomer
materialByCustomer
- Material Number Used by Customerpublic void setMaterialDescriptionByCustomer(@Nullable String materialDescriptionByCustomer)
Original property name from the Odata EDM: MaterialDescriptionByCustomer
materialDescriptionByCustomer
- Customer Description of Materialpublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plant (Own or External)public void setDeliveryPriority(@Nullable String deliveryPriority)
Original property name from the Odata EDM: DeliveryPriority
deliveryPriority
- Delivery Prioritypublic void setMinDeliveryQtyInBaseUnit(@Nullable BigDecimal minDeliveryQtyInBaseUnit)
Original property name from the Odata EDM: MinDeliveryQtyInBaseUnit
minDeliveryQtyInBaseUnit
- Minimum Delivery Quantity in Delivery Note Processingpublic void setBaseUnit(@Nullable String baseUnit)
Original property name from the Odata EDM: BaseUnit
baseUnit
- Base Unit of Measurepublic void setPartialDeliveryIsAllowed(@Nullable String partialDeliveryIsAllowed)
Original property name from the Odata EDM: PartialDeliveryIsAllowed
partialDeliveryIsAllowed
- Partial delivery at item levelpublic void setMaxNmbrOfPartialDelivery(@Nullable BigDecimal maxNmbrOfPartialDelivery)
Original property name from the Odata EDM: MaxNmbrOfPartialDelivery
maxNmbrOfPartialDelivery
- Maximum Number of Partial Deliveries Allowed Per Itempublic void setUnderdelivTolrtdLmtRatioInPct(@Nullable BigDecimal underdelivTolrtdLmtRatioInPct)
Original property name from the Odata EDM: UnderdelivTolrtdLmtRatioInPct
underdelivTolrtdLmtRatioInPct
- Underdelivery Tolerancepublic void setOverdelivTolrtdLmtRatioInPct(@Nullable BigDecimal overdelivTolrtdLmtRatioInPct)
Original property name from the Odata EDM: OverdelivTolrtdLmtRatioInPct
overdelivTolrtdLmtRatioInPct
- Overdelivery Tolerancepublic void setUnlimitedOverdeliveryIsAllowed(@Nullable Boolean unlimitedOverdeliveryIsAllowed)
Original property name from the Odata EDM: UnlimitedOverdeliveryIsAllowed
unlimitedOverdeliveryIsAllowed
- Unlimited Overdelivery Allowedpublic void setCustomerMaterialItemUsage(@Nullable String customerMaterialItemUsage)
Original property name from the Odata EDM: CustomerMaterialItemUsage
customerMaterialItemUsage
- Item Usagepublic void setSalesUnit(@Nullable String salesUnit)
Original property name from the Odata EDM: SalesUnit
salesUnit
- Sales unitpublic void setSalesQtyToBaseQtyDnmntr(@Nullable BigDecimal salesQtyToBaseQtyDnmntr)
Original property name from the Odata EDM: SalesQtyToBaseQtyDnmntr
salesQtyToBaseQtyDnmntr
- Denominator (Divisor) for Conversion of Sales Qty into SKUpublic void setSalesQtyToBaseQtyNmrtr(@Nullable BigDecimal salesQtyToBaseQtyNmrtr)
Original property name from the Odata EDM: SalesQtyToBaseQtyNmrtr
salesQtyToBaseQtyNmrtr
- Numerator (factor) for conversion of sales quantity into SKUpublic void setETag(@Nullable String eTag)
Original property name from the Odata EDM: ETag
eTag
- ETagprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<CustomerMaterial>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CustomerMaterial>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CustomerMaterial>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CustomerMaterial>
@Nonnull public static <T> CustomerMaterialField<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> CustomerMaterialField<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<CustomerMaterial>
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<CustomerMaterial>
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<CustomerMaterial>
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<CustomerMaterial>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static CustomerMaterial.CustomerMaterialBuilder builder()
@Nullable public String getSalesOrganization()
Original property name from the Odata EDM: SalesOrganization
@Nullable public String getDistributionChannel()
Original property name from the Odata EDM: DistributionChannel
@Nullable public String getCustomer()
Original property name from the Odata EDM: Customer
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getMaterialByCustomer()
Original property name from the Odata EDM: MaterialByCustomer
@Nullable public String getMaterialDescriptionByCustomer()
Original property name from the Odata EDM: MaterialDescriptionByCustomer
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getDeliveryPriority()
Original property name from the Odata EDM: DeliveryPriority
@Nullable public BigDecimal getMinDeliveryQtyInBaseUnit()
Original property name from the Odata EDM: MinDeliveryQtyInBaseUnit
@Nullable public String getBaseUnit()
Original property name from the Odata EDM: BaseUnit
@Nullable public String getPartialDeliveryIsAllowed()
Original property name from the Odata EDM: PartialDeliveryIsAllowed
@Nullable public BigDecimal getMaxNmbrOfPartialDelivery()
Original property name from the Odata EDM: MaxNmbrOfPartialDelivery
@Nullable public BigDecimal getUnderdelivTolrtdLmtRatioInPct()
Original property name from the Odata EDM: UnderdelivTolrtdLmtRatioInPct
@Nullable public BigDecimal getOverdelivTolrtdLmtRatioInPct()
Original property name from the Odata EDM: OverdelivTolrtdLmtRatioInPct
@Nullable public Boolean getUnlimitedOverdeliveryIsAllowed()
Original property name from the Odata EDM: UnlimitedOverdeliveryIsAllowed
@Nullable public String getCustomerMaterialItemUsage()
Original property name from the Odata EDM: CustomerMaterialItemUsage
@Nullable public String getSalesUnit()
Original property name from the Odata EDM: SalesUnit
@Nullable public BigDecimal getSalesQtyToBaseQtyDnmntr()
Original property name from the Odata EDM: SalesQtyToBaseQtyDnmntr
@Nullable public BigDecimal getSalesQtyToBaseQtyNmrtr()
Original property name from the Odata EDM: SalesQtyToBaseQtyNmrtr
@Nullable public String getETag()
Original property name from the Odata EDM: ETag
@Nonnull public String toString()
toString
in class VdmObject<CustomerMaterial>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<CustomerMaterial>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<CustomerMaterial>
public int hashCode()
hashCode
in class VdmObject<CustomerMaterial>
Copyright © 2021 SAP SE. All rights reserved.