Class CnsldtnGLChartOfAccounts
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CnsldtnGLChartOfAccounts_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnGLChartOfAccounts instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<CnsldtnGLChartOfAccounts,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<CnsldtnGLChartOfAccounts>Selector for all available fields of CnsldtnGLChartOfAccounts.static final SimpleProperty.String<CnsldtnGLChartOfAccounts>static final SimpleProperty.Boolean<CnsldtnGLChartOfAccounts>Use with available request builders to apply the _Text 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
ConstructorsConstructorDescriptionCnsldtnGLChartOfAccounts(String chartOfAccounts, Boolean cnsldtnIsAdditionalMasterData, Collection<SAP__Message> _Messages, List<CnsldtnGLChartOfAcctsText> to_Text) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddText(CnsldtnGLChartOfAcctsText... entity) Adds elements to the list of associated CnsldtnGLChartOfAcctsText entities.builder()protected booleanbooleanprotected voidConstraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<List<CnsldtnGLChartOfAcctsText>>Retrieval of associated CnsldtnGLChartOfAcctsText entities (one to many).getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetChartOfAccounts(String chartOfAccounts) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidsetText(List<CnsldtnGLChartOfAcctsText> value) Overwrites the list of associated CnsldtnGLChartOfAcctsText entities for the loaded navigation property _Text.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 CnsldtnGLChartOfAccounts. -
CHART_OF_ACCOUNTS
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
public static final SimpleProperty.Boolean<CnsldtnGLChartOfAccounts> CNSLDTN_IS_ADDITIONAL_MASTER_DATA -
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__TEXT
public static final NavigationProperty.Collection<CnsldtnGLChartOfAccounts,CnsldtnGLChartOfAcctsText> TO__TEXTUse with available request builders to apply the _Text navigation property to query operations.
-
-
Constructor Details
-
CnsldtnGLChartOfAccounts
public CnsldtnGLChartOfAccounts() -
CnsldtnGLChartOfAccounts
public CnsldtnGLChartOfAccounts(@Nullable String chartOfAccounts, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable Collection<SAP__Message> _Messages, List<CnsldtnGLChartOfAcctsText> to_Text)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnGLChartOfAccounts>
-
setChartOfAccounts
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ChartOfAccounts
- Parameters:
chartOfAccounts- G/L Chart of Accounts
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnGLChartOfAccounts>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnGLChartOfAccounts>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnGLChartOfAccounts>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnGLChartOfAccounts>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnGLChartOfAccounts>
-
getTextIfPresent
Retrieval of associated CnsldtnGLChartOfAcctsText entities (one to many). This corresponds to the OData navigation property _Text.If the navigation property for an entity CnsldtnGLChartOfAccounts 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 _Text is already loaded, the result will contain the
CnsldtnGLChartOfAcctsText entities. If not, an
Optionwith result stateemptyis returned.
-
setText
Overwrites the list of associated CnsldtnGLChartOfAcctsText entities for the loaded navigation property _Text.If the navigation property _Text of a queried CnsldtnGLChartOfAccounts 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 CnsldtnGLChartOfAcctsText entities.
-
addText
Adds elements to the list of associated CnsldtnGLChartOfAcctsText entities. This corresponds to the OData navigation property _Text.If the navigation property _Text of a queried CnsldtnGLChartOfAccounts 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 CnsldtnGLChartOfAcctsText entities.
-
builder
-
getChartOfAccounts
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ChartOfAccounts
- Returns:
- G/L Chart of Accounts
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnGLChartOfAccounts>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnGLChartOfAccounts>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnGLChartOfAccounts>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnGLChartOfAccounts>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnGLChartOfAccounts>
-