Class FundCoreHierarchy
Original entity name from the Odata EDM: FundCoreHierarchy_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FundCoreHierarchy instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FundCoreHierarchySelectableSelector for all available fields of FundCoreHierarchy.static final FundCoreHierarchyField<String>Use with available fluent helpers to apply the FinancialManagementArea field to query operations.static final FundCoreHierarchyField<String>Use with available fluent helpers to apply the FundHierarchy field to query operations.static final FundCoreHierarchyLink<FundCoreHierNode>Use with available fluent helpers to apply the to_FundCoreHierNode navigation property to query operations.static final FundCoreHierarchyLink<FundCoreHierarchyText>Use with available fluent helpers to apply the to_FundCoreHierarchyText navigation property to query operations.static final FundCoreHierarchyField<LocalDateTime>Use with available fluent helpers to apply the ValidityEndDate field to query operations.static final FundCoreHierarchyField<LocalDateTime>Use with available fluent helpers to apply the ValidityStartDate field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionFundCoreHierarchy(String fundHierarchy, LocalDateTime validityEndDate, LocalDateTime validityStartDate, String financialManagementArea, List<FundCoreHierarchyText> toFundCoreHierarchyText, List<FundCoreHierNode> toFundCoreHierNode) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFundCoreHierarchyText(FundCoreHierarchyText... entity) Adds elements to the list of associated FundCoreHierarchyText entities.voidaddFundCoreHierNode(FundCoreHierNode... entity) Adds elements to the list of associated FundCoreHierNode entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the FundCoreHierarchyText entities (one to many) associated with this entity.Fetches the FundCoreHierNode entities (one to many) associated with this entity.static <T,DomainT>
FundCoreHierarchyField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> FundCoreHierarchyField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringConstraints: Not nullable, Maximum length: 4io.vavr.control.Option<List<FundCoreHierarchyText>>Retrieval of associated FundCoreHierarchyText entities (one to many).Retrieval of associated FundCoreHierarchyText entities (one to many).io.vavr.control.Option<List<FundCoreHierNode>>Retrieval of associated FundCoreHierNode entities (one to many).Retrieval of associated FundCoreHierNode entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 42getKey()getType()(Key Field) Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0inthashCode()voidsetFinancialManagementArea(String financialManagementArea) Constraints: Not nullable, Maximum length: 4voidOverwrites the list of associated FundCoreHierarchyText entities for the loaded navigation property to_FundCoreHierarchyText.voidsetFundCoreHierNode(List<FundCoreHierNode> value) Overwrites the list of associated FundCoreHierNode entities for the loaded navigation property to_FundCoreHierNode.voidsetFundHierarchy(String fundHierarchy) (Key Field) Constraints: Not nullable, Maximum length: 42protected voidsetServicePathForFetch(String servicePathForFetch) voidsetValidityEndDate(LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0voidsetValidityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0toString()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 FundCoreHierarchy. -
FUND_HIERARCHY
Use with available fluent helpers to apply the FundHierarchy field to query operations. -
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations. -
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations. -
FINANCIAL_MANAGEMENT_AREA
Use with available fluent helpers to apply the FinancialManagementArea field to query operations. -
TO_FUND_CORE_HIERARCHY_TEXT
Use with available fluent helpers to apply the to_FundCoreHierarchyText navigation property to query operations. -
TO_FUND_CORE_HIER_NODE
Use with available fluent helpers to apply the to_FundCoreHierNode navigation property to query operations.
-
-
Constructor Details
-
FundCoreHierarchy
public FundCoreHierarchy() -
FundCoreHierarchy
public FundCoreHierarchy(@Nullable String fundHierarchy, @Nullable LocalDateTime validityEndDate, @Nullable LocalDateTime validityStartDate, @Nullable String financialManagementArea, List<FundCoreHierarchyText> toFundCoreHierarchyText, List<FundCoreHierNode> toFundCoreHierNode)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FundCoreHierarchy>
-
setFundHierarchy
(Key Field) Constraints: Not nullable, Maximum length: 42Original property name from the Odata EDM: FundHierarchy
- Parameters:
fundHierarchy- Fund Hierarchy
-
setValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Validity End Date
-
setValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Validity Start Date
-
setFinancialManagementArea
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FinancialManagementArea
- Parameters:
financialManagementArea- Financial Management Area
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<FundCoreHierarchy>
-
getKey
- Overrides:
getKeyin classVdmObject<FundCoreHierarchy>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FundCoreHierarchy>
-
fromMap
- Overrides:
fromMapin classVdmObject<FundCoreHierarchy>
-
field
@Nonnull public static <T> FundCoreHierarchyField<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> FundCoreHierarchyField<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<FundCoreHierarchy>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<FundCoreHierarchy>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<FundCoreHierarchy>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FundCoreHierarchy>
-
fetchFundCoreHierarchyText
Fetches the FundCoreHierarchyText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_FundCoreHierarchyText.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated FundCoreHierarchyText 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.
-
getFundCoreHierarchyTextOrFetch
Retrieval of associated FundCoreHierarchyText entities (one to many). This corresponds to the OData navigation property to_FundCoreHierarchyText.If the navigation property to_FundCoreHierarchyText of a queried FundCoreHierarchy 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 FundCoreHierarchyText 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.
-
getFundCoreHierarchyTextIfPresent
@Nonnull public io.vavr.control.Option<List<FundCoreHierarchyText>> getFundCoreHierarchyTextIfPresent()Retrieval of associated FundCoreHierarchyText entities (one to many). This corresponds to the OData navigation property to_FundCoreHierarchyText.If the navigation property for an entity FundCoreHierarchy 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_FundCoreHierarchyText is already loaded, the result
will contain the FundCoreHierarchyText entities. If not, an
Optionwith result stateemptyis returned.
-
setFundCoreHierarchyText
Overwrites the list of associated FundCoreHierarchyText entities for the loaded navigation property to_FundCoreHierarchyText.If the navigation property to_FundCoreHierarchyText of a queried FundCoreHierarchy 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 FundCoreHierarchyText entities.
-
addFundCoreHierarchyText
Adds elements to the list of associated FundCoreHierarchyText entities. This corresponds to the OData navigation property to_FundCoreHierarchyText.If the navigation property to_FundCoreHierarchyText of a queried FundCoreHierarchy 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 FundCoreHierarchyText entities.
-
fetchFundCoreHierNode
Fetches the FundCoreHierNode entities (one to many) associated with this entity. This corresponds to the OData navigation property to_FundCoreHierNode.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated FundCoreHierNode 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.
-
getFundCoreHierNodeOrFetch
Retrieval of associated FundCoreHierNode entities (one to many). This corresponds to the OData navigation property to_FundCoreHierNode.If the navigation property to_FundCoreHierNode of a queried FundCoreHierarchy 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 FundCoreHierNode 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.
-
getFundCoreHierNodeIfPresent
Retrieval of associated FundCoreHierNode entities (one to many). This corresponds to the OData navigation property to_FundCoreHierNode.If the navigation property for an entity FundCoreHierarchy 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_FundCoreHierNode is already loaded, the result will
contain the FundCoreHierNode entities. If not, an
Optionwith result stateemptyis returned.
-
setFundCoreHierNode
Overwrites the list of associated FundCoreHierNode entities for the loaded navigation property to_FundCoreHierNode.If the navigation property to_FundCoreHierNode of a queried FundCoreHierarchy 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 FundCoreHierNode entities.
-
addFundCoreHierNode
Adds elements to the list of associated FundCoreHierNode entities. This corresponds to the OData navigation property to_FundCoreHierNode.If the navigation property to_FundCoreHierNode of a queried FundCoreHierarchy 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 FundCoreHierNode entities.
-
builder
-
getFundHierarchy
(Key Field) Constraints: Not nullable, Maximum length: 42Original property name from the Odata EDM: FundHierarchy
- Returns:
- Fund Hierarchy
-
getValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
- Validity End Date
-
getValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
- Validity Start Date
-
getFinancialManagementArea
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: FinancialManagementArea
- Returns:
- Financial Management Area
-
toString
- Overrides:
toStringin classVdmObject<FundCoreHierarchy>
-
equals
- Overrides:
equalsin classVdmEntity<FundCoreHierarchy>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FundCoreHierarchy>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FundCoreHierarchy>
-