java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<ConsolidationAllMasterData>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.masterdataforgroupreporting.ConsolidationAllMasterData

public class ConsolidationAllMasterData extends VdmEntity<ConsolidationAllMasterData>
All Master Data

Original entity name from the Odata EDM: ConsolidationAllMasterDataType

  • Field Details

    • ALL_FIELDS

      public static final ConsolidationAllMasterDataSelectable ALL_FIELDS
      Selector for all available fields of ConsolidationAllMasterData.
    • ADDITIONAL_CHARC_FIELD_NAME

      public static final ConsolidationAllMasterDataField<String> ADDITIONAL_CHARC_FIELD_NAME
      Use with available fluent helpers to apply the AdditionalCharcFieldName field to query operations.
    • ADDITIONAL_CHARC_FIELD_NAME_TEXT

      public static final ConsolidationAllMasterDataField<String> ADDITIONAL_CHARC_FIELD_NAME_TEXT
      Use with available fluent helpers to apply the AdditionalCharcFieldName_Text field to query operations.
    • ADDITIONAL_CHARC_IS_IN_USE

      public static final ConsolidationAllMasterDataField<Boolean> ADDITIONAL_CHARC_IS_IN_USE
      Use with available fluent helpers to apply the AdditionalCharcIsInUse field to query operations.
    • ADDITIONAL_MASTER_DATA_IS_IN_USE

      public static final ConsolidationAllMasterDataField<Boolean> 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

      public static final ConsolidationAllMasterDataField<Boolean> ADDITIONAL_MD_HIERARCHY_IS_IN_USE
      Use with available fluent helpers to apply the AdditionalMDHierarchyIsInUse field to query operations.
    • CONSOLIDATION_MD_PAIRED_FLD_NAME

      public static final ConsolidationAllMasterDataField<String> CONSOLIDATION_MD_PAIRED_FLD_NAME
      Use with available fluent helpers to apply the ConsolidationMDPairedFldName field to query operations.
    • CONSOLIDATION_MD_SUPRORD_FLD_NAME

      public static final ConsolidationAllMasterDataField<String> 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_ATTRIBUTE
      Use with available fluent helpers to apply the to_CnsldtnAllCharcsAttribute navigation property to query operations.
    • TO_CNSLDTN_ALL_MDT

      public static final ConsolidationAllMasterDataLink<ConsolidationAllMDText> 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

      @Nonnull public Class<ConsolidationAllMasterData> getType()
      Specified by:
      getType in class VdmObject<ConsolidationAllMasterData>
    • setAdditionalCharcFieldName

      public void setAdditionalCharcFieldName(@Nullable String additionalCharcFieldName)
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: AdditionalCharcFieldName

      Parameters:
      additionalCharcFieldName - Characteristic Name
    • setAdditionalCharcFieldName_Text

      public void setAdditionalCharcFieldName_Text(@Nullable String additionalCharcFieldName_Text)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: AdditionalCharcFieldName_Text

      Parameters:
      additionalCharcFieldName_Text - Medium Field Label
    • setAdditionalCharcIsInUse

      public void setAdditionalCharcIsInUse(@Nullable Boolean additionalCharcIsInUse)
      Constraints: none

      Original property name from the Odata EDM: AdditionalCharcIsInUse

      Parameters:
      additionalCharcIsInUse - Enable as Input Field
    • setAdditionalMasterDataIsInUse

      public void setAdditionalMasterDataIsInUse(@Nullable Boolean additionalMasterDataIsInUse)
      Constraints: none

      Original property name from the Odata EDM: AdditionalMasterDataIsInUse

      Parameters:
      additionalMasterDataIsInUse - Enable master data in Group Reporting
    • setAdditionalMDHierarchyIsInUse

      public void setAdditionalMDHierarchyIsInUse(@Nullable Boolean additionalMDHierarchyIsInUse)
      Constraints: none

      Original property name from the Odata EDM: AdditionalMDHierarchyIsInUse

      Parameters:
      additionalMDHierarchyIsInUse - Enable Master Data Hierarchy in Group Reporting
    • setConsolidationMDPairedFldName

      public void setConsolidationMDPairedFldName(@Nullable String consolidationMDPairedFldName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ConsolidationMDPairedFldName

      Parameters:
      consolidationMDPairedFldName - Characteristic Name
    • setConsolidationMDSuprordFldName

      public void setConsolidationMDSuprordFldName(@Nullable String consolidationMDSuprordFldName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ConsolidationMDSuprordFldName

      Parameters:
      consolidationMDSuprordFldName - Characteristic Name
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<ConsolidationAllMasterData>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<ConsolidationAllMasterData>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<ConsolidationAllMasterData>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<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 field
      fieldName - 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

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<ConsolidationAllMasterData>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<ConsolidationAllMasterData>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<ConsolidationAllMasterData>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<ConsolidationAllMasterData>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<ConsolidationAllMasterData>
    • fetchCnsldtnAllCharcsAttribute

      @Nonnull public List<ConsolidationAllMDAttribute> 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

      @Nonnull public List<ConsolidationAllMDAttribute> 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 Option result state will be empty.

      Returns:
      If the information for navigation property to_CnsldtnAllCharcsAttribute is already loaded, the result will contain the ConsolidationAllMDAttribute entities. If not, an Option with result state empty is returned.
    • setCnsldtnAllCharcsAttribute

      public void setCnsldtnAllCharcsAttribute(@Nonnull List<ConsolidationAllMDAttribute> value)
      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

      public void addCnsldtnAllCharcsAttribute(ConsolidationAllMDAttribute... entity)
      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

      @Nonnull public List<ConsolidationAllMDText> 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

      @Nonnull public List<ConsolidationAllMDText> 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

      @Nonnull public io.vavr.control.Option<List<ConsolidationAllMDText>> 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 Option result state will be empty.

      Returns:
      If the information for navigation property to_CnsldtnAllMDT is already loaded, the result will contain the ConsolidationAllMDText entities. If not, an Option with result state empty is returned.
    • setCnsldtnAllMDT

      public void setCnsldtnAllMDT(@Nonnull List<ConsolidationAllMDText> value)
      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

      public void addCnsldtnAllMDT(ConsolidationAllMDText... entity)
      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

      @Nullable public String getAdditionalCharcFieldName()
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: AdditionalCharcFieldName

      Returns:
      Characteristic Name
    • getAdditionalCharcFieldName_Text

      @Nullable public String getAdditionalCharcFieldName_Text()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: AdditionalCharcFieldName_Text

      Returns:
      Medium Field Label
    • getAdditionalCharcIsInUse

      @Nullable public Boolean getAdditionalCharcIsInUse()
      Constraints: none

      Original property name from the Odata EDM: AdditionalCharcIsInUse

      Returns:
      Enable as Input Field
    • getAdditionalMasterDataIsInUse

      @Nullable public Boolean getAdditionalMasterDataIsInUse()
      Constraints: none

      Original property name from the Odata EDM: AdditionalMasterDataIsInUse

      Returns:
      Enable master data in Group Reporting
    • getAdditionalMDHierarchyIsInUse

      @Nullable public Boolean getAdditionalMDHierarchyIsInUse()
      Constraints: none

      Original property name from the Odata EDM: AdditionalMDHierarchyIsInUse

      Returns:
      Enable Master Data Hierarchy in Group Reporting
    • getConsolidationMDPairedFldName

      @Nullable public String getConsolidationMDPairedFldName()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ConsolidationMDPairedFldName

      Returns:
      Characteristic Name
    • getConsolidationMDSuprordFldName

      @Nullable public String getConsolidationMDSuprordFldName()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: ConsolidationMDSuprordFldName

      Returns:
      Characteristic Name
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<ConsolidationAllMasterData>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<ConsolidationAllMasterData>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<ConsolidationAllMasterData>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<ConsolidationAllMasterData>