public class SalesDocumentProposalItem extends VdmEntity<SalesDocumentProposalItem>
Original entity name from the Odata EDM: A_SalesDocumentProposalItemType
Modifier and Type | Class and Description |
---|---|
static class |
SalesDocumentProposalItem.SalesDocumentProposalItemBuilder |
Modifier and Type | Field and Description |
---|---|
static SalesDocumentProposalItemSelectable |
ALL_FIELDS
Selector for all available fields of SalesDocumentProposalItem.
|
static SalesDocumentProposalItemField<String> |
BATCH
Use with available fluent helpers to apply the Batch field to query operations.
|
static SalesDocumentProposalItemField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static SalesDocumentProposalItemField<BigDecimal> |
ORDER_QUANTITY
Use with available fluent helpers to apply the OrderQuantity field to query operations.
|
static SalesDocumentProposalItemField<String> |
ORDER_QUANTITY_UNIT
Use with available fluent helpers to apply the OrderQuantityUnit field to query operations.
|
static SalesDocumentProposalItemField<String> |
ORGANIZATION_DIVISION
Use with available fluent helpers to apply the OrganizationDivision field to query operations.
|
static SalesDocumentProposalItemField<String> |
PRODUCT
Use with available fluent helpers to apply the Product field to query operations.
|
static SalesDocumentProposalItemField<String> |
SALES_DOCUMENT_TYPE
Use with available fluent helpers to apply the SalesDocumentType field to query operations.
|
static SalesDocumentProposalItemField<String> |
SALES_GROUP
Use with available fluent helpers to apply the SalesGroup field to query operations.
|
static SalesDocumentProposalItemField<String> |
SALES_OFFICE
Use with available fluent helpers to apply the SalesOffice field to query operations.
|
static SalesDocumentProposalItemField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static SalesDocumentProposalItemField<String> |
SOLD_TO_PARTY
Use with available fluent helpers to apply the SoldToParty field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SalesDocumentProposalItem() |
SalesDocumentProposalItem(String salesOrganization,
String distributionChannel,
String organizationDivision,
String salesGroup,
String salesOffice,
String soldToParty,
String salesDocumentType,
String product,
String batch,
BigDecimal orderQuantity,
String orderQuantityUnit) |
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 SalesDocumentProposalItem.SalesDocumentProposalItemBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> SalesDocumentProposalItemField<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 |
getBatch()
Constraints: Not nullable, Maximum length: 10
|
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.
|
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.
|
protected Map<String,Object> |
getKey() |
BigDecimal |
getOrderQuantity()
Constraints: Not nullable, Precision: 15, Scale: 3
|
String |
getOrderQuantityUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getOrganizationDivision()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getProduct()
Constraints: Not nullable, Maximum length: 40
|
String |
getSalesDocumentType()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getSalesGroup()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getSalesOffice()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getSalesOrganization()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getSoldToParty()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
Class<SalesDocumentProposalItem> |
getType() |
int |
hashCode() |
void |
setBatch(String batch)
Constraints: Not nullable, Maximum length: 10
|
void |
setDistributionChannel(String distributionChannel)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setOrderQuantity(BigDecimal orderQuantity)
Constraints: Not nullable, Precision: 15, Scale: 3
|
void |
setOrderQuantityUnit(String orderQuantityUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setOrganizationDivision(String organizationDivision)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setProduct(String product)
Constraints: Not nullable, Maximum length: 40
|
void |
setSalesDocumentType(String salesDocumentType)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setSalesGroup(String salesGroup)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setSalesOffice(String salesOffice)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setSalesOrganization(String salesOrganization)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSoldToParty(String soldToParty)
(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 SalesDocumentProposalItemSelectable ALL_FIELDS
public static final SalesDocumentProposalItemField<String> SALES_ORGANIZATION
public static final SalesDocumentProposalItemField<String> DISTRIBUTION_CHANNEL
public static final SalesDocumentProposalItemField<String> ORGANIZATION_DIVISION
public static final SalesDocumentProposalItemField<String> SALES_GROUP
public static final SalesDocumentProposalItemField<String> SALES_OFFICE
public static final SalesDocumentProposalItemField<String> SOLD_TO_PARTY
public static final SalesDocumentProposalItemField<String> SALES_DOCUMENT_TYPE
public static final SalesDocumentProposalItemField<String> PRODUCT
public static final SalesDocumentProposalItemField<String> BATCH
public static final SalesDocumentProposalItemField<BigDecimal> ORDER_QUANTITY
public static final SalesDocumentProposalItemField<String> ORDER_QUANTITY_UNIT
public SalesDocumentProposalItem()
public SalesDocumentProposalItem(@Nullable String salesOrganization, @Nullable String distributionChannel, @Nullable String organizationDivision, @Nullable String salesGroup, @Nullable String salesOffice, @Nullable String soldToParty, @Nullable String salesDocumentType, @Nullable String product, @Nullable String batch, @Nullable BigDecimal orderQuantity, @Nullable String orderQuantityUnit)
@Nonnull public Class<SalesDocumentProposalItem> getType()
getType
in class VdmObject<SalesDocumentProposalItem>
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 setOrganizationDivision(@Nullable String organizationDivision)
Original property name from the Odata EDM: OrganizationDivision
organizationDivision
- Divisionpublic void setSalesGroup(@Nullable String salesGroup)
Original property name from the Odata EDM: SalesGroup
salesGroup
- Sales grouppublic void setSalesOffice(@Nullable String salesOffice)
Original property name from the Odata EDM: SalesOffice
salesOffice
- Sales officepublic void setSoldToParty(@Nullable String soldToParty)
Original property name from the Odata EDM: SoldToParty
soldToParty
- Customer Numberpublic void setSalesDocumentType(@Nullable String salesDocumentType)
Original property name from the Odata EDM: SalesDocumentType
salesDocumentType
- Sales Document Typepublic void setProduct(@Nullable String product)
Original property name from the Odata EDM: Product
product
- Material Numberpublic void setBatch(@Nullable String batch)
Original property name from the Odata EDM: Batch
batch
- Batch Numberpublic void setOrderQuantity(@Nullable BigDecimal orderQuantity)
Original property name from the Odata EDM: OrderQuantity
orderQuantity
- Item proposal quantitypublic void setOrderQuantityUnit(@Nullable String orderQuantityUnit)
Original property name from the Odata EDM: OrderQuantityUnit
orderQuantityUnit
- Sales unitprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<SalesDocumentProposalItem>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SalesDocumentProposalItem>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SalesDocumentProposalItem>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SalesDocumentProposalItem>
@Nonnull public static <T> SalesDocumentProposalItemField<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> SalesDocumentProposalItemField<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<SalesDocumentProposalItem>
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<SalesDocumentProposalItem>
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<SalesDocumentProposalItem>
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<SalesDocumentProposalItem>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static SalesDocumentProposalItem.SalesDocumentProposalItemBuilder 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 getOrganizationDivision()
Original property name from the Odata EDM: OrganizationDivision
@Nullable public String getSalesGroup()
Original property name from the Odata EDM: SalesGroup
@Nullable public String getSalesOffice()
Original property name from the Odata EDM: SalesOffice
@Nullable public String getSoldToParty()
Original property name from the Odata EDM: SoldToParty
@Nullable public String getSalesDocumentType()
Original property name from the Odata EDM: SalesDocumentType
@Nullable public String getProduct()
Original property name from the Odata EDM: Product
@Nullable public String getBatch()
Original property name from the Odata EDM: Batch
@Nullable public BigDecimal getOrderQuantity()
Original property name from the Odata EDM: OrderQuantity
@Nullable public String getOrderQuantityUnit()
Original property name from the Odata EDM: OrderQuantityUnit
@Nonnull public String toString()
toString
in class VdmObject<SalesDocumentProposalItem>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<SalesDocumentProposalItem>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<SalesDocumentProposalItem>
public int hashCode()
hashCode
in class VdmObject<SalesDocumentProposalItem>
Copyright © 2021 SAP SE. All rights reserved.