Class ProjectBillingRequest
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProjectBillingRequest_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjectBillingRequest instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<ProjectBillingRequest,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<ProjectBillingRequest>Selector for all available fields of ProjectBillingRequest.static final SimpleProperty.String<ProjectBillingRequest>static final SimpleProperty.DateTime<ProjectBillingRequest>static final SimpleProperty.String<ProjectBillingRequest>static final SimpleProperty.DateTime<ProjectBillingRequest>static final SimpleProperty.String<ProjectBillingRequest>static final SimpleProperty.String<ProjectBillingRequest>static final SimpleProperty.String<ProjectBillingRequest>static final SimpleProperty.Guid<ProjectBillingRequest>static final SimpleProperty.Guid<ProjectBillingRequest>static final SimpleProperty.String<ProjectBillingRequest>Use with available request builders to apply the _ProjectBillingReqItemTP 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
ConstructorsConstructorDescriptionProjectBillingRequest(UUID projectBillingRequestUUID, String projectBillingRequest, String projectBillingRequestStatus, String projBillgReqApprovalStatus, String salesDocument, String projBillgReqLastChgdBy, OffsetDateTime projBillgReqLastChgdAtDteTme, String projBillgReqCreatedBy, OffsetDateTime projBillgReqCreatedAtDteTme, UUID projectUUID, Collection<SAP__Message> _Messages, List<ProjectBillingRequestItem> to_ProjectBillingReqItemTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated ProjectBillingRequestItem entities.builder()protected booleancreateBDRForPrepayment(String billingWBSElementInternalID, String prjBlgElmPlndPpaytType) Action that can be applied to a collection of entities of this class.createBillingDocumentRequest(String action, Boolean onAccountItemsAreIncluded) Action that can be applied to any entity object of this class.createProjectBillingRequest(String billingWBSElementInternalID, Boolean onAccountItemsAreIncluded) Action that can be applied to a collection of entities of this class.Action that can be applied to any entity object of this class.booleanprotected voidConstraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 1Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 12Constraints: Nullable, Precision: 7Constraints: Not nullable, Maximum length: 12io.vavr.control.Option<List<ProjectBillingRequestItem>>Retrieval of associated ProjectBillingRequestItem entities (one to many).Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 1(Key Field) Constraints: Not nullableConstraints: NullableConstraints: Not nullable, Maximum length: 10getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetProjBillgReqApprovalStatus(String projBillgReqApprovalStatus) Constraints: Not nullable, Maximum length: 1voidsetProjBillgReqCreatedAtDteTme(OffsetDateTime projBillgReqCreatedAtDteTme) Constraints: Nullable, Precision: 7voidsetProjBillgReqCreatedBy(String projBillgReqCreatedBy) Constraints: Not nullable, Maximum length: 12voidsetProjBillgReqLastChgdAtDteTme(OffsetDateTime projBillgReqLastChgdAtDteTme) Constraints: Nullable, Precision: 7voidsetProjBillgReqLastChgdBy(String projBillgReqLastChgdBy) Constraints: Not nullable, Maximum length: 12voidOverwrites the list of associated ProjectBillingRequestItem entities for the loaded navigation property _ProjectBillingReqItemTP.voidsetProjectBillingRequest(String projectBillingRequest) Constraints: Not nullable, Maximum length: 10voidsetProjectBillingRequestStatus(String projectBillingRequestStatus) Constraints: Not nullable, Maximum length: 1voidsetProjectBillingRequestUUID(UUID projectBillingRequestUUID) (Key Field) Constraints: Not nullablevoidsetProjectUUID(UUID projectUUID) Constraints: NullablevoidsetSalesDocument(String salesDocument) Constraints: Not nullable, Maximum length: 10toString()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 ProjectBillingRequest. -
PROJECT_BILLING_REQUEST_UUID
-
PROJECT_BILLING_REQUEST
-
PROJECT_BILLING_REQUEST_STATUS
-
PROJ_BILLG_REQ_APPROVAL_STATUS
-
SALES_DOCUMENT
-
PROJ_BILLG_REQ_LAST_CHGD_BY
-
PROJ_BILLG_REQ_LAST_CHGD_AT_DTE_TME
public static final SimpleProperty.DateTime<ProjectBillingRequest> PROJ_BILLG_REQ_LAST_CHGD_AT_DTE_TME -
PROJ_BILLG_REQ_CREATED_BY
-
PROJ_BILLG_REQ_CREATED_AT_DTE_TME
public static final SimpleProperty.DateTime<ProjectBillingRequest> PROJ_BILLG_REQ_CREATED_AT_DTE_TME -
PROJECT_UUID
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__PROJECT_BILLING_REQ_ITEM_TP
public static final NavigationProperty.Collection<ProjectBillingRequest,ProjectBillingRequestItem> TO__PROJECT_BILLING_REQ_ITEM_TPUse with available request builders to apply the _ProjectBillingReqItemTP navigation property to query operations.
-
-
Constructor Details
-
ProjectBillingRequest
public ProjectBillingRequest() -
ProjectBillingRequest
public ProjectBillingRequest(@Nullable UUID projectBillingRequestUUID, @Nullable String projectBillingRequest, @Nullable String projectBillingRequestStatus, @Nullable String projBillgReqApprovalStatus, @Nullable String salesDocument, @Nullable String projBillgReqLastChgdBy, @Nullable OffsetDateTime projBillgReqLastChgdAtDteTme, @Nullable String projBillgReqCreatedBy, @Nullable OffsetDateTime projBillgReqCreatedAtDteTme, @Nullable UUID projectUUID, @Nullable Collection<SAP__Message> _Messages, List<ProjectBillingRequestItem> to_ProjectBillingReqItemTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjectBillingRequest>
-
setProjectBillingRequestUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjectBillingRequestUUID
- Parameters:
projectBillingRequestUUID- Project Billing Request UUID
-
setProjectBillingRequest
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProjectBillingRequest
- Parameters:
projectBillingRequest- Project Billing Request
-
setProjectBillingRequestStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjectBillingRequestStatus
- Parameters:
projectBillingRequestStatus- Project Billing Request Status
-
setProjBillgReqApprovalStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjBillgReqApprovalStatus
- Parameters:
projBillgReqApprovalStatus- Project Billing Request Approval Status
-
setSalesDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SalesDocument
- Parameters:
salesDocument- Sales and Distribution Document Number
-
setProjBillgReqLastChgdBy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ProjBillgReqLastChgdBy
- Parameters:
projBillgReqLastChgdBy- Project Billing Request Changed By
-
setProjBillgReqLastChgdAtDteTme
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: ProjBillgReqLastChgdAtDteTme
- Parameters:
projBillgReqLastChgdAtDteTme- Project Billing Request Changed On
-
setProjBillgReqCreatedBy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ProjBillgReqCreatedBy
- Parameters:
projBillgReqCreatedBy- Project Billing Request Created By
-
setProjBillgReqCreatedAtDteTme
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: ProjBillgReqCreatedAtDteTme
- Parameters:
projBillgReqCreatedAtDteTme- Project Billing Request Created On
-
setProjectUUID
Constraints: NullableOriginal property name from the Odata EDM: ProjectUUID
- Parameters:
projectUUID- Entity Guid
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjectBillingRequest>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjectBillingRequest>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjectBillingRequest>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjectBillingRequest>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjectBillingRequest>
-
getProjectBillingReqItemTPIfPresent
@Nonnull public io.vavr.control.Option<List<ProjectBillingRequestItem>> getProjectBillingReqItemTPIfPresent()Retrieval of associated ProjectBillingRequestItem entities (one to many). This corresponds to the OData navigation property _ProjectBillingReqItemTP.If the navigation property for an entity ProjectBillingRequest 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 _ProjectBillingReqItemTP is already loaded, the result
will contain the ProjectBillingRequestItem entities. If not, an
Optionwith result stateemptyis returned.
-
setProjectBillingReqItemTP
Overwrites the list of associated ProjectBillingRequestItem entities for the loaded navigation property _ProjectBillingReqItemTP.If the navigation property _ProjectBillingReqItemTP of a queried ProjectBillingRequest 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 ProjectBillingRequestItem entities.
-
addProjectBillingReqItemTP
Adds elements to the list of associated ProjectBillingRequestItem entities. This corresponds to the OData navigation property _ProjectBillingReqItemTP.If the navigation property _ProjectBillingReqItemTP of a queried ProjectBillingRequest 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 ProjectBillingRequestItem entities.
-
createBillingDocumentRequest
@Nonnull public static BoundAction.SingleToCollection<ProjectBillingRequest,D_PrjBlgElmCrteBillgDocReqR> createBillingDocumentRequest(@Nonnull String action, @Nonnull Boolean onAccountItemsAreIncluded) Action that can be applied to any entity object of this class.- Parameters:
action- Constraints: Not nullableOriginal parameter name from the Odata EDM: Action
onAccountItemsAreIncluded- Constraints: Not nullableOriginal parameter name from the Odata EDM: OnAccountItemsAreIncluded
- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
createBDRForPrepayment
@Nonnull public static BoundAction.CollectionToCollection<ProjectBillingRequest,D_PrjBlgElmCrteBillgDocReqR> createBDRForPrepayment(@Nonnull String billingWBSElementInternalID, @Nonnull String prjBlgElmPlndPpaytType) Action that can be applied to a collection of entities of this class.- Parameters:
prjBlgElmPlndPpaytType- Constraints: Not nullable, Maximum length: 2Original parameter name from the Odata EDM: PrjBlgElmPlndPpaytType
billingWBSElementInternalID- Constraints: Not nullable, Maximum length: 8Original parameter name from the Odata EDM: BillingWBSElementInternalID
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
createProjectBillingRequest
@Nonnull public static BoundAction.CollectionToSingle<ProjectBillingRequest,D_PrjBlgElmCrteProjBillgReqR> createProjectBillingRequest(@Nonnull String billingWBSElementInternalID, @Nonnull Boolean onAccountItemsAreIncluded) Action that can be applied to a collection of entities of this class.- Parameters:
billingWBSElementInternalID- Constraints: Not nullable, Maximum length: 8Original parameter name from the Odata EDM: BillingWBSElementInternalID
onAccountItemsAreIncluded- Constraints: Not nullableOriginal parameter name from the Odata EDM: OnAccountItemsAreIncluded
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
deleteProjectBillingRequest
@Nonnull public static BoundAction.SingleToSingle<ProjectBillingRequest,D_ProjBillgReqDeleteR> deleteProjectBillingRequest()Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getProjectBillingRequestUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjectBillingRequestUUID
- Returns:
- Project Billing Request UUID
-
getProjectBillingRequest
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProjectBillingRequest
- Returns:
- Project Billing Request
-
getProjectBillingRequestStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjectBillingRequestStatus
- Returns:
- Project Billing Request Status
-
getProjBillgReqApprovalStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjBillgReqApprovalStatus
- Returns:
- Project Billing Request Approval Status
-
getSalesDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SalesDocument
- Returns:
- Sales and Distribution Document Number
-
getProjBillgReqLastChgdBy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ProjBillgReqLastChgdBy
- Returns:
- Project Billing Request Changed By
-
getProjBillgReqLastChgdAtDteTme
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: ProjBillgReqLastChgdAtDteTme
- Returns:
- Project Billing Request Changed On
-
getProjBillgReqCreatedBy
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ProjBillgReqCreatedBy
- Returns:
- Project Billing Request Created By
-
getProjBillgReqCreatedAtDteTme
Constraints: Nullable, Precision: 7Original property name from the Odata EDM: ProjBillgReqCreatedAtDteTme
- Returns:
- Project Billing Request Created On
-
getProjectUUID
Constraints: NullableOriginal property name from the Odata EDM: ProjectUUID
- Returns:
- Entity Guid
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<ProjectBillingRequest>
-
equals
- Overrides:
equalsin classVdmEntity<ProjectBillingRequest>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjectBillingRequest>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjectBillingRequest>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProjectBillingRequest>
-