public class PurReqnAlgnmt extends VdmEntity<PurReqnAlgnmt>
Original entity name from the Odata EDM: A_PurReqnAlgnmtType
Modifier and Type | Class and Description |
---|---|
static class |
PurReqnAlgnmt.PurReqnAlgnmtBuilder |
Modifier and Type | Field and Description |
---|---|
static PurReqnAlgnmtSelectable |
ALL_FIELDS
Selector for all available fields of PurReqnAlgnmt.
|
static PurReqnAlgnmtField<Boolean> |
NULLIFY_ALIGNMENT_IS_REQUESTED
Use with available fluent helpers to apply the NullifyAlignmentIsRequested field to query operations.
|
static PurReqnAlgnmtField<BigDecimal> |
ORDER_QUANTITY
Use with available fluent helpers to apply the OrderQuantity field to query operations.
|
static PurReqnAlgnmtField<String> |
PUR_REQN_ITEM_ALGNMT_QTY_TOL_TYPE
Use with available fluent helpers to apply the PurReqnItemAlgnmtQtyTolType field to query operations.
|
static PurReqnAlgnmtField<String> |
PUR_REQN_ITEM_ALIGNMENT_QTY_UO_M
Use with available fluent helpers to apply the PurReqnItemAlignmentQtyUoM field to query operations.
|
static PurReqnAlgnmtField<BigDecimal> |
PUR_REQN_ITEM_ALIGNMENT_REQD_QTY
Use with available fluent helpers to apply the PurReqnItemAlignmentReqdQty field to query operations.
|
static PurReqnAlgnmtField<String> |
PURCHASE_ORDER
Use with available fluent helpers to apply the PurchaseOrder field to query operations.
|
static PurReqnAlgnmtField<String> |
PURCHASE_ORDER_ITEM
Use with available fluent helpers to apply the PurchaseOrderItem field to query operations.
|
static PurReqnAlgnmtField<String> |
PURCHASE_ORDER_QUANTITY_UNIT
Use with available fluent helpers to apply the PurchaseOrderQuantityUnit field to query operations.
|
static PurReqnAlgnmtField<String> |
PURCHASE_REQUISITION
Use with available fluent helpers to apply the PurchaseRequisition field to query operations.
|
static PurReqnAlgnmtField<String> |
PURCHASE_REQUISITION_ITEM
Use with available fluent helpers to apply the PurchaseRequisitionItem field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PurReqnAlgnmt() |
PurReqnAlgnmt(String purchaseRequisition,
String purchaseRequisitionItem,
String purchaseOrder,
String purchaseOrderItem,
String purReqnItemAlignmentQtyUoM,
BigDecimal purReqnItemAlignmentReqdQty,
String purReqnItemAlgnmtQtyTolType,
BigDecimal orderQuantity,
String purchaseOrderQuantityUnit,
Boolean nullifyAlignmentIsRequested) |
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 PurReqnAlgnmt.PurReqnAlgnmtBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> PurReqnAlgnmtField<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) |
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() |
Boolean |
getNullifyAlignmentIsRequested()
Constraints: none
|
BigDecimal |
getOrderQuantity()
Constraints: Not nullable, Precision: 13, Scale: 3
|
String |
getPurchaseOrder()
Constraints: Not nullable, Maximum length: 10
|
String |
getPurchaseOrderItem()
Constraints: Not nullable, Maximum length: 5
|
String |
getPurchaseOrderQuantityUnit()
Constraints: Not nullable, Maximum length: 3
|
String |
getPurchaseRequisition()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getPurchaseRequisitionItem()
(Key Field) Constraints: Not nullable, Maximum length: 5
|
String |
getPurReqnItemAlgnmtQtyTolType()
Constraints: Not nullable, Maximum length: 2
|
String |
getPurReqnItemAlignmentQtyUoM()
Constraints: Not nullable, Maximum length: 3
|
BigDecimal |
getPurReqnItemAlignmentReqdQty()
Constraints: Not nullable, Precision: 13, Scale: 3
|
Class<PurReqnAlgnmt> |
getType() |
int |
hashCode() |
void |
setNullifyAlignmentIsRequested(Boolean nullifyAlignmentIsRequested)
Constraints: none
|
void |
setOrderQuantity(BigDecimal orderQuantity)
Constraints: Not nullable, Precision: 13, Scale: 3
|
void |
setPurchaseOrder(String purchaseOrder)
Constraints: Not nullable, Maximum length: 10
|
void |
setPurchaseOrderItem(String purchaseOrderItem)
Constraints: Not nullable, Maximum length: 5
|
void |
setPurchaseOrderQuantityUnit(String purchaseOrderQuantityUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setPurchaseRequisition(String purchaseRequisition)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setPurchaseRequisitionItem(String purchaseRequisitionItem)
(Key Field) Constraints: Not nullable, Maximum length: 5
|
void |
setPurReqnItemAlgnmtQtyTolType(String purReqnItemAlgnmtQtyTolType)
Constraints: Not nullable, Maximum length: 2
|
void |
setPurReqnItemAlignmentQtyUoM(String purReqnItemAlignmentQtyUoM)
Constraints: Not nullable, Maximum length: 3
|
void |
setPurReqnItemAlignmentReqdQty(BigDecimal purReqnItemAlignmentReqdQty)
Constraints: Not nullable, Precision: 13, Scale: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
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 PurReqnAlgnmtSelectable ALL_FIELDS
public static final PurReqnAlgnmtField<String> PURCHASE_REQUISITION
public static final PurReqnAlgnmtField<String> PURCHASE_REQUISITION_ITEM
public static final PurReqnAlgnmtField<String> PURCHASE_ORDER
public static final PurReqnAlgnmtField<String> PURCHASE_ORDER_ITEM
public static final PurReqnAlgnmtField<String> PUR_REQN_ITEM_ALIGNMENT_QTY_UO_M
public static final PurReqnAlgnmtField<BigDecimal> PUR_REQN_ITEM_ALIGNMENT_REQD_QTY
public static final PurReqnAlgnmtField<String> PUR_REQN_ITEM_ALGNMT_QTY_TOL_TYPE
public static final PurReqnAlgnmtField<BigDecimal> ORDER_QUANTITY
public static final PurReqnAlgnmtField<String> PURCHASE_ORDER_QUANTITY_UNIT
public static final PurReqnAlgnmtField<Boolean> NULLIFY_ALIGNMENT_IS_REQUESTED
public PurReqnAlgnmt()
public PurReqnAlgnmt(@Nullable String purchaseRequisition, @Nullable String purchaseRequisitionItem, @Nullable String purchaseOrder, @Nullable String purchaseOrderItem, @Nullable String purReqnItemAlignmentQtyUoM, @Nullable BigDecimal purReqnItemAlignmentReqdQty, @Nullable String purReqnItemAlgnmtQtyTolType, @Nullable BigDecimal orderQuantity, @Nullable String purchaseOrderQuantityUnit, @Nullable Boolean nullifyAlignmentIsRequested)
@Nonnull public Class<PurReqnAlgnmt> getType()
getType
in class VdmObject<PurReqnAlgnmt>
public void setPurchaseRequisition(@Nullable String purchaseRequisition)
Original property name from the Odata EDM: PurchaseRequisition
purchaseRequisition
- Purchase requisition numberpublic void setPurchaseRequisitionItem(@Nullable String purchaseRequisitionItem)
Original property name from the Odata EDM: PurchaseRequisitionItem
purchaseRequisitionItem
- Item number of purchase requisitionpublic void setPurchaseOrder(@Nullable String purchaseOrder)
Original property name from the Odata EDM: PurchaseOrder
purchaseOrder
- Purchasing Document Numberpublic void setPurchaseOrderItem(@Nullable String purchaseOrderItem)
Original property name from the Odata EDM: PurchaseOrderItem
purchaseOrderItem
- Item Number of Purchase Orderpublic void setPurReqnItemAlignmentQtyUoM(@Nullable String purReqnItemAlignmentQtyUoM)
Original property name from the Odata EDM: PurReqnItemAlignmentQtyUoM
purReqnItemAlignmentQtyUoM
- Purchase Order Unit of Measurepublic void setPurReqnItemAlignmentReqdQty(@Nullable BigDecimal purReqnItemAlignmentReqdQty)
Original property name from the Odata EDM: PurReqnItemAlignmentReqdQty
purReqnItemAlignmentReqdQty
- Purchase Order Quantitypublic void setPurReqnItemAlgnmtQtyTolType(@Nullable String purReqnItemAlgnmtQtyTolType)
Original property name from the Odata EDM: PurReqnItemAlgnmtQtyTolType
purReqnItemAlgnmtQtyTolType
- Alignment Tolerance Typepublic void setOrderQuantity(@Nullable BigDecimal orderQuantity)
Original property name from the Odata EDM: OrderQuantity
orderQuantity
- Purchase Order Quantitypublic void setPurchaseOrderQuantityUnit(@Nullable String purchaseOrderQuantityUnit)
Original property name from the Odata EDM: PurchaseOrderQuantityUnit
purchaseOrderQuantityUnit
- Purchase Order Unit of Measurepublic void setNullifyAlignmentIsRequested(@Nullable Boolean nullifyAlignmentIsRequested)
Original property name from the Odata EDM: NullifyAlignmentIsRequested
nullifyAlignmentIsRequested
- Nullify Alignment from Purchase Order Itemprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<PurReqnAlgnmt>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<PurReqnAlgnmt>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PurReqnAlgnmt>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PurReqnAlgnmt>
@Nonnull public static <T> PurReqnAlgnmtField<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> PurReqnAlgnmtField<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<PurReqnAlgnmt>
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<PurReqnAlgnmt>
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<PurReqnAlgnmt>
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<PurReqnAlgnmt>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static PurReqnAlgnmt.PurReqnAlgnmtBuilder builder()
@Nullable public String getPurchaseRequisition()
Original property name from the Odata EDM: PurchaseRequisition
@Nullable public String getPurchaseRequisitionItem()
Original property name from the Odata EDM: PurchaseRequisitionItem
@Nullable public String getPurchaseOrder()
Original property name from the Odata EDM: PurchaseOrder
@Nullable public String getPurchaseOrderItem()
Original property name from the Odata EDM: PurchaseOrderItem
@Nullable public String getPurReqnItemAlignmentQtyUoM()
Original property name from the Odata EDM: PurReqnItemAlignmentQtyUoM
@Nullable public BigDecimal getPurReqnItemAlignmentReqdQty()
Original property name from the Odata EDM: PurReqnItemAlignmentReqdQty
@Nullable public String getPurReqnItemAlgnmtQtyTolType()
Original property name from the Odata EDM: PurReqnItemAlgnmtQtyTolType
@Nullable public BigDecimal getOrderQuantity()
Original property name from the Odata EDM: OrderQuantity
@Nullable public String getPurchaseOrderQuantityUnit()
Original property name from the Odata EDM: PurchaseOrderQuantityUnit
@Nullable public Boolean getNullifyAlignmentIsRequested()
Original property name from the Odata EDM: NullifyAlignmentIsRequested
@Nonnull public String toString()
toString
in class VdmObject<PurReqnAlgnmt>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<PurReqnAlgnmt>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<PurReqnAlgnmt>
public int hashCode()
hashCode
in class VdmObject<PurReqnAlgnmt>
Copyright © 2021 SAP SE. All rights reserved.