Class TRIALBALANCEParameters
Original entity name from the Odata EDM: C_TRIALBALANCEParameters
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of TRIALBALANCEParameters instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TRIALBALANCEParametersSelectableSelector for all available fields of TRIALBALANCEParameters.static final TRIALBALANCEParametersField<LocalDateTime>Use with available fluent helpers to apply the P_FromPostingDate field to query operations.static final TRIALBALANCEParametersField<String>Use with available fluent helpers to apply the P_FromPostingDateText field to query operations.static final TRIALBALANCEParametersField<LocalDateTime>Use with available fluent helpers to apply the P_ToPostingDate field to query operations.static final TRIALBALANCEParametersField<String>Use with available fluent helpers to apply the P_ToPostingDateText field to query operations.static final TRIALBALANCEParametersLink<TRIALBALANCEResult>Use with available fluent helpers to apply the Results navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionTRIALBALANCEParameters(LocalDateTime p_FromPostingDate, String p_FromPostingDateText, LocalDateTime p_ToPostingDate, String p_ToPostingDateText, List<TRIALBALANCEResult> toResults) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResults(TRIALBALANCEResult... entity) Adds elements to the list of associated TRIALBALANCEResult entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the TRIALBALANCEResult entities (one to many) associated with this entity.static <T,DomainT>
TRIALBALANCEParametersField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> TRIALBALANCEParametersField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 60(Key Field) Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<List<TRIALBALANCEResult>>Retrieval of associated TRIALBALANCEResult entities (one to many).Retrieval of associated TRIALBALANCEResult entities (one to many).getType()inthashCode()voidsetP_FromPostingDate(LocalDateTime p_FromPostingDate) (Key Field) Constraints: Not nullable, Precision: 0voidsetP_FromPostingDateText(String p_FromPostingDateText) Constraints: Not nullable, Maximum length: 60voidsetP_ToPostingDate(LocalDateTime p_ToPostingDate) (Key Field) Constraints: Not nullable, Precision: 0voidsetP_ToPostingDateText(String p_ToPostingDateText) Constraints: Not nullable, Maximum length: 60voidsetResults(List<TRIALBALANCEResult> value) Overwrites the list of associated TRIALBALANCEResult entities for the loaded navigation property Results.protected voidsetServicePathForFetch(String servicePathForFetch) 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 TRIALBALANCEParameters. -
P_FROM_POSTING_DATE
Use with available fluent helpers to apply the P_FromPostingDate field to query operations. -
P_FROM_POSTING_DATE_TEXT
Use with available fluent helpers to apply the P_FromPostingDateText field to query operations. -
P_TO_POSTING_DATE
Use with available fluent helpers to apply the P_ToPostingDate field to query operations. -
P_TO_POSTING_DATE_TEXT
Use with available fluent helpers to apply the P_ToPostingDateText field to query operations. -
TO_RESULTS
Use with available fluent helpers to apply the Results navigation property to query operations.
-
-
Constructor Details
-
TRIALBALANCEParameters
public TRIALBALANCEParameters() -
TRIALBALANCEParameters
public TRIALBALANCEParameters(@Nullable LocalDateTime p_FromPostingDate, @Nullable String p_FromPostingDateText, @Nullable LocalDateTime p_ToPostingDate, @Nullable String p_ToPostingDateText, List<TRIALBALANCEResult> toResults)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<TRIALBALANCEParameters>
-
setP_FromPostingDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: P_FromPostingDate
- Parameters:
p_FromPostingDate- Posting Date From
-
setP_FromPostingDateText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: P_FromPostingDateText
- Parameters:
p_FromPostingDateText- Posting Date From (Description)
-
setP_ToPostingDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: P_ToPostingDate
- Parameters:
p_ToPostingDate- Posting Date To
-
setP_ToPostingDateText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: P_ToPostingDateText
- Parameters:
p_ToPostingDateText- Posting Date To (Description)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<TRIALBALANCEParameters>
-
getKey
- Overrides:
getKeyin classVdmObject<TRIALBALANCEParameters>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<TRIALBALANCEParameters>
-
fromMap
- Overrides:
fromMapin classVdmObject<TRIALBALANCEParameters>
-
field
@Nonnull public static <T> TRIALBALANCEParametersField<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> TRIALBALANCEParametersField<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<TRIALBALANCEParameters>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<TRIALBALANCEParameters>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<TRIALBALANCEParameters>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<TRIALBALANCEParameters>
-
fetchResults
Fetches the TRIALBALANCEResult entities (one to many) associated with this entity. This corresponds to the OData navigation property Results.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated TRIALBALANCEResult 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.
-
getResultsOrFetch
Retrieval of associated TRIALBALANCEResult entities (one to many). This corresponds to the OData navigation property Results.If the navigation property Results of a queried TRIALBALANCEParameters 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 TRIALBALANCEResult 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.
-
getResultsIfPresent
Retrieval of associated TRIALBALANCEResult entities (one to many). This corresponds to the OData navigation property Results.If the navigation property for an entity TRIALBALANCEParameters 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 Results is already loaded, the result will contain the
TRIALBALANCEResult entities. If not, an
Optionwith result stateemptyis returned.
-
setResults
Overwrites the list of associated TRIALBALANCEResult entities for the loaded navigation property Results.If the navigation property Results of a queried TRIALBALANCEParameters 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 TRIALBALANCEResult entities.
-
addResults
Adds elements to the list of associated TRIALBALANCEResult entities. This corresponds to the OData navigation property Results.If the navigation property Results of a queried TRIALBALANCEParameters 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 TRIALBALANCEResult entities.
-
builder
-
getP_FromPostingDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: P_FromPostingDate
- Returns:
- Posting Date From
-
getP_FromPostingDateText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: P_FromPostingDateText
- Returns:
- Posting Date From (Description)
-
getP_ToPostingDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: P_ToPostingDate
- Returns:
- Posting Date To
-
getP_ToPostingDateText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: P_ToPostingDateText
- Returns:
- Posting Date To (Description)
-
toString
- Overrides:
toStringin classVdmObject<TRIALBALANCEParameters>
-
equals
- Overrides:
equalsin classVdmEntity<TRIALBALANCEParameters>
-
canEqual
- Overrides:
canEqualin classVdmEntity<TRIALBALANCEParameters>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<TRIALBALANCEParameters>
-