Class PurchaseOrderScheduleLine
Original entity name from the Odata EDM: A_PurchaseOrderScheduleLineType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PurchaseOrderScheduleLine instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PurchaseOrderScheduleLineSelectableSelector for all available fields of PurchaseOrderScheduleLine.static final PurchaseOrderScheduleLineField<String>Use with available fluent helpers to apply the DelivDateCategory field to query operations.static final PurchaseOrderScheduleLineField<LocalDateTime>Use with available fluent helpers to apply the PerformancePeriodEndDate field to query operations.static final PurchaseOrderScheduleLineField<LocalDateTime>Use with available fluent helpers to apply the PerformancePeriodStartDate field to query operations.static final PurchaseOrderScheduleLineField<String>Use with available fluent helpers to apply the PurchaseOrderQuantityUnit field to query operations.static final PurchaseOrderScheduleLineField<String>Use with available fluent helpers to apply the PurchaseRequisition field to query operations.static final PurchaseOrderScheduleLineField<String>Use with available fluent helpers to apply the PurchaseRequisitionItem field to query operations.static final PurchaseOrderScheduleLineField<String>Use with available fluent helpers to apply the PurchasingDocument field to query operations.static final PurchaseOrderScheduleLineField<String>Use with available fluent helpers to apply the PurchasingDocumentItem field to query operations.static final PurchaseOrderScheduleLineField<LocalDateTime>Use with available fluent helpers to apply the SchedLineStscDeliveryDate field to query operations.static final PurchaseOrderScheduleLineField<String>Use with available fluent helpers to apply the ScheduleLine field to query operations.static final PurchaseOrderScheduleLineField<BigDecimal>Use with available fluent helpers to apply the ScheduleLineCommittedQuantity field to query operations.static final PurchaseOrderScheduleLineField<LocalDateTime>Use with available fluent helpers to apply the ScheduleLineDeliveryDate field to query operations.static final PurchaseOrderScheduleLineField<LocalTime>Use with available fluent helpers to apply the ScheduleLineDeliveryTime field to query operations.static final PurchaseOrderScheduleLineField<BigDecimal>Use with available fluent helpers to apply the ScheduleLineOrderQuantity field to query operations.static final PurchaseOrderScheduleLineLink<POSubcontractingComponent>Use with available fluent helpers to apply the to_SubcontractingComponent navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionPurchaseOrderScheduleLine(String purchasingDocument, String purchasingDocumentItem, String scheduleLine, String delivDateCategory, LocalDateTime scheduleLineDeliveryDate, String purchaseOrderQuantityUnit, BigDecimal scheduleLineOrderQuantity, LocalTime scheduleLineDeliveryTime, LocalDateTime schedLineStscDeliveryDate, String purchaseRequisition, String purchaseRequisitionItem, BigDecimal scheduleLineCommittedQuantity, LocalDateTime performancePeriodStartDate, LocalDateTime performancePeriodEndDate, List<POSubcontractingComponent> toSubcontractingComponent) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated POSubcontractingComponent entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the POSubcontractingComponent entities (one to many) associated with this entity.static <T,DomainT>
PurchaseOrderScheduleLineField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> PurchaseOrderScheduleLineField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected StringConstraints: Not nullable, Maximum length: 1protected StringgetKey()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 5(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Precision: 0(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 13, Scale: 3Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 13, Scale: 3io.vavr.control.Option<List<POSubcontractingComponent>>Retrieval of associated POSubcontractingComponent entities (one to many).Retrieval of associated POSubcontractingComponent entities (one to many).getType()inthashCode()voidsetDelivDateCategory(String delivDateCategory) Constraints: Not nullable, Maximum length: 1voidsetPerformancePeriodEndDate(LocalDateTime performancePeriodEndDate) Constraints: Not nullable, Precision: 0voidsetPerformancePeriodStartDate(LocalDateTime performancePeriodStartDate) Constraints: Not nullable, Precision: 0voidsetPurchaseOrderQuantityUnit(String purchaseOrderQuantityUnit) Constraints: Not nullable, Maximum length: 3voidsetPurchaseRequisition(String purchaseRequisition) Constraints: Not nullable, Maximum length: 10voidsetPurchaseRequisitionItem(String purchaseRequisitionItem) Constraints: Not nullable, Maximum length: 5voidsetPurchasingDocument(String purchasingDocument) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetPurchasingDocumentItem(String purchasingDocumentItem) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetSchedLineStscDeliveryDate(LocalDateTime schedLineStscDeliveryDate) Constraints: Not nullable, Precision: 0voidsetScheduleLine(String scheduleLine) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetScheduleLineCommittedQuantity(BigDecimal scheduleLineCommittedQuantity) Constraints: Not nullable, Precision: 13, Scale: 3voidsetScheduleLineDeliveryDate(LocalDateTime scheduleLineDeliveryDate) Constraints: Not nullable, Precision: 0voidsetScheduleLineDeliveryTime(LocalTime scheduleLineDeliveryTime) Constraints: Not nullable, Precision: 0voidsetScheduleLineOrderQuantity(BigDecimal scheduleLineOrderQuantity) Constraints: Not nullable, Precision: 13, Scale: 3protected voidsetServicePathForFetch(String servicePathForFetch) voidOverwrites the list of associated POSubcontractingComponent entities for the loaded navigation property to_SubcontractingComponent.toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of PurchaseOrderScheduleLine. -
PURCHASING_DOCUMENT
Use with available fluent helpers to apply the PurchasingDocument field to query operations. -
PURCHASING_DOCUMENT_ITEM
Use with available fluent helpers to apply the PurchasingDocumentItem field to query operations. -
SCHEDULE_LINE
Use with available fluent helpers to apply the ScheduleLine field to query operations. -
DELIV_DATE_CATEGORY
Use with available fluent helpers to apply the DelivDateCategory field to query operations. -
SCHEDULE_LINE_DELIVERY_DATE
Use with available fluent helpers to apply the ScheduleLineDeliveryDate field to query operations. -
PURCHASE_ORDER_QUANTITY_UNIT
Use with available fluent helpers to apply the PurchaseOrderQuantityUnit field to query operations. -
SCHEDULE_LINE_ORDER_QUANTITY
Use with available fluent helpers to apply the ScheduleLineOrderQuantity field to query operations. -
SCHEDULE_LINE_DELIVERY_TIME
Use with available fluent helpers to apply the ScheduleLineDeliveryTime field to query operations. -
SCHED_LINE_STSC_DELIVERY_DATE
Use with available fluent helpers to apply the SchedLineStscDeliveryDate field to query operations. -
PURCHASE_REQUISITION
Use with available fluent helpers to apply the PurchaseRequisition field to query operations. -
PURCHASE_REQUISITION_ITEM
Use with available fluent helpers to apply the PurchaseRequisitionItem field to query operations. -
SCHEDULE_LINE_COMMITTED_QUANTITY
Use with available fluent helpers to apply the ScheduleLineCommittedQuantity field to query operations. -
PERFORMANCE_PERIOD_START_DATE
Use with available fluent helpers to apply the PerformancePeriodStartDate field to query operations. -
PERFORMANCE_PERIOD_END_DATE
Use with available fluent helpers to apply the PerformancePeriodEndDate field to query operations. -
TO_SUBCONTRACTING_COMPONENT
public static final PurchaseOrderScheduleLineLink<POSubcontractingComponent> TO_SUBCONTRACTING_COMPONENTUse with available fluent helpers to apply the to_SubcontractingComponent navigation property to query operations.
-
-
Constructor Details
-
PurchaseOrderScheduleLine
public PurchaseOrderScheduleLine() -
PurchaseOrderScheduleLine
public PurchaseOrderScheduleLine(@Nullable String purchasingDocument, @Nullable String purchasingDocumentItem, @Nullable String scheduleLine, @Nullable String delivDateCategory, @Nullable LocalDateTime scheduleLineDeliveryDate, @Nullable String purchaseOrderQuantityUnit, @Nullable BigDecimal scheduleLineOrderQuantity, @Nullable LocalTime scheduleLineDeliveryTime, @Nullable LocalDateTime schedLineStscDeliveryDate, @Nullable String purchaseRequisition, @Nullable String purchaseRequisitionItem, @Nullable BigDecimal scheduleLineCommittedQuantity, @Nullable LocalDateTime performancePeriodStartDate, @Nullable LocalDateTime performancePeriodEndDate, List<POSubcontractingComponent> toSubcontractingComponent)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PurchaseOrderScheduleLine>
-
setPurchasingDocument
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchasingDocument
- Parameters:
purchasingDocument- Purchasing Document Number
-
setPurchasingDocumentItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchasingDocumentItem
- Parameters:
purchasingDocumentItem- Item Number of Purchasing Document
-
setScheduleLine
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ScheduleLine
- Parameters:
scheduleLine- Delivery Schedule Line Counter
-
setDelivDateCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: DelivDateCategory
- Parameters:
delivDateCategory- Category of delivery date
-
setScheduleLineDeliveryDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ScheduleLineDeliveryDate
- Parameters:
scheduleLineDeliveryDate- Item Delivery Date
-
setPurchaseOrderQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchaseOrderQuantityUnit
- Parameters:
purchaseOrderQuantityUnit- Purchase Order Unit of Measure
-
setScheduleLineOrderQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: ScheduleLineOrderQuantity
- Parameters:
scheduleLineOrderQuantity- Scheduled Quantity
-
setScheduleLineDeliveryTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ScheduleLineDeliveryTime
- Parameters:
scheduleLineDeliveryTime- Delivery Date Time-Spot
-
setSchedLineStscDeliveryDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SchedLineStscDeliveryDate
- Parameters:
schedLineStscDeliveryDate- Statistics-Relevant Delivery Date
-
setPurchaseRequisition
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseRequisition
- Parameters:
purchaseRequisition- Purchase Requisition Number
-
setPurchaseRequisitionItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseRequisitionItem
- Parameters:
purchaseRequisitionItem- Item number of purchase requisition
-
setScheduleLineCommittedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: ScheduleLineCommittedQuantity
- Parameters:
scheduleLineCommittedQuantity- Committed Quantity
-
setPerformancePeriodStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: PerformancePeriodStartDate
- Parameters:
performancePeriodStartDate- Start Date for Period of Performance
-
setPerformancePeriodEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: PerformancePeriodEndDate
- Parameters:
performancePeriodEndDate- End Date for Period of Performance
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PurchaseOrderScheduleLine>
-
getKey
- Overrides:
getKeyin classVdmObject<PurchaseOrderScheduleLine>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PurchaseOrderScheduleLine>
-
fromMap
- Overrides:
fromMapin classVdmObject<PurchaseOrderScheduleLine>
-
field
@Nonnull public static <T> PurchaseOrderScheduleLineField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> PurchaseOrderScheduleLineField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<PurchaseOrderScheduleLine>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<PurchaseOrderScheduleLine>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<PurchaseOrderScheduleLine>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PurchaseOrderScheduleLine>
-
fetchSubcontractingComponent
Fetches the POSubcontractingComponent entities (one to many) associated with this entity. This corresponds to the OData navigation property to_SubcontractingComponent.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated POSubcontractingComponent entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getSubcontractingComponentOrFetch
Retrieval of associated POSubcontractingComponent entities (one to many). This corresponds to the OData navigation property to_SubcontractingComponent.If the navigation property to_SubcontractingComponent of a queried PurchaseOrderScheduleLine is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Returns:
- List of associated POSubcontractingComponent entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getSubcontractingComponentIfPresent
@Nonnull public io.vavr.control.Option<List<POSubcontractingComponent>> getSubcontractingComponentIfPresent()Retrieval of associated POSubcontractingComponent entities (one to many). This corresponds to the OData navigation property to_SubcontractingComponent.If the navigation property for an entity PurchaseOrderScheduleLine has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property to_SubcontractingComponent is already loaded, the
result will contain the POSubcontractingComponent entities. If not, an
Optionwith result stateemptyis returned.
-
setSubcontractingComponent
Overwrites the list of associated POSubcontractingComponent entities for the loaded navigation property to_SubcontractingComponent.If the navigation property to_SubcontractingComponent of a queried PurchaseOrderScheduleLine is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of POSubcontractingComponent entities.
-
addSubcontractingComponent
Adds elements to the list of associated POSubcontractingComponent entities. This corresponds to the OData navigation property to_SubcontractingComponent.If the navigation property to_SubcontractingComponent of a queried PurchaseOrderScheduleLine is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of POSubcontractingComponent entities.
-
builder
-
getPurchasingDocument
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchasingDocument
- Returns:
- Purchasing Document Number
-
getPurchasingDocumentItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchasingDocumentItem
- Returns:
- Item Number of Purchasing Document
-
getScheduleLine
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ScheduleLine
- Returns:
- Delivery Schedule Line Counter
-
getDelivDateCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: DelivDateCategory
- Returns:
- Category of delivery date
-
getScheduleLineDeliveryDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ScheduleLineDeliveryDate
- Returns:
- Item Delivery Date
-
getPurchaseOrderQuantityUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchaseOrderQuantityUnit
- Returns:
- Purchase Order Unit of Measure
-
getScheduleLineOrderQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: ScheduleLineOrderQuantity
- Returns:
- Scheduled Quantity
-
getScheduleLineDeliveryTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ScheduleLineDeliveryTime
- Returns:
- Delivery Date Time-Spot
-
getSchedLineStscDeliveryDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SchedLineStscDeliveryDate
- Returns:
- Statistics-Relevant Delivery Date
-
getPurchaseRequisition
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseRequisition
- Returns:
- Purchase Requisition Number
-
getPurchaseRequisitionItem
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseRequisitionItem
- Returns:
- Item number of purchase requisition
-
getScheduleLineCommittedQuantity
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: ScheduleLineCommittedQuantity
- Returns:
- Committed Quantity
-
getPerformancePeriodStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: PerformancePeriodStartDate
- Returns:
- Start Date for Period of Performance
-
getPerformancePeriodEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: PerformancePeriodEndDate
- Returns:
- End Date for Period of Performance
-
toString
- Overrides:
toStringin classVdmObject<PurchaseOrderScheduleLine>
-
equals
- Overrides:
equalsin classVdmEntity<PurchaseOrderScheduleLine>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PurchaseOrderScheduleLine>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PurchaseOrderScheduleLine>
-