Class ConsolidationVersion
Original entity name from the Odata EDM: ConsolidationVersionType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ConsolidationVersion instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConsolidationVersionSelectableSelector for all available fields of ConsolidationVersion.static final ConsolidationVersionField<Boolean>Use with available fluent helpers to apply the CnsldtnIsPlanVersion field to query operations.static final ConsolidationVersionField<String>Use with available fluent helpers to apply the CnsldtnReferenceVersion field to query operations.static final ConsolidationVersionField<String>Use with available fluent helpers to apply the CnsldtnReferenceVersion_Text field to query operations.static final ConsolidationVersionField<Boolean>Use with available fluent helpers to apply the CnsldtnVersionHasAllKeyFigures field to query operations.static final ConsolidationVersionField<String>Use with available fluent helpers to apply the CnsldtnVersionRunMode field to query operations.static final ConsolidationVersionField<String>Use with available fluent helpers to apply the CnsldtnVersionType field to query operations.static final ConsolidationVersionField<String>Use with available fluent helpers to apply the CnsldtnVersionType_Text field to query operations.static final ConsolidationVersionField<String>Use with available fluent helpers to apply the ConsolidationVersion field to query operations.static final ConsolidationVersionField<String>Use with available fluent helpers to apply the ConsolidationVersion_Text field to query operations.static final ConsolidationVersionField<String>Use with available fluent helpers to apply the GroupCurrency field to query operations.static final ConsolidationVersionField<String>Use with available fluent helpers to apply the GroupCurrency_Text field to query operations.static final ConsolidationVersionLink<ConsolidationVersionText>Use with available fluent helpers to apply the to_CnsldtnVersionT navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionConsolidationVersion(String consolidationVersion, String consolidationVersion_Text, String cnsldtnReferenceVersion, String cnsldtnReferenceVersion_Text, String groupCurrency, String groupCurrency_Text, Boolean cnsldtnIsPlanVersion, String cnsldtnVersionType, String cnsldtnVersionType_Text, String cnsldtnVersionRunMode, Boolean cnsldtnVersionHasAllKeyFigures, List<ConsolidationVersionText> toCnsldtnVersionT) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCnsldtnVersionT(ConsolidationVersionText... entity) Adds elements to the list of associated ConsolidationVersionText entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the ConsolidationVersionText entities (one to many) associated with this entity.static <T,DomainT>
ConsolidationVersionField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ConsolidationVersionField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: noneConstraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 30Constraints: noneConstraints: Not nullable, Maximum length: 1io.vavr.control.Option<List<ConsolidationVersionText>>Retrieval of associated ConsolidationVersionText entities (one to many).Retrieval of associated ConsolidationVersionText entities (one to many).Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 30protected Stringprotected StringConstraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 40getKey()getType()inthashCode()voidsetCnsldtnIsPlanVersion(Boolean cnsldtnIsPlanVersion) Constraints: nonevoidsetCnsldtnReferenceVersion(String cnsldtnReferenceVersion) Constraints: Not nullable, Maximum length: 3voidsetCnsldtnReferenceVersion_Text(String cnsldtnReferenceVersion_Text) Constraints: Not nullable, Maximum length: 30voidsetCnsldtnVersionHasAllKeyFigures(Boolean cnsldtnVersionHasAllKeyFigures) Constraints: nonevoidsetCnsldtnVersionRunMode(String cnsldtnVersionRunMode) Constraints: Not nullable, Maximum length: 1voidOverwrites the list of associated ConsolidationVersionText entities for the loaded navigation property to_CnsldtnVersionT.voidsetCnsldtnVersionType(String cnsldtnVersionType) Constraints: Not nullable, Maximum length: 1voidsetCnsldtnVersionType_Text(String cnsldtnVersionType_Text) Constraints: Not nullable, Maximum length: 40voidsetConsolidationVersion(String consolidationVersion) (Key Field) Constraints: Not nullable, Maximum length: 3voidsetConsolidationVersion_Text(String consolidationVersion_Text) Constraints: Not nullable, Maximum length: 30voidsetGroupCurrency(String groupCurrency) Constraints: Not nullable, Maximum length: 5voidsetGroupCurrency_Text(String groupCurrency_Text) Constraints: Not nullable, Maximum length: 40protected 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 ConsolidationVersion. -
CONSOLIDATION_VERSION
Use with available fluent helpers to apply the ConsolidationVersion field to query operations. -
CONSOLIDATION_VERSION_TEXT
Use with available fluent helpers to apply the ConsolidationVersion_Text field to query operations. -
CNSLDTN_REFERENCE_VERSION
Use with available fluent helpers to apply the CnsldtnReferenceVersion field to query operations. -
CNSLDTN_REFERENCE_VERSION_TEXT
Use with available fluent helpers to apply the CnsldtnReferenceVersion_Text field to query operations. -
GROUP_CURRENCY
Use with available fluent helpers to apply the GroupCurrency field to query operations. -
GROUP_CURRENCY_TEXT
Use with available fluent helpers to apply the GroupCurrency_Text field to query operations. -
CNSLDTN_IS_PLAN_VERSION
Use with available fluent helpers to apply the CnsldtnIsPlanVersion field to query operations. -
CNSLDTN_VERSION_TYPE
Use with available fluent helpers to apply the CnsldtnVersionType field to query operations. -
CNSLDTN_VERSION_TYPE_TEXT
Use with available fluent helpers to apply the CnsldtnVersionType_Text field to query operations. -
CNSLDTN_VERSION_RUN_MODE
Use with available fluent helpers to apply the CnsldtnVersionRunMode field to query operations. -
CNSLDTN_VERSION_HAS_ALL_KEY_FIGURES
Use with available fluent helpers to apply the CnsldtnVersionHasAllKeyFigures field to query operations. -
TO_CNSLDTN_VERSION_T
Use with available fluent helpers to apply the to_CnsldtnVersionT navigation property to query operations.
-
-
Constructor Details
-
ConsolidationVersion
public ConsolidationVersion() -
ConsolidationVersion
public ConsolidationVersion(@Nullable String consolidationVersion, @Nullable String consolidationVersion_Text, @Nullable String cnsldtnReferenceVersion, @Nullable String cnsldtnReferenceVersion_Text, @Nullable String groupCurrency, @Nullable String groupCurrency_Text, @Nullable Boolean cnsldtnIsPlanVersion, @Nullable String cnsldtnVersionType, @Nullable String cnsldtnVersionType_Text, @Nullable String cnsldtnVersionRunMode, @Nullable Boolean cnsldtnVersionHasAllKeyFigures, List<ConsolidationVersionText> toCnsldtnVersionT)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ConsolidationVersion>
-
setConsolidationVersion
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConsolidationVersion
- Parameters:
consolidationVersion- Consolidation Version
-
setConsolidationVersion_Text
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationVersion_Text
- Parameters:
consolidationVersion_Text- Consolidation Version Description
-
setCnsldtnReferenceVersion
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CnsldtnReferenceVersion
- Parameters:
cnsldtnReferenceVersion- Reference Version
-
setCnsldtnReferenceVersion_Text
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: CnsldtnReferenceVersion_Text
- Parameters:
cnsldtnReferenceVersion_Text- Consolidation Version Description
-
setGroupCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: GroupCurrency
- Parameters:
groupCurrency- Group Currency of Consolidation Version
-
setGroupCurrency_Text
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: GroupCurrency_Text
- Parameters:
groupCurrency_Text- Group Currency Description
-
setCnsldtnIsPlanVersion
Constraints: noneOriginal property name from the Odata EDM: CnsldtnIsPlanVersion
- Parameters:
cnsldtnIsPlanVersion- Is Planning Version
-
setCnsldtnVersionType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CnsldtnVersionType
- Parameters:
cnsldtnVersionType- Consolidation Version Type
-
setCnsldtnVersionType_Text
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CnsldtnVersionType_Text
- Parameters:
cnsldtnVersionType_Text- Consolidation Version Type Description
-
setCnsldtnVersionRunMode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CnsldtnVersionRunMode
- Parameters:
cnsldtnVersionRunMode- Version Run Mode
-
setCnsldtnVersionHasAllKeyFigures
Constraints: noneOriginal property name from the Odata EDM: CnsldtnVersionHasAllKeyFigures
- Parameters:
cnsldtnVersionHasAllKeyFigures- Version Has All Key Figures
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ConsolidationVersion>
-
getKey
- Overrides:
getKeyin classVdmObject<ConsolidationVersion>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ConsolidationVersion>
-
fromMap
- Overrides:
fromMapin classVdmObject<ConsolidationVersion>
-
field
@Nonnull public static <T> ConsolidationVersionField<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> ConsolidationVersionField<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<ConsolidationVersion>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ConsolidationVersion>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ConsolidationVersion>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ConsolidationVersion>
-
fetchCnsldtnVersionT
Fetches the ConsolidationVersionText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CnsldtnVersionT.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ConsolidationVersionText 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.
-
getCnsldtnVersionTOrFetch
Retrieval of associated ConsolidationVersionText entities (one to many). This corresponds to the OData navigation property to_CnsldtnVersionT.If the navigation property to_CnsldtnVersionT of a queried ConsolidationVersion 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 ConsolidationVersionText 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.
-
getCnsldtnVersionTIfPresent
@Nonnull public io.vavr.control.Option<List<ConsolidationVersionText>> getCnsldtnVersionTIfPresent()Retrieval of associated ConsolidationVersionText entities (one to many). This corresponds to the OData navigation property to_CnsldtnVersionT.If the navigation property for an entity ConsolidationVersion 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_CnsldtnVersionT is already loaded, the result will
contain the ConsolidationVersionText entities. If not, an
Optionwith result stateemptyis returned.
-
setCnsldtnVersionT
Overwrites the list of associated ConsolidationVersionText entities for the loaded navigation property to_CnsldtnVersionT.If the navigation property to_CnsldtnVersionT of a queried ConsolidationVersion 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 ConsolidationVersionText entities.
-
addCnsldtnVersionT
Adds elements to the list of associated ConsolidationVersionText entities. This corresponds to the OData navigation property to_CnsldtnVersionT.If the navigation property to_CnsldtnVersionT of a queried ConsolidationVersion 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 ConsolidationVersionText entities.
-
builder
-
getConsolidationVersion
(Key Field) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ConsolidationVersion
- Returns:
- Consolidation Version
-
getConsolidationVersion_Text
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationVersion_Text
- Returns:
- Consolidation Version Description
-
getCnsldtnReferenceVersion
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CnsldtnReferenceVersion
- Returns:
- Reference Version
-
getCnsldtnReferenceVersion_Text
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: CnsldtnReferenceVersion_Text
- Returns:
- Consolidation Version Description
-
getGroupCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: GroupCurrency
- Returns:
- Group Currency of Consolidation Version
-
getGroupCurrency_Text
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: GroupCurrency_Text
- Returns:
- Group Currency Description
-
getCnsldtnIsPlanVersion
Constraints: noneOriginal property name from the Odata EDM: CnsldtnIsPlanVersion
- Returns:
- Is Planning Version
-
getCnsldtnVersionType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CnsldtnVersionType
- Returns:
- Consolidation Version Type
-
getCnsldtnVersionType_Text
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CnsldtnVersionType_Text
- Returns:
- Consolidation Version Type Description
-
getCnsldtnVersionRunMode
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: CnsldtnVersionRunMode
- Returns:
- Version Run Mode
-
getCnsldtnVersionHasAllKeyFigures
Constraints: noneOriginal property name from the Odata EDM: CnsldtnVersionHasAllKeyFigures
- Returns:
- Version Has All Key Figures
-
toString
- Overrides:
toStringin classVdmObject<ConsolidationVersion>
-
equals
- Overrides:
equalsin classVdmEntity<ConsolidationVersion>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ConsolidationVersion>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ConsolidationVersion>
-