public class VMSVehicleSalesOrder extends VdmEntity<VMSVehicleSalesOrder>
Original entity name from the Odata EDM: A_VMSVehicleSalesOrderType
Modifier and Type | Class and Description |
---|---|
static class |
VMSVehicleSalesOrder.VMSVehicleSalesOrderBuilder |
Modifier and Type | Field and Description |
---|---|
static VMSVehicleSalesOrderSelectable |
ALL_FIELDS
Selector for all available fields of VMSVehicleSalesOrder.
|
static VMSVehicleSalesOrderField<String> |
COST_CENTER
Use with available fluent helpers to apply the CostCenter field to query operations.
|
static VMSVehicleSalesOrderField<String> |
CREATED_BY_USER_NAME
Use with available fluent helpers to apply the CreatedByUserName field to query operations.
|
static VMSVehicleSalesOrderField<String> |
DISTRIBUTION_CHANNEL
Use with available fluent helpers to apply the DistributionChannel field to query operations.
|
static VMSVehicleSalesOrderField<String> |
LOGICAL_SYSTEM
Use with available fluent helpers to apply the LogicalSystem field to query operations.
|
static VMSVehicleSalesOrderField<BigDecimal> |
NET_AMOUNT
Use with available fluent helpers to apply the NetAmount field to query operations.
|
static VMSVehicleSalesOrderField<String> |
ORGANIZATION_DIVISION
Use with available fluent helpers to apply the OrganizationDivision field to query operations.
|
static VMSVehicleSalesOrderField<String> |
OVERALL_SD_PROCESS_STATUS
Use with available fluent helpers to apply the OverallSDProcessStatus field to query operations.
|
static VMSVehicleSalesOrderField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static VMSVehicleSalesOrderField<String> |
PURCHASING_DOC_REFERENCE_BY_CUST
Use with available fluent helpers to apply the PurchasingDocReferenceByCust field to query operations.
|
static VMSVehicleSalesOrderField<String> |
SALES_DOCUMENT_CURRENCY
Use with available fluent helpers to apply the SalesDocumentCurrency field to query operations.
|
static VMSVehicleSalesOrderField<String> |
SALES_ORDER
Use with available fluent helpers to apply the SalesOrder field to query operations.
|
static VMSVehicleSalesOrderField<LocalDateTime> |
SALES_ORDER_DATE
Use with available fluent helpers to apply the SalesOrderDate field to query operations.
|
static VMSVehicleSalesOrderField<String> |
SALES_ORDER_ITEM
Use with available fluent helpers to apply the SalesOrderItem field to query operations.
|
static VMSVehicleSalesOrderField<String> |
SALES_ORGANIZATION
Use with available fluent helpers to apply the SalesOrganization field to query operations.
|
static VMSVehicleSalesOrderField<String> |
SOLD_TO_PARTY
Use with available fluent helpers to apply the SoldToParty field to query operations.
|
static VMSVehicleSalesOrderField<ZonedDateTime> |
VMS_VEHICLE_ACTION_DATE_TIME
Use with available fluent helpers to apply the VMSVehicleActionDateTime field to query operations.
|
static VMSVehicleSalesOrderField<String> |
VMS_VEHICLE_ACTION_DOC_TYPE
Use with available fluent helpers to apply the VMSVehicleActionDocType field to query operations.
|
static VMSVehicleSalesOrderField<UUID> |
VMS_VEHICLE_UUID
Use with available fluent helpers to apply the VMSVehicleUUID field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
VMSVehicleSalesOrder() |
VMSVehicleSalesOrder(UUID vMSVehicleUUID,
ZonedDateTime vMSVehicleActionDateTime,
String vMSVehicleActionDocType,
String salesOrder,
String salesOrderItem,
String createdByUserName,
String purchasingDocReferenceByCust,
String soldToParty,
String costCenter,
String salesOrganization,
LocalDateTime salesOrderDate,
String overallSDProcessStatus,
String distributionChannel,
String plant,
String organizationDivision,
BigDecimal netAmount,
String salesDocumentCurrency,
String logicalSystem) |
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 VMSVehicleSalesOrder.VMSVehicleSalesOrderBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> VMSVehicleSalesOrderField<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 |
getCostCenter()
Constraints: Not nullable, Maximum length: 10
|
String |
getCreatedByUserName()
Constraints: Not nullable, Maximum length: 12
|
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()
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() |
String |
getLogicalSystem()
Constraints: Not nullable, Maximum length: 10
|
BigDecimal |
getNetAmount()
Constraints: Not nullable, Precision: 16, Scale: 3
|
String |
getOrganizationDivision()
Constraints: Not nullable, Maximum length: 2
|
String |
getOverallSDProcessStatus()
Constraints: Not nullable, Maximum length: 1
|
String |
getPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getPurchasingDocReferenceByCust()
Constraints: Not nullable, Maximum length: 20
|
String |
getSalesDocumentCurrency()
Constraints: Not nullable, Maximum length: 5
|
String |
getSalesOrder()
Constraints: Not nullable, Maximum length: 10
|
LocalDateTime |
getSalesOrderDate()
Constraints: Not nullable, Precision: 0
|
String |
getSalesOrderItem()
Constraints: Not nullable, Maximum length: 6
|
String |
getSalesOrganization()
Constraints: Not nullable, Maximum length: 4
|
String |
getSoldToParty()
Constraints: Not nullable, Maximum length: 10
|
Class<VMSVehicleSalesOrder> |
getType() |
ZonedDateTime |
getVMSVehicleActionDateTime()
(Key Field) Constraints: Not nullable, Precision: 7
|
String |
getVMSVehicleActionDocType()
Constraints: Not nullable, Maximum length: 4
|
UUID |
getVMSVehicleUUID()
(Key Field) Constraints: Not nullable
|
int |
hashCode() |
void |
setCostCenter(String costCenter)
Constraints: Not nullable, Maximum length: 10
|
void |
setCreatedByUserName(String createdByUserName)
Constraints: Not nullable, Maximum length: 12
|
void |
setDistributionChannel(String distributionChannel)
Constraints: Not nullable, Maximum length: 2
|
void |
setLogicalSystem(String logicalSystem)
Constraints: Not nullable, Maximum length: 10
|
void |
setNetAmount(BigDecimal netAmount)
Constraints: Not nullable, Precision: 16, Scale: 3
|
void |
setOrganizationDivision(String organizationDivision)
Constraints: Not nullable, Maximum length: 2
|
void |
setOverallSDProcessStatus(String overallSDProcessStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setPlant(String plant)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurchasingDocReferenceByCust(String purchasingDocReferenceByCust)
Constraints: Not nullable, Maximum length: 20
|
void |
setSalesDocumentCurrency(String salesDocumentCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setSalesOrder(String salesOrder)
Constraints: Not nullable, Maximum length: 10
|
void |
setSalesOrderDate(LocalDateTime salesOrderDate)
Constraints: Not nullable, Precision: 0
|
void |
setSalesOrderItem(String salesOrderItem)
Constraints: Not nullable, Maximum length: 6
|
void |
setSalesOrganization(String salesOrganization)
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)
Constraints: Not nullable, Maximum length: 10
|
void |
setVMSVehicleActionDateTime(ZonedDateTime vMSVehicleActionDateTime)
(Key Field) Constraints: Not nullable, Precision: 7
|
void |
setVMSVehicleActionDocType(String vMSVehicleActionDocType)
Constraints: Not nullable, Maximum length: 4
|
void |
setVMSVehicleUUID(UUID vMSVehicleUUID)
(Key Field) Constraints: Not nullable
|
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 VMSVehicleSalesOrderSelectable ALL_FIELDS
public static final VMSVehicleSalesOrderField<UUID> VMS_VEHICLE_UUID
public static final VMSVehicleSalesOrderField<ZonedDateTime> VMS_VEHICLE_ACTION_DATE_TIME
public static final VMSVehicleSalesOrderField<String> VMS_VEHICLE_ACTION_DOC_TYPE
public static final VMSVehicleSalesOrderField<String> SALES_ORDER
public static final VMSVehicleSalesOrderField<String> SALES_ORDER_ITEM
public static final VMSVehicleSalesOrderField<String> CREATED_BY_USER_NAME
public static final VMSVehicleSalesOrderField<String> PURCHASING_DOC_REFERENCE_BY_CUST
public static final VMSVehicleSalesOrderField<String> SOLD_TO_PARTY
public static final VMSVehicleSalesOrderField<String> COST_CENTER
public static final VMSVehicleSalesOrderField<String> SALES_ORGANIZATION
public static final VMSVehicleSalesOrderField<LocalDateTime> SALES_ORDER_DATE
public static final VMSVehicleSalesOrderField<String> OVERALL_SD_PROCESS_STATUS
public static final VMSVehicleSalesOrderField<String> DISTRIBUTION_CHANNEL
public static final VMSVehicleSalesOrderField<String> PLANT
public static final VMSVehicleSalesOrderField<String> ORGANIZATION_DIVISION
public static final VMSVehicleSalesOrderField<BigDecimal> NET_AMOUNT
public static final VMSVehicleSalesOrderField<String> SALES_DOCUMENT_CURRENCY
public static final VMSVehicleSalesOrderField<String> LOGICAL_SYSTEM
public VMSVehicleSalesOrder()
public VMSVehicleSalesOrder(@Nullable UUID vMSVehicleUUID, @Nullable ZonedDateTime vMSVehicleActionDateTime, @Nullable String vMSVehicleActionDocType, @Nullable String salesOrder, @Nullable String salesOrderItem, @Nullable String createdByUserName, @Nullable String purchasingDocReferenceByCust, @Nullable String soldToParty, @Nullable String costCenter, @Nullable String salesOrganization, @Nullable LocalDateTime salesOrderDate, @Nullable String overallSDProcessStatus, @Nullable String distributionChannel, @Nullable String plant, @Nullable String organizationDivision, @Nullable BigDecimal netAmount, @Nullable String salesDocumentCurrency, @Nullable String logicalSystem)
@Nonnull public Class<VMSVehicleSalesOrder> getType()
getType
in class VdmObject<VMSVehicleSalesOrder>
public void setVMSVehicleUUID(@Nullable UUID vMSVehicleUUID)
Original property name from the Odata EDM: VMSVehicleUUID
vMSVehicleUUID
- Vehicle GUID (Globally Unique IDentifier)public void setVMSVehicleActionDateTime(@Nullable ZonedDateTime vMSVehicleActionDateTime)
Original property name from the Odata EDM: VMSVehicleActionDateTime
vMSVehicleActionDateTime
- Long Time Stamppublic void setVMSVehicleActionDocType(@Nullable String vMSVehicleActionDocType)
Original property name from the Odata EDM: VMSVehicleActionDocType
vMSVehicleActionDocType
- Type of Document for Actionpublic void setSalesOrder(@Nullable String salesOrder)
Original property name from the Odata EDM: SalesOrder
salesOrder
- Sales Documentpublic void setSalesOrderItem(@Nullable String salesOrderItem)
Original property name from the Odata EDM: SalesOrderItem
salesOrderItem
- Sales Document Itempublic void setCreatedByUserName(@Nullable String createdByUserName)
Original property name from the Odata EDM: CreatedByUserName
createdByUserName
- Name of Person Who Created Objectpublic void setPurchasingDocReferenceByCust(@Nullable String purchasingDocReferenceByCust)
Original property name from the Odata EDM: PurchasingDocReferenceByCust
purchasingDocReferenceByCust
- Customer Referencepublic void setSoldToParty(@Nullable String soldToParty)
Original property name from the Odata EDM: SoldToParty
soldToParty
- Sold-To Partypublic void setCostCenter(@Nullable String costCenter)
Original property name from the Odata EDM: CostCenter
costCenter
- Cost Centerpublic void setSalesOrganization(@Nullable String salesOrganization)
Original property name from the Odata EDM: SalesOrganization
salesOrganization
- Sales Organizationpublic void setSalesOrderDate(@Nullable LocalDateTime salesOrderDate)
Original property name from the Odata EDM: SalesOrderDate
salesOrderDate
- Document Date (Date Received/Sent)public void setOverallSDProcessStatus(@Nullable String overallSDProcessStatus)
Original property name from the Odata EDM: OverallSDProcessStatus
overallSDProcessStatus
- Overall Processing Status (Header/All Items)public void setDistributionChannel(@Nullable String distributionChannel)
Original property name from the Odata EDM: DistributionChannel
distributionChannel
- Distribution Channelpublic void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Plant (Own or External)public void setOrganizationDivision(@Nullable String organizationDivision)
Original property name from the Odata EDM: OrganizationDivision
organizationDivision
- Divisionpublic void setNetAmount(@Nullable BigDecimal netAmount)
Original property name from the Odata EDM: NetAmount
netAmount
- Net Value of the Order Item in Document Currencypublic void setSalesDocumentCurrency(@Nullable String salesDocumentCurrency)
Original property name from the Odata EDM: SalesDocumentCurrency
salesDocumentCurrency
- SD document currencypublic void setLogicalSystem(@Nullable String logicalSystem)
Original property name from the Odata EDM: LogicalSystem
logicalSystem
- Logical systemprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<VMSVehicleSalesOrder>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<VMSVehicleSalesOrder>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<VMSVehicleSalesOrder>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<VMSVehicleSalesOrder>
@Nonnull public static <T> VMSVehicleSalesOrderField<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> VMSVehicleSalesOrderField<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<VMSVehicleSalesOrder>
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<VMSVehicleSalesOrder>
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<VMSVehicleSalesOrder>
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<VMSVehicleSalesOrder>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static VMSVehicleSalesOrder.VMSVehicleSalesOrderBuilder builder()
@Nullable public UUID getVMSVehicleUUID()
Original property name from the Odata EDM: VMSVehicleUUID
@Nullable public ZonedDateTime getVMSVehicleActionDateTime()
Original property name from the Odata EDM: VMSVehicleActionDateTime
@Nullable public String getVMSVehicleActionDocType()
Original property name from the Odata EDM: VMSVehicleActionDocType
@Nullable public String getSalesOrder()
Original property name from the Odata EDM: SalesOrder
@Nullable public String getSalesOrderItem()
Original property name from the Odata EDM: SalesOrderItem
@Nullable public String getCreatedByUserName()
Original property name from the Odata EDM: CreatedByUserName
@Nullable public String getPurchasingDocReferenceByCust()
Original property name from the Odata EDM: PurchasingDocReferenceByCust
@Nullable public String getSoldToParty()
Original property name from the Odata EDM: SoldToParty
@Nullable public String getCostCenter()
Original property name from the Odata EDM: CostCenter
@Nullable public String getSalesOrganization()
Original property name from the Odata EDM: SalesOrganization
@Nullable public LocalDateTime getSalesOrderDate()
Original property name from the Odata EDM: SalesOrderDate
@Nullable public String getOverallSDProcessStatus()
Original property name from the Odata EDM: OverallSDProcessStatus
@Nullable public String getDistributionChannel()
Original property name from the Odata EDM: DistributionChannel
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getOrganizationDivision()
Original property name from the Odata EDM: OrganizationDivision
@Nullable public BigDecimal getNetAmount()
Original property name from the Odata EDM: NetAmount
@Nullable public String getSalesDocumentCurrency()
Original property name from the Odata EDM: SalesDocumentCurrency
@Nullable public String getLogicalSystem()
Original property name from the Odata EDM: LogicalSystem
@Nonnull public String toString()
toString
in class VdmObject<VMSVehicleSalesOrder>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<VMSVehicleSalesOrder>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<VMSVehicleSalesOrder>
public int hashCode()
hashCode
in class VdmObject<VMSVehicleSalesOrder>
Copyright © 2021 SAP SE. All rights reserved.