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

public class VariantConfigurationProfile extends VdmEntity<VariantConfigurationProfile> implements VdmEntitySet
Configuration Profile

Original entity name from the Odata EDM: VariantConfigurationProfile_Type

  • Field Details

  • Constructor Details

  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: Product

      Parameters:
      product - Product Number
    • setVarConfigurationProfileName

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

      Original property name from the Odata EDM: VarConfigurationProfileName

      Parameters:
      varConfigurationProfileName - Configuration Profile Name
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • 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<VariantConfigurationProfile>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity VariantConfigurationProfile 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 _HistoricalProfile is already loaded, the result will contain the VarCnfHistoricalProfile entities. If not, an Option with result state empty is returned.
    • setHistoricalProfile

      public void setHistoricalProfile(@Nonnull List<VarCnfHistoricalProfile> value)
      Overwrites the list of associated VarCnfHistoricalProfile entities for the loaded navigation property _HistoricalProfile.

      If the navigation property _HistoricalProfile of a queried VariantConfigurationProfile 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 VarCnfHistoricalProfile entities.
    • addHistoricalProfile

      public void addHistoricalProfile(VarCnfHistoricalProfile... entity)
      Adds elements to the list of associated VarCnfHistoricalProfile entities. This corresponds to the OData navigation property _HistoricalProfile.

      If the navigation property _HistoricalProfile of a queried VariantConfigurationProfile 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 VarCnfHistoricalProfile entities.
    • builder

    • getProduct

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

      Original property name from the Odata EDM: Product

      Returns:
      Product Number
    • getVarConfigurationProfileName

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

      Original property name from the Odata EDM: VarConfigurationProfileName

      Returns:
      Configuration Profile Name
    • getLastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • 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<VariantConfigurationProfile>
    • equals

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

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

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

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