java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<VarConfigurationTableContent>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.varianttablecontent.VarConfigurationTableContent
All Implemented Interfaces:
VdmEntitySet

public class VarConfigurationTableContent extends VdmEntity<VarConfigurationTableContent> implements VdmEntitySet
Root Content

Original entity name from the Odata EDM: VarConfigurationTableContent_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

      public void setVarConfignTblName(@Nullable String varConfignTblName)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: VarConfignTblName

      Parameters:
      varConfignTblName - Name of variant table
    • setVarConfignTblStatus

      public void setVarConfignTblStatus(@Nullable String varConfignTblStatus)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: VarConfignTblStatus

      Parameters:
      varConfignTblStatus - Variant table status
    • setEngineProcessingMode

      public void setEngineProcessingMode(@Nullable String engineProcessingMode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: EngineProcessingMode

      Parameters:
      engineProcessingMode - Variant Table Processing Mode
    • setVarConfignTblCntntLstChgDteTme

      public void setVarConfignTblCntntLstChgDteTme(@Nullable OffsetDateTime varConfignTblCntntLstChgDteTme)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: VarConfignTblCntntLstChgDteTme

      Parameters:
      varConfignTblCntntLstChgDteTme - Date/Time of last Change to Table Cont.
    • setVarConfignTblCntntLastChgNo

      public void setVarConfignTblCntntLastChgNo(@Nullable String varConfignTblCntntLastChgNo)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: VarConfignTblCntntLastChgNo

      Parameters:
      varConfignTblCntntLastChgNo - Change Number
    • set_Messages

      public void set_Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Parameters:
      _Messages - The _Messages to set.
    • getEntityCollection

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

      @Nonnull protected ODataEntityKey getKey()
      Overrides:
      getKey in class VdmObject<VarConfigurationTableContent>
    • toMapOfFields

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

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<VarConfigurationTableContent>
    • getDefaultServicePath

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

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

      @Nonnull public io.vavr.control.Option<List<VariantConfigurationTableLine>> getTableLineIfPresent()
      Retrieval of associated VariantConfigurationTableLine entities (one to many). This corresponds to the OData navigation property _TableLine.

      If the navigation property for an entity VarConfigurationTableContent 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 _TableLine is already loaded, the result will contain the VariantConfigurationTableLine entities. If not, an Option with result state empty is returned.
    • setTableLine

      public void setTableLine(@Nonnull List<VariantConfigurationTableLine> value)
      Overwrites the list of associated VariantConfigurationTableLine entities for the loaded navigation property _TableLine.

      If the navigation property _TableLine of a queried VarConfigurationTableContent 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 VariantConfigurationTableLine entities.
    • addTableLine

      public void addTableLine(VariantConfigurationTableLine... entity)
      Adds elements to the list of associated VariantConfigurationTableLine entities. This corresponds to the OData navigation property _TableLine.

      If the navigation property _TableLine of a queried VarConfigurationTableContent 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 VariantConfigurationTableLine entities.
    • retrieveByKeyDate

      @Nonnull public static BoundFunction.SingleToCollection<VarConfigurationTableContent,VariantConfigurationTableValue> retrieveByKeyDate(@Nullable LocalDate keyDate)
      Function that can be applied to any entity object of this class.

      Parameters:
      keyDate - Constraints: Nullable

      Original parameter name from the Odata EDM: KeyDate

      Returns:
      Function object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyFunction(thisFunction) API.
    • createLine

      @Nonnull public static BoundAction.SingleToSingle<VarConfigurationTableContent,VarConfigurationTableContent> createLine(@Nonnull String varConfignTblTgtLinePosition, @Nonnull String changeNumber, @Nonnull String characteristic, @Nonnull String charcValue, @Nonnull Double charcFromNumericValue, @Nonnull Double charcToNumericValue, @Nonnull String charcValueIntervalType, @Nonnull String charcFromNumericValueUnit, @Nonnull String charcToNumericValueUnit, @Nonnull Boolean varConfignTblAnyValueIsAllowed)
      Action that can be applied to any entity object of this class.

      Parameters:
      varConfignTblAnyValueIsAllowed - Constraints: Not nullable

      Original parameter name from the Odata EDM: VarConfignTblAnyValueIsAllowed

      charcValue - Constraints: Not nullable, Maximum length: 70

      Original parameter name from the Odata EDM: CharcValue

      charcFromNumericValueUnit - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: CharcFromNumericValueUnit

      charcValueIntervalType - Constraints: Not nullable, Maximum length: 1

      Original parameter name from the Odata EDM: CharcValueIntervalType

      charcToNumericValueUnit - Constraints: Not nullable, Maximum length: 3

      Original parameter name from the Odata EDM: CharcToNumericValueUnit

      varConfignTblTgtLinePosition - Constraints: Not nullable, Maximum length: 5

      Original parameter name from the Odata EDM: VarConfignTblTgtLinePosition

      changeNumber - Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: ChangeNumber

      charcFromNumericValue - Constraints: Not nullable

      Original parameter name from the Odata EDM: CharcFromNumericValue

      characteristic - Constraints: Not nullable, Maximum length: 30

      Original parameter name from the Odata EDM: Characteristic

      charcToNumericValue - Constraints: Not nullable

      Original parameter name from the Odata EDM: CharcToNumericValue

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • deleteAllLines

      @Nonnull public static BoundAction.SingleToSingle<VarConfigurationTableContent,VarConfigurationTableContent> deleteAllLines(@Nonnull String changeNumber)
      Action that can be applied to any entity object of this class.

      Parameters:
      changeNumber - Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: ChangeNumber

      Returns:
      Action object prepared with the given parameters to be applied to any entity object of this class.

      To execute it use the service.forEntity(entity).applyAction(thisAction) API.
    • builder

    • getVarConfignTblName

      @Nullable public String getVarConfignTblName()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: VarConfignTblName

      Returns:
      Name of variant table
    • getVarConfignTblStatus

      @Nullable public String getVarConfignTblStatus()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: VarConfignTblStatus

      Returns:
      Variant table status
    • getEngineProcessingMode

      @Nullable public String getEngineProcessingMode()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: EngineProcessingMode

      Returns:
      Variant Table Processing Mode
    • getVarConfignTblCntntLstChgDteTme

      @Nullable public OffsetDateTime getVarConfignTblCntntLstChgDteTme()
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: VarConfignTblCntntLstChgDteTme

      Returns:
      Date/Time of last Change to Table Cont.
    • getVarConfignTblCntntLastChgNo

      @Nullable public String getVarConfignTblCntntLastChgNo()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: VarConfignTblCntntLastChgNo

      Returns:
      Change Number
    • get_Messages

      @Nullable public Collection<SAP__Message> get_Messages()
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      The _Messages contained in this VdmEntity.
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<VarConfigurationTableContent>
    • getOdataType

      public String getOdataType()
      Specified by:
      getOdataType in class VdmObject<VarConfigurationTableContent>