Class PurchaseOrderInvoicingPlan
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: PurchaseOrderInvoicingPlan_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PurchaseOrderInvoicingPlan instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<PurchaseOrderInvoicingPlan>Selector for all available fields of PurchaseOrderInvoicingPlan.static final SimpleProperty.String<PurchaseOrderInvoicingPlan>static final SimpleProperty.Date<PurchaseOrderInvoicingPlan>static final SimpleProperty.String<PurchaseOrderInvoicingPlan>static final SimpleProperty.Date<PurchaseOrderInvoicingPlan>static final SimpleProperty.String<PurchaseOrderInvoicingPlan>static final SimpleProperty.String<PurchaseOrderInvoicingPlan>static final SimpleProperty.String<PurchaseOrderInvoicingPlan>static final SimpleProperty.String<PurchaseOrderInvoicingPlan>static final SimpleProperty.String<PurchaseOrderInvoicingPlan>static final SimpleProperty.String<PurchaseOrderInvoicingPlan>static final SimpleProperty.String<PurchaseOrderInvoicingPlan>Use with available request builders to apply the _POInvoicingPlanItem navigation property to query operations.static final NavigationProperty.Single<PurchaseOrderInvoicingPlan,PurchaseOrder> Use with available request builders to apply the _PurchaseOrder navigation property to query operations.Use with available request builders to apply the _PurchaseOrderItem navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionPurchaseOrderInvoicingPlan(String purchaseOrder, String purchaseOrderItem, String invoicingPlan, String invoicingPlanType, LocalDate invoicingPlanStartDate, LocalDate invoicingPlanEndDate, String invoicingPlanNextInvcDateRule, String purchasingOrganization, String purchasingGroup, String purchaseOrderType, String plant, List<POInvoicingPlanItem> to_POInvoicingPlanItem, PurchaseOrder to_PurchaseOrder, PurchaseOrderItem to_PurchaseOrderItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPOInvoicingPlanItem(POInvoicingPlanItem... entity) Adds elements to the list of associated POInvoicingPlanItem entities.builder()protected booleanbooleanprotected voidprotected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: NullableConstraints: Not nullable, Maximum length: 2Constraints: NullableConstraints: Not nullable, Maximum length: 2protected ODataEntityKeygetKey()getPlant()Constraints: Not nullable, Maximum length: 4io.vavr.control.Option<List<POInvoicingPlanItem>>Retrieval of associated POInvoicingPlanItem entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<PurchaseOrder>Retrieval of associated PurchaseOrder entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 5io.vavr.control.Option<PurchaseOrderItem>Retrieval of associated PurchaseOrderItem entity (one to one).Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4getType()inthashCode()voidsetInvoicingPlan(String invoicingPlan) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetInvoicingPlanEndDate(LocalDate invoicingPlanEndDate) Constraints: NullablevoidsetInvoicingPlanNextInvcDateRule(String invoicingPlanNextInvcDateRule) Constraints: Not nullable, Maximum length: 2voidsetInvoicingPlanStartDate(LocalDate invoicingPlanStartDate) Constraints: NullablevoidsetInvoicingPlanType(String invoicingPlanType) Constraints: Not nullable, Maximum length: 2voidConstraints: Not nullable, Maximum length: 4voidOverwrites the list of associated POInvoicingPlanItem entities for the loaded navigation property _POInvoicingPlanItem.voidsetPurchaseOrder(PurchaseOrder value) Overwrites the associated PurchaseOrder entity for the loaded navigation property _PurchaseOrder.voidsetPurchaseOrder(String purchaseOrder) (Key Field) Constraints: Not nullable, Maximum length: 10voidOverwrites the associated PurchaseOrderItem entity for the loaded navigation property _PurchaseOrderItem.voidsetPurchaseOrderItem(String purchaseOrderItem) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetPurchaseOrderType(String purchaseOrderType) Constraints: Not nullable, Maximum length: 4voidsetPurchasingGroup(String purchasingGroup) Constraints: Not nullable, Maximum length: 3voidsetPurchasingOrganization(String purchasingOrganization) Constraints: Not nullable, Maximum length: 4toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, 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 PurchaseOrderInvoicingPlan. -
PURCHASE_ORDER
-
PURCHASE_ORDER_ITEM
-
INVOICING_PLAN
-
INVOICING_PLAN_TYPE
-
INVOICING_PLAN_START_DATE
-
INVOICING_PLAN_END_DATE
-
INVOICING_PLAN_NEXT_INVC_DATE_RULE
public static final SimpleProperty.String<PurchaseOrderInvoicingPlan> INVOICING_PLAN_NEXT_INVC_DATE_RULE -
PURCHASING_ORGANIZATION
-
PURCHASING_GROUP
-
PURCHASE_ORDER_TYPE
-
PLANT
-
TO__P_O_INVOICING_PLAN_ITEM
public static final NavigationProperty.Collection<PurchaseOrderInvoicingPlan,POInvoicingPlanItem> TO__P_O_INVOICING_PLAN_ITEMUse with available request builders to apply the _POInvoicingPlanItem navigation property to query operations. -
TO__PURCHASE_ORDER
public static final NavigationProperty.Single<PurchaseOrderInvoicingPlan,PurchaseOrder> TO__PURCHASE_ORDERUse with available request builders to apply the _PurchaseOrder navigation property to query operations. -
TO__PURCHASE_ORDER_ITEM
public static final NavigationProperty.Single<PurchaseOrderInvoicingPlan,PurchaseOrderItem> TO__PURCHASE_ORDER_ITEMUse with available request builders to apply the _PurchaseOrderItem navigation property to query operations.
-
-
Constructor Details
-
PurchaseOrderInvoicingPlan
public PurchaseOrderInvoicingPlan() -
PurchaseOrderInvoicingPlan
public PurchaseOrderInvoicingPlan(@Nullable String purchaseOrder, @Nullable String purchaseOrderItem, @Nullable String invoicingPlan, @Nullable String invoicingPlanType, @Nullable LocalDate invoicingPlanStartDate, @Nullable LocalDate invoicingPlanEndDate, @Nullable String invoicingPlanNextInvcDateRule, @Nullable String purchasingOrganization, @Nullable String purchasingGroup, @Nullable String purchaseOrderType, @Nullable String plant, List<POInvoicingPlanItem> to_POInvoicingPlanItem, @Nullable PurchaseOrder to_PurchaseOrder, @Nullable PurchaseOrderItem to_PurchaseOrderItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PurchaseOrderInvoicingPlan>
-
setPurchaseOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseOrder
- Parameters:
purchaseOrder- Purchase Order Number
-
setPurchaseOrderItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseOrderItem
- Parameters:
purchaseOrderItem- Item Number of Purchase Order
-
setInvoicingPlan
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: InvoicingPlan
- Parameters:
invoicingPlan- Billing Plan Number / Invoicing Plan Number
-
setInvoicingPlanType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: InvoicingPlanType
- Parameters:
invoicingPlanType- Billing/Invoicing Plan Type
-
setInvoicingPlanStartDate
Constraints: NullableOriginal property name from the Odata EDM: InvoicingPlanStartDate
- Parameters:
invoicingPlanStartDate- Start Date for Billing Plan/Invoice Plan
-
setInvoicingPlanEndDate
Constraints: NullableOriginal property name from the Odata EDM: InvoicingPlanEndDate
- Parameters:
invoicingPlanEndDate- End Date Billing Plan/Invoice Plan
-
setInvoicingPlanNextInvcDateRule
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: InvoicingPlanNextInvcDateRule
- Parameters:
invoicingPlanNextInvcDateRule- Rule for Origin of Next Billing/Invoice Date
-
setPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Parameters:
purchasingOrganization- Purchasing Organization
-
setPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Parameters:
purchasingGroup- Purchasing Group
-
setPurchaseOrderType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchaseOrderType
- Parameters:
purchaseOrderType- Purchasing Document Type
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PurchaseOrderInvoicingPlan>
-
getKey
- Overrides:
getKeyin classVdmObject<PurchaseOrderInvoicingPlan>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PurchaseOrderInvoicingPlan>
-
fromMap
- Overrides:
fromMapin classVdmObject<PurchaseOrderInvoicingPlan>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PurchaseOrderInvoicingPlan>
-
getPOInvoicingPlanItemIfPresent
Retrieval of associated POInvoicingPlanItem entities (one to many). This corresponds to the OData navigation property _POInvoicingPlanItem.If the navigation property for an entity PurchaseOrderInvoicingPlan 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 _POInvoicingPlanItem is already loaded, the result will
contain the POInvoicingPlanItem entities. If not, an
Optionwith result stateemptyis returned.
-
setPOInvoicingPlanItem
Overwrites the list of associated POInvoicingPlanItem entities for the loaded navigation property _POInvoicingPlanItem.If the navigation property _POInvoicingPlanItem of a queried PurchaseOrderInvoicingPlan 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 POInvoicingPlanItem entities.
-
addPOInvoicingPlanItem
Adds elements to the list of associated POInvoicingPlanItem entities. This corresponds to the OData navigation property _POInvoicingPlanItem.If the navigation property _POInvoicingPlanItem of a queried PurchaseOrderInvoicingPlan 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 POInvoicingPlanItem entities.
-
getPurchaseOrderIfPresent
Retrieval of associated PurchaseOrder entity (one to one). This corresponds to the OData navigation property _PurchaseOrder.If the navigation property for an entity PurchaseOrderInvoicingPlan 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 _PurchaseOrder is already loaded, the result will
contain the PurchaseOrder entity. If not, an
Optionwith result stateemptyis returned.
-
setPurchaseOrder
Overwrites the associated PurchaseOrder entity for the loaded navigation property _PurchaseOrder.- Parameters:
value- New PurchaseOrder entity.
-
getPurchaseOrderItemIfPresent
Retrieval of associated PurchaseOrderItem entity (one to one). This corresponds to the OData navigation property _PurchaseOrderItem.If the navigation property for an entity PurchaseOrderInvoicingPlan 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 _PurchaseOrderItem is already loaded, the result will
contain the PurchaseOrderItem entity. If not, an
Optionwith result stateemptyis returned.
-
setPurchaseOrderItem
Overwrites the associated PurchaseOrderItem entity for the loaded navigation property _PurchaseOrderItem.- Parameters:
value- New PurchaseOrderItem entity.
-
builder
-
getPurchaseOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseOrder
- Returns:
- Purchase Order Number
-
getPurchaseOrderItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseOrderItem
- Returns:
- Item Number of Purchase Order
-
getInvoicingPlan
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: InvoicingPlan
- Returns:
- Billing Plan Number / Invoicing Plan Number
-
getInvoicingPlanType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: InvoicingPlanType
- Returns:
- Billing/Invoicing Plan Type
-
getInvoicingPlanStartDate
Constraints: NullableOriginal property name from the Odata EDM: InvoicingPlanStartDate
- Returns:
- Start Date for Billing Plan/Invoice Plan
-
getInvoicingPlanEndDate
Constraints: NullableOriginal property name from the Odata EDM: InvoicingPlanEndDate
- Returns:
- End Date Billing Plan/Invoice Plan
-
getInvoicingPlanNextInvcDateRule
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: InvoicingPlanNextInvcDateRule
- Returns:
- Rule for Origin of Next Billing/Invoice Date
-
getPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Returns:
- Purchasing Organization
-
getPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Returns:
- Purchasing Group
-
getPurchaseOrderType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchaseOrderType
- Returns:
- Purchasing Document Type
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
toString
- Overrides:
toStringin classVdmObject<PurchaseOrderInvoicingPlan>
-
equals
- Overrides:
equalsin classVdmEntity<PurchaseOrderInvoicingPlan>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PurchaseOrderInvoicingPlan>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PurchaseOrderInvoicingPlan>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<PurchaseOrderInvoicingPlan>
-