Class CnsldtnUnitForElimination
Original entity name from the Odata EDM: CnsldtnUnitForEliminationType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnUnitForElimination instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CnsldtnUnitForEliminationField<String>Use with available fluent helpers to apply the AdditionalMasterDataSource field to query operations.static final CnsldtnUnitForEliminationSelectableSelector for all available fields of CnsldtnUnitForElimination.static final CnsldtnUnitForEliminationField<String>Use with available fluent helpers to apply the ConsolidationUnit field to query operations.static final CnsldtnUnitForEliminationField<String>Use with available fluent helpers to apply the ConsolidationUnitLocalCurrency field to query operations.static final CnsldtnUnitForEliminationField<String>Use with available fluent helpers to apply the ConsolidationUnitLocalCurrency_Text field to query operations.static final CnsldtnUnitForEliminationField<String>Use with available fluent helpers to apply the ConsolidationUnit_Text field to query operations.static final CnsldtnUnitForEliminationField<String>Use with available fluent helpers to apply the Country field to query operations.static final CnsldtnUnitForEliminationField<String>Use with available fluent helpers to apply the Country_Text field to query operations.static final CnsldtnUnitForEliminationLink<CnsldtnUnitForElimText>Use with available fluent helpers to apply the to_CnsldtnUnitForEliminationT navigation property to query operations.static final CnsldtnUnitForEliminationLink<CnsldtnUnitHierForElim>Use with available fluent helpers to apply the to_CnsldtnUnitHierForElim navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCnsldtnUnitForElimination(String consolidationUnit, String consolidationUnit_Text, String additionalMasterDataSource, String consolidationUnitLocalCurrency, String consolidationUnitLocalCurrency_Text, String country, String country_Text, List<CnsldtnUnitForElimText> toCnsldtnUnitForEliminationT, List<CnsldtnUnitHierForElim> toCnsldtnUnitHierForElim) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated CnsldtnUnitForElimText entities.voidaddCnsldtnUnitHierForElim(CnsldtnUnitHierForElim... entity) Adds elements to the list of associated CnsldtnUnitHierForElim entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the CnsldtnUnitForElimText entities (one to many) associated with this entity.Fetches the CnsldtnUnitHierForElim entities (one to many) associated with this entity.static <T,DomainT>
CnsldtnUnitForEliminationField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CnsldtnUnitForEliminationField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 10io.vavr.control.Option<List<CnsldtnUnitForElimText>>Retrieval of associated CnsldtnUnitForElimText entities (one to many).Retrieval of associated CnsldtnUnitForElimText entities (one to many).io.vavr.control.Option<List<CnsldtnUnitHierForElim>>Retrieval of associated CnsldtnUnitHierForElim entities (one to many).Retrieval of associated CnsldtnUnitHierForElim entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 25Constraints: Not nullable, Maximum length: 50Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 50protected Stringprotected StringgetKey()getType()inthashCode()voidsetAdditionalMasterDataSource(String additionalMasterDataSource) Constraints: Not nullable, Maximum length: 10voidOverwrites the list of associated CnsldtnUnitForElimText entities for the loaded navigation property to_CnsldtnUnitForEliminationT.voidOverwrites the list of associated CnsldtnUnitHierForElim entities for the loaded navigation property to_CnsldtnUnitHierForElim.voidsetConsolidationUnit(String consolidationUnit) (Key Field) Constraints: Not nullable, Maximum length: 25voidsetConsolidationUnit_Text(String consolidationUnit_Text) Constraints: Not nullable, Maximum length: 50voidsetConsolidationUnitLocalCurrency(String consolidationUnitLocalCurrency) Constraints: Not nullable, Maximum length: 5voidsetConsolidationUnitLocalCurrency_Text(String consolidationUnitLocalCurrency_Text) Constraints: Not nullable, Maximum length: 40voidsetCountry(String country) Constraints: Not nullable, Maximum length: 3voidsetCountry_Text(String country_Text) Constraints: Not nullable, Maximum length: 50protected 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 CnsldtnUnitForElimination. -
CONSOLIDATION_UNIT
Use with available fluent helpers to apply the ConsolidationUnit field to query operations. -
CONSOLIDATION_UNIT_TEXT
Use with available fluent helpers to apply the ConsolidationUnit_Text field to query operations. -
ADDITIONAL_MASTER_DATA_SOURCE
Use with available fluent helpers to apply the AdditionalMasterDataSource field to query operations. -
CONSOLIDATION_UNIT_LOCAL_CURRENCY
Use with available fluent helpers to apply the ConsolidationUnitLocalCurrency field to query operations. -
CONSOLIDATION_UNIT_LOCAL_CURRENCY_TEXT
Use with available fluent helpers to apply the ConsolidationUnitLocalCurrency_Text field to query operations. -
COUNTRY
Use with available fluent helpers to apply the Country field to query operations. -
COUNTRY_TEXT
Use with available fluent helpers to apply the Country_Text field to query operations. -
TO_CNSLDTN_UNIT_FOR_ELIMINATION_T
public static final CnsldtnUnitForEliminationLink<CnsldtnUnitForElimText> TO_CNSLDTN_UNIT_FOR_ELIMINATION_TUse with available fluent helpers to apply the to_CnsldtnUnitForEliminationT navigation property to query operations. -
TO_CNSLDTN_UNIT_HIER_FOR_ELIM
public static final CnsldtnUnitForEliminationLink<CnsldtnUnitHierForElim> TO_CNSLDTN_UNIT_HIER_FOR_ELIMUse with available fluent helpers to apply the to_CnsldtnUnitHierForElim navigation property to query operations.
-
-
Constructor Details
-
CnsldtnUnitForElimination
public CnsldtnUnitForElimination() -
CnsldtnUnitForElimination
public CnsldtnUnitForElimination(@Nullable String consolidationUnit, @Nullable String consolidationUnit_Text, @Nullable String additionalMasterDataSource, @Nullable String consolidationUnitLocalCurrency, @Nullable String consolidationUnitLocalCurrency_Text, @Nullable String country, @Nullable String country_Text, List<CnsldtnUnitForElimText> toCnsldtnUnitForEliminationT, List<CnsldtnUnitHierForElim> toCnsldtnUnitHierForElim)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnUnitForElimination>
-
setConsolidationUnit
(Key Field) Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: ConsolidationUnit
- Parameters:
consolidationUnit- Consolidation Elimination Member
-
setConsolidationUnit_Text
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: ConsolidationUnit_Text
- Parameters:
consolidationUnit_Text- Consolidation Unit for Elimination Description
-
setAdditionalMasterDataSource
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AdditionalMasterDataSource
- Parameters:
additionalMasterDataSource- Master Data Source
-
setConsolidationUnitLocalCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ConsolidationUnitLocalCurrency
- Parameters:
consolidationUnitLocalCurrency- Consolidation Local Currency
-
setConsolidationUnitLocalCurrency_Text
public void setConsolidationUnitLocalCurrency_Text(@Nullable String consolidationUnitLocalCurrency_Text) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ConsolidationUnitLocalCurrency_Text
- Parameters:
consolidationUnitLocalCurrency_Text- Transaction Currency Description
-
setCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Parameters:
country- Country/Region
-
setCountry_Text
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: Country_Text
- Parameters:
country_Text- Customer/Supplier Country/Region Description
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnUnitForElimination>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnUnitForElimination>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnUnitForElimination>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnUnitForElimination>
-
field
@Nonnull public static <T> CnsldtnUnitForEliminationField<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> CnsldtnUnitForEliminationField<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<CnsldtnUnitForElimination>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CnsldtnUnitForElimination>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CnsldtnUnitForElimination>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnUnitForElimination>
-
fetchCnsldtnUnitForEliminationT
Fetches the CnsldtnUnitForElimText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CnsldtnUnitForEliminationT.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CnsldtnUnitForElimText 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.
-
getCnsldtnUnitForEliminationTOrFetch
Retrieval of associated CnsldtnUnitForElimText entities (one to many). This corresponds to the OData navigation property to_CnsldtnUnitForEliminationT.If the navigation property to_CnsldtnUnitForEliminationT of a queried CnsldtnUnitForElimination 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 CnsldtnUnitForElimText 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.
-
getCnsldtnUnitForEliminationTIfPresent
@Nonnull public io.vavr.control.Option<List<CnsldtnUnitForElimText>> getCnsldtnUnitForEliminationTIfPresent()Retrieval of associated CnsldtnUnitForElimText entities (one to many). This corresponds to the OData navigation property to_CnsldtnUnitForEliminationT.If the navigation property for an entity CnsldtnUnitForElimination 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_CnsldtnUnitForEliminationT is already loaded, the
result will contain the CnsldtnUnitForElimText entities. If not, an
Optionwith result stateemptyis returned.
-
setCnsldtnUnitForEliminationT
Overwrites the list of associated CnsldtnUnitForElimText entities for the loaded navigation property to_CnsldtnUnitForEliminationT.If the navigation property to_CnsldtnUnitForEliminationT of a queried CnsldtnUnitForElimination 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 CnsldtnUnitForElimText entities.
-
addCnsldtnUnitForEliminationT
Adds elements to the list of associated CnsldtnUnitForElimText entities. This corresponds to the OData navigation property to_CnsldtnUnitForEliminationT.If the navigation property to_CnsldtnUnitForEliminationT of a queried CnsldtnUnitForElimination 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 CnsldtnUnitForElimText entities.
-
fetchCnsldtnUnitHierForElim
Fetches the CnsldtnUnitHierForElim entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CnsldtnUnitHierForElim.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CnsldtnUnitHierForElim 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.
-
getCnsldtnUnitHierForElimOrFetch
Retrieval of associated CnsldtnUnitHierForElim entities (one to many). This corresponds to the OData navigation property to_CnsldtnUnitHierForElim.If the navigation property to_CnsldtnUnitHierForElim of a queried CnsldtnUnitForElimination 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 CnsldtnUnitHierForElim 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.
-
getCnsldtnUnitHierForElimIfPresent
@Nonnull public io.vavr.control.Option<List<CnsldtnUnitHierForElim>> getCnsldtnUnitHierForElimIfPresent()Retrieval of associated CnsldtnUnitHierForElim entities (one to many). This corresponds to the OData navigation property to_CnsldtnUnitHierForElim.If the navigation property for an entity CnsldtnUnitForElimination 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_CnsldtnUnitHierForElim is already loaded, the result
will contain the CnsldtnUnitHierForElim entities. If not, an
Optionwith result stateemptyis returned.
-
setCnsldtnUnitHierForElim
Overwrites the list of associated CnsldtnUnitHierForElim entities for the loaded navigation property to_CnsldtnUnitHierForElim.If the navigation property to_CnsldtnUnitHierForElim of a queried CnsldtnUnitForElimination 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 CnsldtnUnitHierForElim entities.
-
addCnsldtnUnitHierForElim
Adds elements to the list of associated CnsldtnUnitHierForElim entities. This corresponds to the OData navigation property to_CnsldtnUnitHierForElim.If the navigation property to_CnsldtnUnitHierForElim of a queried CnsldtnUnitForElimination 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 CnsldtnUnitHierForElim entities.
-
builder
-
getConsolidationUnit
(Key Field) Constraints: Not nullable, Maximum length: 25Original property name from the Odata EDM: ConsolidationUnit
- Returns:
- Consolidation Elimination Member
-
getConsolidationUnit_Text
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: ConsolidationUnit_Text
- Returns:
- Consolidation Unit for Elimination Description
-
getAdditionalMasterDataSource
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AdditionalMasterDataSource
- Returns:
- Master Data Source
-
getConsolidationUnitLocalCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ConsolidationUnitLocalCurrency
- Returns:
- Consolidation Local Currency
-
getConsolidationUnitLocalCurrency_Text
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ConsolidationUnitLocalCurrency_Text
- Returns:
- Transaction Currency Description
-
getCountry
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: Country
- Returns:
- Country/Region
-
getCountry_Text
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: Country_Text
- Returns:
- Customer/Supplier Country/Region Description
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnUnitForElimination>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnUnitForElimination>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnUnitForElimination>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnUnitForElimination>
-