Class GLAccountInChartOfAccounts
Original entity name from the Odata EDM: A_GLAccountInChartOfAccountsType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of GLAccountInChartOfAccounts instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GLAccountInChartOfAccountsField<Boolean>Use with available fluent helpers to apply the AccountIsBlockedForCreation field to query operations.static final GLAccountInChartOfAccountsField<Boolean>Use with available fluent helpers to apply the AccountIsBlockedForPlanning field to query operations.static final GLAccountInChartOfAccountsField<Boolean>Use with available fluent helpers to apply the AccountIsBlockedForPosting field to query operations.static final GLAccountInChartOfAccountsField<Boolean>Use with available fluent helpers to apply the AccountIsMarkedForDeletion field to query operations.static final GLAccountInChartOfAccountsSelectableSelector for all available fields of GLAccountInChartOfAccounts.static final GLAccountInChartOfAccountsField<String>Use with available fluent helpers to apply the ChartOfAccounts field to query operations.static final GLAccountInChartOfAccountsField<String>Use with available fluent helpers to apply the CorporateGroupAccount field to query operations.static final GLAccountInChartOfAccountsField<String>Use with available fluent helpers to apply the CreatedByUser field to query operations.static final GLAccountInChartOfAccountsField<LocalDateTime>Use with available fluent helpers to apply the CreationDate field to query operations.static final GLAccountInChartOfAccountsField<String>Use with available fluent helpers to apply the FunctionalArea field to query operations.static final GLAccountInChartOfAccountsField<String>Use with available fluent helpers to apply the GLAccount field to query operations.static final GLAccountInChartOfAccountsField<String>Use with available fluent helpers to apply the GLAccountExternal field to query operations.static final GLAccountInChartOfAccountsField<String>Use with available fluent helpers to apply the GLAccountGroup field to query operations.static final GLAccountInChartOfAccountsField<String>Use with available fluent helpers to apply the GLAccountType field to query operations.static final GLAccountInChartOfAccountsField<Boolean>Use with available fluent helpers to apply the IsBalanceSheetAccount field to query operations.static final GLAccountInChartOfAccountsField<Boolean>Use with available fluent helpers to apply the IsProfitLossAccount field to query operations.static final GLAccountInChartOfAccountsField<ZonedDateTime>Use with available fluent helpers to apply the LastChangeDateTime field to query operations.static final GLAccountInChartOfAccountsField<String>Use with available fluent helpers to apply the PartnerCompany field to query operations.static final GLAccountInChartOfAccountsField<String>Use with available fluent helpers to apply the ProfitLossAccountType field to query operations.static final GLAccountInChartOfAccountsField<String>Use with available fluent helpers to apply the SampleGLAccount field to query operations.static final GLAccountInChartOfAccountsLink<GLAccountText>Use with available fluent helpers to apply the to_Text navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionGLAccountInChartOfAccounts(String chartOfAccounts, String gLAccount, Boolean isBalanceSheetAccount, String gLAccountGroup, String corporateGroupAccount, String profitLossAccountType, String sampleGLAccount, Boolean accountIsMarkedForDeletion, Boolean accountIsBlockedForCreation, Boolean accountIsBlockedForPosting, Boolean accountIsBlockedForPlanning, String partnerCompany, String functionalArea, LocalDateTime creationDate, String createdByUser, ZonedDateTime lastChangeDateTime, String gLAccountType, String gLAccountExternal, Boolean isProfitLossAccount, List<GLAccountText> toText) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddText(GLAccountText... entity) Adds elements to the list of associated GLAccountText entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the GLAccountText entities (one to many) associated with this entity.static <T,DomainT>
GLAccountInChartOfAccountsField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> GLAccountInChartOfAccountsField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: noneConstraints: noneConstraints: noneConstraints: none(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0protected Stringprotected StringConstraints: Not nullable, Maximum length: 16(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 1Constraints: noneConstraints: nonegetKey()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<List<GLAccountText>>Retrieval of associated GLAccountText entities (one to many).Retrieval of associated GLAccountText entities (one to many).getType()inthashCode()voidsetAccountIsBlockedForCreation(Boolean accountIsBlockedForCreation) Constraints: nonevoidsetAccountIsBlockedForPlanning(Boolean accountIsBlockedForPlanning) Constraints: nonevoidsetAccountIsBlockedForPosting(Boolean accountIsBlockedForPosting) Constraints: nonevoidsetAccountIsMarkedForDeletion(Boolean accountIsMarkedForDeletion) Constraints: nonevoidsetChartOfAccounts(String chartOfAccounts) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCorporateGroupAccount(String corporateGroupAccount) Constraints: Not nullable, Maximum length: 10voidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetCreationDate(LocalDateTime creationDate) Constraints: Not nullable, Precision: 0voidsetFunctionalArea(String functionalArea) Constraints: Not nullable, Maximum length: 16voidsetGLAccount(String gLAccount) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetGLAccountExternal(String gLAccountExternal) Constraints: Not nullable, Maximum length: 10voidsetGLAccountGroup(String gLAccountGroup) Constraints: Not nullable, Maximum length: 4voidsetGLAccountType(String gLAccountType) Constraints: Not nullable, Maximum length: 1voidsetIsBalanceSheetAccount(Boolean isBalanceSheetAccount) Constraints: nonevoidsetIsProfitLossAccount(Boolean isProfitLossAccount) Constraints: nonevoidsetLastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 0voidsetPartnerCompany(String partnerCompany) Constraints: Not nullable, Maximum length: 6voidsetProfitLossAccountType(String profitLossAccountType) Constraints: Not nullable, Maximum length: 2voidsetSampleGLAccount(String sampleGLAccount) Constraints: Not nullable, Maximum length: 10protected voidsetServicePathForFetch(String servicePathForFetch) voidsetText(List<GLAccountText> value) Overwrites the list of associated GLAccountText entities for the loaded navigation property to_Text.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 GLAccountInChartOfAccounts. -
CHART_OF_ACCOUNTS
Use with available fluent helpers to apply the ChartOfAccounts field to query operations. -
GL_ACCOUNT
Use with available fluent helpers to apply the GLAccount field to query operations. -
IS_BALANCE_SHEET_ACCOUNT
Use with available fluent helpers to apply the IsBalanceSheetAccount field to query operations. -
GL_ACCOUNT_GROUP
Use with available fluent helpers to apply the GLAccountGroup field to query operations. -
CORPORATE_GROUP_ACCOUNT
Use with available fluent helpers to apply the CorporateGroupAccount field to query operations. -
PROFIT_LOSS_ACCOUNT_TYPE
Use with available fluent helpers to apply the ProfitLossAccountType field to query operations. -
SAMPLE_GL_ACCOUNT
Use with available fluent helpers to apply the SampleGLAccount field to query operations. -
ACCOUNT_IS_MARKED_FOR_DELETION
Use with available fluent helpers to apply the AccountIsMarkedForDeletion field to query operations. -
ACCOUNT_IS_BLOCKED_FOR_CREATION
Use with available fluent helpers to apply the AccountIsBlockedForCreation field to query operations. -
ACCOUNT_IS_BLOCKED_FOR_POSTING
Use with available fluent helpers to apply the AccountIsBlockedForPosting field to query operations. -
ACCOUNT_IS_BLOCKED_FOR_PLANNING
Use with available fluent helpers to apply the AccountIsBlockedForPlanning field to query operations. -
PARTNER_COMPANY
Use with available fluent helpers to apply the PartnerCompany field to query operations. -
FUNCTIONAL_AREA
Use with available fluent helpers to apply the FunctionalArea field to query operations. -
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations. -
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations. -
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations. -
GL_ACCOUNT_TYPE
Use with available fluent helpers to apply the GLAccountType field to query operations. -
GL_ACCOUNT_EXTERNAL
Use with available fluent helpers to apply the GLAccountExternal field to query operations. -
IS_PROFIT_LOSS_ACCOUNT
Use with available fluent helpers to apply the IsProfitLossAccount field to query operations. -
TO_TEXT
Use with available fluent helpers to apply the to_Text navigation property to query operations.
-
-
Constructor Details
-
GLAccountInChartOfAccounts
public GLAccountInChartOfAccounts() -
GLAccountInChartOfAccounts
public GLAccountInChartOfAccounts(@Nullable String chartOfAccounts, @Nullable String gLAccount, @Nullable Boolean isBalanceSheetAccount, @Nullable String gLAccountGroup, @Nullable String corporateGroupAccount, @Nullable String profitLossAccountType, @Nullable String sampleGLAccount, @Nullable Boolean accountIsMarkedForDeletion, @Nullable Boolean accountIsBlockedForCreation, @Nullable Boolean accountIsBlockedForPosting, @Nullable Boolean accountIsBlockedForPlanning, @Nullable String partnerCompany, @Nullable String functionalArea, @Nullable LocalDateTime creationDate, @Nullable String createdByUser, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String gLAccountType, @Nullable String gLAccountExternal, @Nullable Boolean isProfitLossAccount, List<GLAccountText> toText)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<GLAccountInChartOfAccounts>
-
setChartOfAccounts
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ChartOfAccounts
- Parameters:
chartOfAccounts- Chart of Accounts
-
setGLAccount
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: GLAccount
- Parameters:
gLAccount- G/L Account Number
-
setIsBalanceSheetAccount
Constraints: noneOriginal property name from the Odata EDM: IsBalanceSheetAccount
- Parameters:
isBalanceSheetAccount- Indicator: Account is a balance sheet account?
-
setGLAccountGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: GLAccountGroup
- Parameters:
gLAccountGroup- G/L Account Group
-
setCorporateGroupAccount
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CorporateGroupAccount
- Parameters:
corporateGroupAccount- Group Account Number
-
setProfitLossAccountType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProfitLossAccountType
- Parameters:
profitLossAccountType- P&L statement account type
-
setSampleGLAccount
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SampleGLAccount
- Parameters:
sampleGLAccount- Number of the sample account
-
setAccountIsMarkedForDeletion
Constraints: noneOriginal property name from the Odata EDM: AccountIsMarkedForDeletion
- Parameters:
accountIsMarkedForDeletion- Indicator: Account Marked for Deletion?
-
setAccountIsBlockedForCreation
Constraints: noneOriginal property name from the Odata EDM: AccountIsBlockedForCreation
- Parameters:
accountIsBlockedForCreation- Indicator: account is blocked for creation ?
-
setAccountIsBlockedForPosting
Constraints: noneOriginal property name from the Odata EDM: AccountIsBlockedForPosting
- Parameters:
accountIsBlockedForPosting- Indicator: Is Account Blocked for Posting?
-
setAccountIsBlockedForPlanning
Constraints: noneOriginal property name from the Odata EDM: AccountIsBlockedForPlanning
- Parameters:
accountIsBlockedForPlanning- Indicator: account blocked for planning ?
-
setPartnerCompany
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PartnerCompany
- Parameters:
partnerCompany- Company ID of Trading Partner
-
setFunctionalArea
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: FunctionalArea
- Parameters:
functionalArea- Functional Area
-
setCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Parameters:
creationDate- Record Created On
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Name of Person who Created the Object
-
setLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Parameters:
lastChangeDateTime- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
setGLAccountType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: GLAccountType
- Parameters:
gLAccountType- Type of a General Ledger Account
-
setGLAccountExternal
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: GLAccountExternal
- Parameters:
gLAccountExternal- G/L Account Number
-
setIsProfitLossAccount
Constraints: noneOriginal property name from the Odata EDM: IsProfitLossAccount
- Parameters:
isProfitLossAccount- Indicator: Account is a balance sheet account?
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<GLAccountInChartOfAccounts>
-
getKey
- Overrides:
getKeyin classVdmObject<GLAccountInChartOfAccounts>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<GLAccountInChartOfAccounts>
-
fromMap
- Overrides:
fromMapin classVdmObject<GLAccountInChartOfAccounts>
-
field
@Nonnull public static <T> GLAccountInChartOfAccountsField<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> GLAccountInChartOfAccountsField<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<GLAccountInChartOfAccounts>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<GLAccountInChartOfAccounts>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<GLAccountInChartOfAccounts>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<GLAccountInChartOfAccounts>
-
fetchText
Fetches the GLAccountText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Text.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated GLAccountText 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.
-
getTextOrFetch
Retrieval of associated GLAccountText entities (one to many). This corresponds to the OData navigation property to_Text.If the navigation property to_Text of a queried GLAccountInChartOfAccounts 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 GLAccountText 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.
-
getTextIfPresent
Retrieval of associated GLAccountText entities (one to many). This corresponds to the OData navigation property to_Text.If the navigation property for an entity GLAccountInChartOfAccounts 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_Text is already loaded, the result will contain the
GLAccountText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated GLAccountText entities for the loaded navigation property to_Text.If the navigation property to_Text of a queried GLAccountInChartOfAccounts 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 GLAccountText entities.
-
addText
Adds elements to the list of associated GLAccountText entities. This corresponds to the OData navigation property to_Text.If the navigation property to_Text of a queried GLAccountInChartOfAccounts 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 GLAccountText entities.
-
builder
-
getChartOfAccounts
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ChartOfAccounts
- Returns:
- Chart of Accounts
-
getGLAccount
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: GLAccount
- Returns:
- G/L Account Number
-
getIsBalanceSheetAccount
Constraints: noneOriginal property name from the Odata EDM: IsBalanceSheetAccount
- Returns:
- Indicator: Account is a balance sheet account?
-
getGLAccountGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: GLAccountGroup
- Returns:
- G/L Account Group
-
getCorporateGroupAccount
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CorporateGroupAccount
- Returns:
- Group Account Number
-
getProfitLossAccountType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: ProfitLossAccountType
- Returns:
- P&L statement account type
-
getSampleGLAccount
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SampleGLAccount
- Returns:
- Number of the sample account
-
getAccountIsMarkedForDeletion
Constraints: noneOriginal property name from the Odata EDM: AccountIsMarkedForDeletion
- Returns:
- Indicator: Account Marked for Deletion?
-
getAccountIsBlockedForCreation
Constraints: noneOriginal property name from the Odata EDM: AccountIsBlockedForCreation
- Returns:
- Indicator: account is blocked for creation ?
-
getAccountIsBlockedForPosting
Constraints: noneOriginal property name from the Odata EDM: AccountIsBlockedForPosting
- Returns:
- Indicator: Is Account Blocked for Posting?
-
getAccountIsBlockedForPlanning
Constraints: noneOriginal property name from the Odata EDM: AccountIsBlockedForPlanning
- Returns:
- Indicator: account blocked for planning ?
-
getPartnerCompany
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: PartnerCompany
- Returns:
- Company ID of Trading Partner
-
getFunctionalArea
Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: FunctionalArea
- Returns:
- Functional Area
-
getCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
- Record Created On
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Name of Person who Created the Object
-
getLastChangeDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Returns:
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
getGLAccountType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: GLAccountType
- Returns:
- Type of a General Ledger Account
-
getGLAccountExternal
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: GLAccountExternal
- Returns:
- G/L Account Number
-
getIsProfitLossAccount
Constraints: noneOriginal property name from the Odata EDM: IsProfitLossAccount
- Returns:
- Indicator: Account is a balance sheet account?
-
toString
- Overrides:
toStringin classVdmObject<GLAccountInChartOfAccounts>
-
equals
- Overrides:
equalsin classVdmEntity<GLAccountInChartOfAccounts>
-
canEqual
- Overrides:
canEqualin classVdmEntity<GLAccountInChartOfAccounts>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<GLAccountInChartOfAccounts>
-