Class ProjectBillingRequestItemJELnk
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: ProjectBillingRequestItemJELnk_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ProjectBillingRequestItemJELnk instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty.String<ProjectBillingRequestItemJELnk>static final SimpleProperty<ProjectBillingRequestItemJELnk>Selector for all available fields of ProjectBillingRequestItemJELnk.static final SimpleProperty.String<ProjectBillingRequestItemJELnk>static final SimpleProperty.String<ProjectBillingRequestItemJELnk>static final SimpleProperty.String<ProjectBillingRequestItemJELnk>static final SimpleProperty.String<ProjectBillingRequestItemJELnk>static final SimpleProperty.Guid<ProjectBillingRequestItemJELnk>static final SimpleProperty.Guid<ProjectBillingRequestItemJELnk>static final NavigationProperty.Collection<ProjectBillingRequestItemJELnk,ProjectBillingRequestItem> Use with available request builders to apply the _ProjectBillingRequestItem 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
ConstructorsConstructorDescriptionProjectBillingRequestItemJELnk(UUID projBillgElmntEntrItmUUID, UUID projectBillingElementUUID, String ledger, String companyCode, String fiscalYear, String accountingDocument, String ledgerGLLineItem, List<ProjectBillingRequestItem> to_ProjectBillingRequestItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated ProjectBillingRequestItem entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4protected Stringprotected StringConstraints: Not nullable, Maximum length: 4protected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullableConstraints: Nullableio.vavr.control.Option<List<ProjectBillingRequestItem>>Retrieval of associated ProjectBillingRequestItem entities (one to many).getType()inthashCode()voidsetAccountingDocument(String accountingDocument) Constraints: Not nullable, Maximum length: 10voidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetFiscalYear(String fiscalYear) Constraints: Not nullable, Maximum length: 4voidConstraints: Not nullable, Maximum length: 2voidsetLedgerGLLineItem(String ledgerGLLineItem) Constraints: Not nullable, Maximum length: 6voidsetProjBillgElmntEntrItmUUID(UUID projBillgElmntEntrItmUUID) (Key Field) Constraints: Not nullablevoidsetProjectBillingElementUUID(UUID projectBillingElementUUID) Constraints: NullablevoidOverwrites the list of associated ProjectBillingRequestItem entities for the loaded navigation property _ProjectBillingRequestItem.toString()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 ProjectBillingRequestItemJELnk. -
PROJ_BILLG_ELMNT_ENTR_ITM_UUID
public static final SimpleProperty.Guid<ProjectBillingRequestItemJELnk> PROJ_BILLG_ELMNT_ENTR_ITM_UUID -
PROJECT_BILLING_ELEMENT_UUID
public static final SimpleProperty.Guid<ProjectBillingRequestItemJELnk> PROJECT_BILLING_ELEMENT_UUID -
LEDGER
-
COMPANY_CODE
-
FISCAL_YEAR
-
ACCOUNTING_DOCUMENT
-
LEDGER_GL_LINE_ITEM
-
TO__PROJECT_BILLING_REQUEST_ITEM
public static final NavigationProperty.Collection<ProjectBillingRequestItemJELnk,ProjectBillingRequestItem> TO__PROJECT_BILLING_REQUEST_ITEMUse with available request builders to apply the _ProjectBillingRequestItem navigation property to query operations.
-
-
Constructor Details
-
ProjectBillingRequestItemJELnk
public ProjectBillingRequestItemJELnk() -
ProjectBillingRequestItemJELnk
public ProjectBillingRequestItemJELnk(@Nullable UUID projBillgElmntEntrItmUUID, @Nullable UUID projectBillingElementUUID, @Nullable String ledger, @Nullable String companyCode, @Nullable String fiscalYear, @Nullable String accountingDocument, @Nullable String ledgerGLLineItem, List<ProjectBillingRequestItem> to_ProjectBillingRequestItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ProjectBillingRequestItemJELnk>
-
setProjBillgElmntEntrItmUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjBillgElmntEntrItmUUID
- Parameters:
projBillgElmntEntrItmUUID- Project Billing Element Entry UUID
-
setProjectBillingElementUUID
Constraints: NullableOriginal property name from the Odata EDM: ProjectBillingElementUUID
- Parameters:
projectBillingElementUUID- Project Billing Element UUID
-
setLedger
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Ledger
- Parameters:
ledger- Ledger in General Ledger Accounting
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
setFiscalYear
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FiscalYear
- Parameters:
fiscalYear- Fiscal Year
-
setAccountingDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AccountingDocument
- Parameters:
accountingDocument- Document Number of an Accounting Document
-
setLedgerGLLineItem
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: LedgerGLLineItem
- Parameters:
ledgerGLLineItem- Six-Character Posting Item for Ledger
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ProjectBillingRequestItemJELnk>
-
getKey
- Overrides:
getKeyin classVdmObject<ProjectBillingRequestItemJELnk>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ProjectBillingRequestItemJELnk>
-
fromMap
- Overrides:
fromMapin classVdmObject<ProjectBillingRequestItemJELnk>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ProjectBillingRequestItemJELnk>
-
getProjectBillingRequestItemIfPresent
@Nonnull public io.vavr.control.Option<List<ProjectBillingRequestItem>> getProjectBillingRequestItemIfPresent()Retrieval of associated ProjectBillingRequestItem entities (one to many). This corresponds to the OData navigation property _ProjectBillingRequestItem.If the navigation property for an entity ProjectBillingRequestItemJELnk 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 _ProjectBillingRequestItem is already loaded, the
result will contain the ProjectBillingRequestItem entities. If not, an
Optionwith result stateemptyis returned.
-
setProjectBillingRequestItem
Overwrites the list of associated ProjectBillingRequestItem entities for the loaded navigation property _ProjectBillingRequestItem.If the navigation property _ProjectBillingRequestItem of a queried ProjectBillingRequestItemJELnk 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.
-
addProjectBillingRequestItem
Adds elements to the list of associated ProjectBillingRequestItem entities. This corresponds to the OData navigation property _ProjectBillingRequestItem.If the navigation property _ProjectBillingRequestItem of a queried ProjectBillingRequestItemJELnk 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.
-
builder
@Nonnull public static ProjectBillingRequestItemJELnk.ProjectBillingRequestItemJELnkBuilder builder() -
getProjBillgElmntEntrItmUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjBillgElmntEntrItmUUID
- Returns:
- Project Billing Element Entry UUID
-
getProjectBillingElementUUID
Constraints: NullableOriginal property name from the Odata EDM: ProjectBillingElementUUID
- Returns:
- Project Billing Element UUID
-
getLedger
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Ledger
- Returns:
- Ledger in General Ledger Accounting
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
getFiscalYear
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FiscalYear
- Returns:
- Fiscal Year
-
getAccountingDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AccountingDocument
- Returns:
- Document Number of an Accounting Document
-
getLedgerGLLineItem
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: LedgerGLLineItem
- Returns:
- Six-Character Posting Item for Ledger
-
toString
- Overrides:
toStringin classVdmObject<ProjectBillingRequestItemJELnk>
-
equals
- Overrides:
equalsin classVdmEntity<ProjectBillingRequestItemJELnk>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ProjectBillingRequestItemJELnk>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ProjectBillingRequestItemJELnk>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<ProjectBillingRequestItemJELnk>
-