Class ConsolidationUnitByTimeVersion
Original entity name from the Odata EDM: ConsolidationUnitByTimeVersionType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ConsolidationUnitByTimeVersion instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConsolidationUnitByTimeVersionSelectableSelector for all available fields of ConsolidationUnitByTimeVersion.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the CnsldtnCrcyTranslationMethod field to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the CnsldtnDataTransferMethod field to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the CnsldtnUnitDataCollection field to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the CnsldtnUnitGroupCrcySource field to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the CnsldtnUnitLocalCrcySource field to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the CnsldtnUploadMethod field to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the ConsolidationUnit field to query operations.static final ConsolidationUnitByTimeVersionField<Boolean>Use with available fluent helpers to apply the ConsolidationUnitIsPartnerOnly field to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the ConsolidationUnitPartner field to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the ConsolidationUnitPostingRule field to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the ConsolidationUnitValidation field to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the ConsolidationVersion field to query operations.static final ConsolidationUnitByTimeVersionField<Boolean>Use with available fluent helpers to apply the DocumentEntryIsInGroupCurrency field to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the FiscalYearVariant field to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the FromFiscalYearPeriod field to query operations.static final ConsolidationUnitByTimeVersionField<BigDecimal>Use with available fluent helpers to apply the TaxRate field to query operations.static final ConsolidationUnitByTimeVersionOneToOneLink<ConsolidationUnit>Use with available fluent helpers to apply the to_CnsldtnUnit navigation property to query operations.static final ConsolidationUnitByTimeVersionField<String>Use with available fluent helpers to apply the ToFiscalYearPeriod field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionConsolidationUnitByTimeVersion(String consolidationUnit, String consolidationVersion, String fromFiscalYearPeriod, String toFiscalYearPeriod, Boolean consolidationUnitIsPartnerOnly, String cnsldtnCrcyTranslationMethod, BigDecimal taxRate, String fiscalYearVariant, String cnsldtnDataTransferMethod, Boolean documentEntryIsInGroupCurrency, String cnsldtnUnitLocalCrcySource, String cnsldtnUnitGroupCrcySource, String cnsldtnUploadMethod, String cnsldtnUnitDataCollection, String consolidationUnitPartner, String consolidationUnitPostingRule, String consolidationUnitValidation, ConsolidationUnit toCnsldtnUnit) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the ConsolidationUnit entity (one to one) associated with this entity.static <T,DomainT>
ConsolidationUnitByTimeVersionField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ConsolidationUnitByTimeVersionField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 1io.vavr.control.Option<ConsolidationUnit>Retrieval of associated ConsolidationUnit entity (one to one).Constraints: Not nullable, Maximum length: 1Retrieval of associated ConsolidationUnit entity (one to one).Constraints: Not nullable, Maximum length: 5(Key Field) Constraints: Not nullable, Maximum length: 18Constraints: noneConstraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 30(Key Field) Constraints: Not nullable, Maximum length: 3protected StringConstraints: noneprotected StringConstraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 7getKey()Constraints: Not nullable, Precision: 7, Scale: 4Constraints: Not nullable, Maximum length: 7getType()inthashCode()voidsetCnsldtnCrcyTranslationMethod(String cnsldtnCrcyTranslationMethod) Constraints: Not nullable, Maximum length: 5voidsetCnsldtnDataTransferMethod(String cnsldtnDataTransferMethod) Constraints: Not nullable, Maximum length: 1voidsetCnsldtnUnit(ConsolidationUnit value) Overwrites the associated ConsolidationUnit entity for the loaded navigation property to_CnsldtnUnit.voidsetCnsldtnUnitDataCollection(String cnsldtnUnitDataCollection) Constraints: Not nullable, Maximum length: 30voidsetCnsldtnUnitGroupCrcySource(String cnsldtnUnitGroupCrcySource) Constraints: Not nullable, Maximum length: 1voidsetCnsldtnUnitLocalCrcySource(String cnsldtnUnitLocalCrcySource) Constraints: Not nullable, Maximum length: 1voidsetCnsldtnUploadMethod(String cnsldtnUploadMethod) Constraints: Not nullable, Maximum length: 5voidsetConsolidationUnit(String consolidationUnit) (Key Field) Constraints: Not nullable, Maximum length: 18voidsetConsolidationUnitIsPartnerOnly(Boolean consolidationUnitIsPartnerOnly) Constraints: nonevoidsetConsolidationUnitPartner(String consolidationUnitPartner) Constraints: Not nullable, Maximum length: 30voidsetConsolidationUnitPostingRule(String consolidationUnitPostingRule) Constraints: Not nullable, Maximum length: 30voidsetConsolidationUnitValidation(String consolidationUnitValidation) Constraints: Not nullable, Maximum length: 30voidsetConsolidationVersion(String consolidationVersion) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetDocumentEntryIsInGroupCurrency(Boolean documentEntryIsInGroupCurrency) Constraints: nonevoidsetFiscalYearVariant(String fiscalYearVariant) Constraints: Not nullable, Maximum length: 2voidsetFromFiscalYearPeriod(String fromFiscalYearPeriod) (Key Field) Constraints: Not nullable, Maximum length: 7protected voidsetServicePathForFetch(String servicePathForFetch) voidsetTaxRate(BigDecimal taxRate) Constraints: Not nullable, Precision: 7, Scale: 4voidsetToFiscalYearPeriod(String toFiscalYearPeriod) Constraints: Not nullable, Maximum length: 7toString()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 ConsolidationUnitByTimeVersion. -
CONSOLIDATION_UNIT
Use with available fluent helpers to apply the ConsolidationUnit field to query operations. -
CONSOLIDATION_VERSION
Use with available fluent helpers to apply the ConsolidationVersion field to query operations. -
FROM_FISCAL_YEAR_PERIOD
Use with available fluent helpers to apply the FromFiscalYearPeriod field to query operations. -
TO_FISCAL_YEAR_PERIOD
Use with available fluent helpers to apply the ToFiscalYearPeriod field to query operations. -
CONSOLIDATION_UNIT_IS_PARTNER_ONLY
Use with available fluent helpers to apply the ConsolidationUnitIsPartnerOnly field to query operations. -
CNSLDTN_CRCY_TRANSLATION_METHOD
Use with available fluent helpers to apply the CnsldtnCrcyTranslationMethod field to query operations. -
TAX_RATE
Use with available fluent helpers to apply the TaxRate field to query operations. -
FISCAL_YEAR_VARIANT
Use with available fluent helpers to apply the FiscalYearVariant field to query operations. -
CNSLDTN_DATA_TRANSFER_METHOD
Use with available fluent helpers to apply the CnsldtnDataTransferMethod field to query operations. -
DOCUMENT_ENTRY_IS_IN_GROUP_CURRENCY
public static final ConsolidationUnitByTimeVersionField<Boolean> DOCUMENT_ENTRY_IS_IN_GROUP_CURRENCYUse with available fluent helpers to apply the DocumentEntryIsInGroupCurrency field to query operations. -
CNSLDTN_UNIT_LOCAL_CRCY_SOURCE
Use with available fluent helpers to apply the CnsldtnUnitLocalCrcySource field to query operations. -
CNSLDTN_UNIT_GROUP_CRCY_SOURCE
Use with available fluent helpers to apply the CnsldtnUnitGroupCrcySource field to query operations. -
CNSLDTN_UPLOAD_METHOD
Use with available fluent helpers to apply the CnsldtnUploadMethod field to query operations. -
CNSLDTN_UNIT_DATA_COLLECTION
Use with available fluent helpers to apply the CnsldtnUnitDataCollection field to query operations. -
CONSOLIDATION_UNIT_PARTNER
Use with available fluent helpers to apply the ConsolidationUnitPartner field to query operations. -
CONSOLIDATION_UNIT_POSTING_RULE
Use with available fluent helpers to apply the ConsolidationUnitPostingRule field to query operations. -
CONSOLIDATION_UNIT_VALIDATION
Use with available fluent helpers to apply the ConsolidationUnitValidation field to query operations. -
TO_CNSLDTN_UNIT
Use with available fluent helpers to apply the to_CnsldtnUnit navigation property to query operations.
-
-
Constructor Details
-
ConsolidationUnitByTimeVersion
public ConsolidationUnitByTimeVersion() -
ConsolidationUnitByTimeVersion
public ConsolidationUnitByTimeVersion(@Nullable String consolidationUnit, @Nullable String consolidationVersion, @Nullable String fromFiscalYearPeriod, @Nullable String toFiscalYearPeriod, @Nullable Boolean consolidationUnitIsPartnerOnly, @Nullable String cnsldtnCrcyTranslationMethod, @Nullable BigDecimal taxRate, @Nullable String fiscalYearVariant, @Nullable String cnsldtnDataTransferMethod, @Nullable Boolean documentEntryIsInGroupCurrency, @Nullable String cnsldtnUnitLocalCrcySource, @Nullable String cnsldtnUnitGroupCrcySource, @Nullable String cnsldtnUploadMethod, @Nullable String cnsldtnUnitDataCollection, @Nullable String consolidationUnitPartner, @Nullable String consolidationUnitPostingRule, @Nullable String consolidationUnitValidation, @Nullable ConsolidationUnit toCnsldtnUnit)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ConsolidationUnitByTimeVersion>
-
setConsolidationUnit
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ConsolidationUnit
- Parameters:
consolidationUnit- Consolidation Unit
-
setConsolidationVersion
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConsolidationVersion
- Parameters:
consolidationVersion- Consolidation Version
-
setFromFiscalYearPeriod
(Key Field) Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: FromFiscalYearPeriod
- Parameters:
fromFiscalYearPeriod- From Fiscal Year Period
-
setToFiscalYearPeriod
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ToFiscalYearPeriod
- Parameters:
toFiscalYearPeriod- To Fiscal Year Period
-
setConsolidationUnitIsPartnerOnly
Constraints: noneOriginal property name from the Odata EDM: ConsolidationUnitIsPartnerOnly
- Parameters:
consolidationUnitIsPartnerOnly- Consolidation Unit is Partner Unit Only
-
setCnsldtnCrcyTranslationMethod
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CnsldtnCrcyTranslationMethod
- Parameters:
cnsldtnCrcyTranslationMethod- Currency Translation Method
-
setTaxRate
Constraints: Not nullable, Precision: 7, Scale: 4Original property name from the Odata EDM: TaxRate
- Parameters:
taxRate- Tax Rate
-
setFiscalYearVariant
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FiscalYearVariant
- Parameters:
fiscalYearVariant- Deviating Fiscal Year Variant
-
setCnsldtnDataTransferMethod
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CnsldtnDataTransferMethod
- Parameters:
cnsldtnDataTransferMethod- Universal Journal Integration
-
setDocumentEntryIsInGroupCurrency
Constraints: noneOriginal property name from the Odata EDM: DocumentEntryIsInGroupCurrency
- Parameters:
documentEntryIsInGroupCurrency- Group Currency is Leading Currency
-
setCnsldtnUnitLocalCrcySource
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CnsldtnUnitLocalCrcySource
- Parameters:
cnsldtnUnitLocalCrcySource- Source for Local Currency Key Figure
-
setCnsldtnUnitGroupCrcySource
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CnsldtnUnitGroupCrcySource
- Parameters:
cnsldtnUnitGroupCrcySource- Source for Group Currency Key Figure
-
setCnsldtnUploadMethod
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CnsldtnUploadMethod
- Parameters:
cnsldtnUploadMethod- Upload Method
-
setCnsldtnUnitDataCollection
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: CnsldtnUnitDataCollection
- Parameters:
cnsldtnUnitDataCollection- Data Collection Selection Attribute
-
setConsolidationUnitPartner
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationUnitPartner
- Parameters:
consolidationUnitPartner- Partner Selection Attribute
-
setConsolidationUnitPostingRule
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationUnitPostingRule
- Parameters:
consolidationUnitPostingRule- Posting Rule Selection Attribute
-
setConsolidationUnitValidation
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationUnitValidation
- Parameters:
consolidationUnitValidation- Validation Selection Attribute
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ConsolidationUnitByTimeVersion>
-
getKey
- Overrides:
getKeyin classVdmObject<ConsolidationUnitByTimeVersion>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ConsolidationUnitByTimeVersion>
-
fromMap
- Overrides:
fromMapin classVdmObject<ConsolidationUnitByTimeVersion>
-
field
@Nonnull public static <T> ConsolidationUnitByTimeVersionField<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> ConsolidationUnitByTimeVersionField<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<ConsolidationUnitByTimeVersion>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ConsolidationUnitByTimeVersion>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ConsolidationUnitByTimeVersion>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ConsolidationUnitByTimeVersion>
-
fetchCnsldtnUnit
Fetches the ConsolidationUnit entity (one to one) associated with this entity. This corresponds to the OData navigation property to_CnsldtnUnit.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated ConsolidationUnit entity, or
nullif an entity is not associated. - 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.
-
getCnsldtnUnitOrFetch
Retrieval of associated ConsolidationUnit entity (one to one). This corresponds to the OData navigation property to_CnsldtnUnit.If the navigation property to_CnsldtnUnit of a queried ConsolidationUnitByTimeVersion 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 ConsolidationUnit entity.
- 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.
-
getCnsldtnUnitIfPresent
Retrieval of associated ConsolidationUnit entity (one to one). This corresponds to the OData navigation property to_CnsldtnUnit.If the navigation property for an entity ConsolidationUnitByTimeVersion 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_CnsldtnUnit is already loaded, the result will
contain the ConsolidationUnit entity. If not, an
Optionwith result stateemptyis returned.
-
setCnsldtnUnit
Overwrites the associated ConsolidationUnit entity for the loaded navigation property to_CnsldtnUnit.- Parameters:
value- New ConsolidationUnit entity.
-
builder
@Nonnull public static ConsolidationUnitByTimeVersion.ConsolidationUnitByTimeVersionBuilder builder() -
getConsolidationUnit
(Key Field) Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ConsolidationUnit
- Returns:
- Consolidation Unit
-
getConsolidationVersion
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConsolidationVersion
- Returns:
- Consolidation Version
-
getFromFiscalYearPeriod
(Key Field) Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: FromFiscalYearPeriod
- Returns:
- From Fiscal Year Period
-
getToFiscalYearPeriod
Constraints: Not nullable, Maximum length: 7Original property name from the Odata EDM: ToFiscalYearPeriod
- Returns:
- To Fiscal Year Period
-
getConsolidationUnitIsPartnerOnly
Constraints: noneOriginal property name from the Odata EDM: ConsolidationUnitIsPartnerOnly
- Returns:
- Consolidation Unit is Partner Unit Only
-
getCnsldtnCrcyTranslationMethod
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CnsldtnCrcyTranslationMethod
- Returns:
- Currency Translation Method
-
getTaxRate
Constraints: Not nullable, Precision: 7, Scale: 4Original property name from the Odata EDM: TaxRate
- Returns:
- Tax Rate
-
getFiscalYearVariant
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: FiscalYearVariant
- Returns:
- Deviating Fiscal Year Variant
-
getCnsldtnDataTransferMethod
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CnsldtnDataTransferMethod
- Returns:
- Universal Journal Integration
-
getDocumentEntryIsInGroupCurrency
Constraints: noneOriginal property name from the Odata EDM: DocumentEntryIsInGroupCurrency
- Returns:
- Group Currency is Leading Currency
-
getCnsldtnUnitLocalCrcySource
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CnsldtnUnitLocalCrcySource
- Returns:
- Source for Local Currency Key Figure
-
getCnsldtnUnitGroupCrcySource
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CnsldtnUnitGroupCrcySource
- Returns:
- Source for Group Currency Key Figure
-
getCnsldtnUploadMethod
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CnsldtnUploadMethod
- Returns:
- Upload Method
-
getCnsldtnUnitDataCollection
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: CnsldtnUnitDataCollection
- Returns:
- Data Collection Selection Attribute
-
getConsolidationUnitPartner
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationUnitPartner
- Returns:
- Partner Selection Attribute
-
getConsolidationUnitPostingRule
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationUnitPostingRule
- Returns:
- Posting Rule Selection Attribute
-
getConsolidationUnitValidation
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationUnitValidation
- Returns:
- Validation Selection Attribute
-
toString
- Overrides:
toStringin classVdmObject<ConsolidationUnitByTimeVersion>
-
equals
- Overrides:
equalsin classVdmEntity<ConsolidationUnitByTimeVersion>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ConsolidationUnitByTimeVersion>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ConsolidationUnitByTimeVersion>
-