Class ConsolidationAllMasterData
Original entity name from the Odata EDM: ConsolidationAllMasterDataType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of ConsolidationAllMasterData instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConsolidationAllMasterDataField<String>Use with available fluent helpers to apply the AdditionalCharcFieldName field to query operations.static final ConsolidationAllMasterDataField<String>Use with available fluent helpers to apply the AdditionalCharcFieldName_Text field to query operations.static final ConsolidationAllMasterDataField<Boolean>Use with available fluent helpers to apply the AdditionalCharcIsInUse field to query operations.static final ConsolidationAllMasterDataField<Boolean>Use with available fluent helpers to apply the AdditionalMasterDataIsInUse field to query operations.static final ConsolidationAllMasterDataField<Boolean>Use with available fluent helpers to apply the AdditionalMDHierarchyIsInUse field to query operations.static final ConsolidationAllMasterDataSelectableSelector for all available fields of ConsolidationAllMasterData.static final ConsolidationAllMasterDataField<String>Use with available fluent helpers to apply the ConsolidationMDPairedFldName field to query operations.static final ConsolidationAllMasterDataField<String>Use with available fluent helpers to apply the ConsolidationMDSuprordFldName field to query operations.static final ConsolidationAllMasterDataLink<ConsolidationAllMDAttribute>Use with available fluent helpers to apply the to_CnsldtnAllCharcsAttribute navigation property to query operations.static final ConsolidationAllMasterDataLink<ConsolidationAllMDText>Use with available fluent helpers to apply the to_CnsldtnAllMDT navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionConsolidationAllMasterData(String additionalCharcFieldName, String additionalCharcFieldName_Text, Boolean additionalCharcIsInUse, Boolean additionalMasterDataIsInUse, Boolean additionalMDHierarchyIsInUse, String consolidationMDPairedFldName, String consolidationMDSuprordFldName, List<ConsolidationAllMDAttribute> toCnsldtnAllCharcsAttribute, List<ConsolidationAllMDText> toCnsldtnAllMDT) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated ConsolidationAllMDAttribute entities.voidaddCnsldtnAllMDT(ConsolidationAllMDText... entity) Adds elements to the list of associated ConsolidationAllMDText entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the ConsolidationAllMDAttribute entities (one to many) associated with this entity.Fetches the ConsolidationAllMDText entities (one to many) associated with this entity.static <T,DomainT>
ConsolidationAllMasterDataField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> ConsolidationAllMasterDataField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 20Constraints: noneConstraints: noneConstraints: noneio.vavr.control.Option<List<ConsolidationAllMDAttribute>>Retrieval of associated ConsolidationAllMDAttribute entities (one to many).Retrieval of associated ConsolidationAllMDAttribute entities (one to many).io.vavr.control.Option<List<ConsolidationAllMDText>>Retrieval of associated ConsolidationAllMDText entities (one to many).Retrieval of associated ConsolidationAllMDText entities (one to many).Constraints: Not nullable, Maximum length: 30Constraints: Not nullable, Maximum length: 30protected Stringprotected StringgetKey()getType()inthashCode()voidsetAdditionalCharcFieldName(String additionalCharcFieldName) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetAdditionalCharcFieldName_Text(String additionalCharcFieldName_Text) Constraints: Not nullable, Maximum length: 20voidsetAdditionalCharcIsInUse(Boolean additionalCharcIsInUse) Constraints: nonevoidsetAdditionalMasterDataIsInUse(Boolean additionalMasterDataIsInUse) Constraints: nonevoidsetAdditionalMDHierarchyIsInUse(Boolean additionalMDHierarchyIsInUse) Constraints: nonevoidOverwrites the list of associated ConsolidationAllMDAttribute entities for the loaded navigation property to_CnsldtnAllCharcsAttribute.voidOverwrites the list of associated ConsolidationAllMDText entities for the loaded navigation property to_CnsldtnAllMDT.voidsetConsolidationMDPairedFldName(String consolidationMDPairedFldName) Constraints: Not nullable, Maximum length: 30voidsetConsolidationMDSuprordFldName(String consolidationMDSuprordFldName) Constraints: Not nullable, Maximum length: 30protected 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 ConsolidationAllMasterData. -
ADDITIONAL_CHARC_FIELD_NAME
Use with available fluent helpers to apply the AdditionalCharcFieldName field to query operations. -
ADDITIONAL_CHARC_FIELD_NAME_TEXT
Use with available fluent helpers to apply the AdditionalCharcFieldName_Text field to query operations. -
ADDITIONAL_CHARC_IS_IN_USE
Use with available fluent helpers to apply the AdditionalCharcIsInUse field to query operations. -
ADDITIONAL_MASTER_DATA_IS_IN_USE
Use with available fluent helpers to apply the AdditionalMasterDataIsInUse field to query operations. -
ADDITIONAL_MD_HIERARCHY_IS_IN_USE
Use with available fluent helpers to apply the AdditionalMDHierarchyIsInUse field to query operations. -
CONSOLIDATION_MD_PAIRED_FLD_NAME
Use with available fluent helpers to apply the ConsolidationMDPairedFldName field to query operations. -
CONSOLIDATION_MD_SUPRORD_FLD_NAME
Use with available fluent helpers to apply the ConsolidationMDSuprordFldName field to query operations. -
TO_CNSLDTN_ALL_CHARCS_ATTRIBUTE
public static final ConsolidationAllMasterDataLink<ConsolidationAllMDAttribute> TO_CNSLDTN_ALL_CHARCS_ATTRIBUTEUse with available fluent helpers to apply the to_CnsldtnAllCharcsAttribute navigation property to query operations. -
TO_CNSLDTN_ALL_MDT
Use with available fluent helpers to apply the to_CnsldtnAllMDT navigation property to query operations.
-
-
Constructor Details
-
ConsolidationAllMasterData
public ConsolidationAllMasterData() -
ConsolidationAllMasterData
public ConsolidationAllMasterData(@Nullable String additionalCharcFieldName, @Nullable String additionalCharcFieldName_Text, @Nullable Boolean additionalCharcIsInUse, @Nullable Boolean additionalMasterDataIsInUse, @Nullable Boolean additionalMDHierarchyIsInUse, @Nullable String consolidationMDPairedFldName, @Nullable String consolidationMDSuprordFldName, List<ConsolidationAllMDAttribute> toCnsldtnAllCharcsAttribute, List<ConsolidationAllMDText> toCnsldtnAllMDT)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<ConsolidationAllMasterData>
-
setAdditionalCharcFieldName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: AdditionalCharcFieldName
- Parameters:
additionalCharcFieldName- Characteristic Name
-
setAdditionalCharcFieldName_Text
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: AdditionalCharcFieldName_Text
- Parameters:
additionalCharcFieldName_Text- Medium Field Label
-
setAdditionalCharcIsInUse
Constraints: noneOriginal property name from the Odata EDM: AdditionalCharcIsInUse
- Parameters:
additionalCharcIsInUse- Enable as Input Field
-
setAdditionalMasterDataIsInUse
Constraints: noneOriginal property name from the Odata EDM: AdditionalMasterDataIsInUse
- Parameters:
additionalMasterDataIsInUse- Enable master data in Group Reporting
-
setAdditionalMDHierarchyIsInUse
Constraints: noneOriginal property name from the Odata EDM: AdditionalMDHierarchyIsInUse
- Parameters:
additionalMDHierarchyIsInUse- Enable Master Data Hierarchy in Group Reporting
-
setConsolidationMDPairedFldName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationMDPairedFldName
- Parameters:
consolidationMDPairedFldName- Characteristic Name
-
setConsolidationMDSuprordFldName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationMDSuprordFldName
- Parameters:
consolidationMDSuprordFldName- Characteristic Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<ConsolidationAllMasterData>
-
getKey
- Overrides:
getKeyin classVdmObject<ConsolidationAllMasterData>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<ConsolidationAllMasterData>
-
fromMap
- Overrides:
fromMapin classVdmObject<ConsolidationAllMasterData>
-
field
@Nonnull public static <T> ConsolidationAllMasterDataField<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> ConsolidationAllMasterDataField<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<ConsolidationAllMasterData>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<ConsolidationAllMasterData>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<ConsolidationAllMasterData>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<ConsolidationAllMasterData>
-
fetchCnsldtnAllCharcsAttribute
Fetches the ConsolidationAllMDAttribute entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CnsldtnAllCharcsAttribute.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ConsolidationAllMDAttribute 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.
-
getCnsldtnAllCharcsAttributeOrFetch
Retrieval of associated ConsolidationAllMDAttribute entities (one to many). This corresponds to the OData navigation property to_CnsldtnAllCharcsAttribute.If the navigation property to_CnsldtnAllCharcsAttribute of a queried ConsolidationAllMasterData 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 ConsolidationAllMDAttribute 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.
-
getCnsldtnAllCharcsAttributeIfPresent
@Nonnull public io.vavr.control.Option<List<ConsolidationAllMDAttribute>> getCnsldtnAllCharcsAttributeIfPresent()Retrieval of associated ConsolidationAllMDAttribute entities (one to many). This corresponds to the OData navigation property to_CnsldtnAllCharcsAttribute.If the navigation property for an entity ConsolidationAllMasterData 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_CnsldtnAllCharcsAttribute is already loaded, the
result will contain the ConsolidationAllMDAttribute entities. If not, an
Optionwith result stateemptyis returned.
-
setCnsldtnAllCharcsAttribute
Overwrites the list of associated ConsolidationAllMDAttribute entities for the loaded navigation property to_CnsldtnAllCharcsAttribute.If the navigation property to_CnsldtnAllCharcsAttribute of a queried ConsolidationAllMasterData 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 ConsolidationAllMDAttribute entities.
-
addCnsldtnAllCharcsAttribute
Adds elements to the list of associated ConsolidationAllMDAttribute entities. This corresponds to the OData navigation property to_CnsldtnAllCharcsAttribute.If the navigation property to_CnsldtnAllCharcsAttribute of a queried ConsolidationAllMasterData 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 ConsolidationAllMDAttribute entities.
-
fetchCnsldtnAllMDT
Fetches the ConsolidationAllMDText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CnsldtnAllMDT.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ConsolidationAllMDText 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.
-
getCnsldtnAllMDTOrFetch
Retrieval of associated ConsolidationAllMDText entities (one to many). This corresponds to the OData navigation property to_CnsldtnAllMDT.If the navigation property to_CnsldtnAllMDT of a queried ConsolidationAllMasterData 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 ConsolidationAllMDText 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.
-
getCnsldtnAllMDTIfPresent
Retrieval of associated ConsolidationAllMDText entities (one to many). This corresponds to the OData navigation property to_CnsldtnAllMDT.If the navigation property for an entity ConsolidationAllMasterData 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_CnsldtnAllMDT is already loaded, the result will
contain the ConsolidationAllMDText entities. If not, an
Optionwith result stateemptyis returned.
-
setCnsldtnAllMDT
Overwrites the list of associated ConsolidationAllMDText entities for the loaded navigation property to_CnsldtnAllMDT.If the navigation property to_CnsldtnAllMDT of a queried ConsolidationAllMasterData 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 ConsolidationAllMDText entities.
-
addCnsldtnAllMDT
Adds elements to the list of associated ConsolidationAllMDText entities. This corresponds to the OData navigation property to_CnsldtnAllMDT.If the navigation property to_CnsldtnAllMDT of a queried ConsolidationAllMasterData 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 ConsolidationAllMDText entities.
-
builder
-
getAdditionalCharcFieldName
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: AdditionalCharcFieldName
- Returns:
- Characteristic Name
-
getAdditionalCharcFieldName_Text
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: AdditionalCharcFieldName_Text
- Returns:
- Medium Field Label
-
getAdditionalCharcIsInUse
Constraints: noneOriginal property name from the Odata EDM: AdditionalCharcIsInUse
- Returns:
- Enable as Input Field
-
getAdditionalMasterDataIsInUse
Constraints: noneOriginal property name from the Odata EDM: AdditionalMasterDataIsInUse
- Returns:
- Enable master data in Group Reporting
-
getAdditionalMDHierarchyIsInUse
Constraints: noneOriginal property name from the Odata EDM: AdditionalMDHierarchyIsInUse
- Returns:
- Enable Master Data Hierarchy in Group Reporting
-
getConsolidationMDPairedFldName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationMDPairedFldName
- Returns:
- Characteristic Name
-
getConsolidationMDSuprordFldName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: ConsolidationMDSuprordFldName
- Returns:
- Characteristic Name
-
toString
- Overrides:
toStringin classVdmObject<ConsolidationAllMasterData>
-
equals
- Overrides:
equalsin classVdmEntity<ConsolidationAllMasterData>
-
canEqual
- Overrides:
canEqualin classVdmEntity<ConsolidationAllMasterData>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<ConsolidationAllMasterData>
-