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

public class CnsldtnDistrChannelText extends VdmEntity<CnsldtnDistrChannelText> implements VdmEntitySet
Cnsldtn Distribution Channel - Text

Original entity name from the Odata EDM: CnsldtnDistrChannelText_Type

  • Field Details

  • Constructor Details

    • CnsldtnDistrChannelText

      public CnsldtnDistrChannelText()
    • CnsldtnDistrChannelText

      public CnsldtnDistrChannelText(@Nullable String language, @Nullable String distributionChannel, @Nullable String distributionChannelName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnDistributionChannel to_DistributionChannel)
  • Method Details

    • getType

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

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language Key
    • setDistributionChannel

      public void setDistributionChannel(@Nullable String distributionChannel)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DistributionChannel

      Parameters:
      distributionChannel - Distribution Channel
    • setDistributionChannelName

      public void setDistributionChannelName(@Nullable String distributionChannelName)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: DistributionChannelName

      Parameters:
      distributionChannelName - Distribution Channel Description
    • setCnsldtnIsAdditionalMasterData

      public void setCnsldtnIsAdditionalMasterData(@Nullable Boolean cnsldtnIsAdditionalMasterData)
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnIsAdditionalMasterData

      Parameters:
      cnsldtnIsAdditionalMasterData - Is Additional Master Data
    • getEntityCollection

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

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

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

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

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

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

      @Nonnull public io.vavr.control.Option<CnsldtnDistributionChannel> getDistributionChannelIfPresent()
      Retrieval of associated CnsldtnDistributionChannel entity (one to one). This corresponds to the OData navigation property _DistributionChannel.

      If the navigation property for an entity CnsldtnDistrChannelText 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 _DistributionChannel is already loaded, the result will contain the CnsldtnDistributionChannel entity. If not, an Option with result state empty is returned.
    • setDistributionChannel

      public void setDistributionChannel(CnsldtnDistributionChannel value)
      Overwrites the associated CnsldtnDistributionChannel entity for the loaded navigation property _DistributionChannel.
      Parameters:
      value - New CnsldtnDistributionChannel entity.
    • builder

    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getDistributionChannel

      @Nullable public String getDistributionChannel()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DistributionChannel

      Returns:
      Distribution Channel
    • getDistributionChannelName

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

      Original property name from the Odata EDM: DistributionChannelName

      Returns:
      Distribution Channel Description
    • getCnsldtnIsAdditionalMasterData

      @Nullable public Boolean getCnsldtnIsAdditionalMasterData()
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnIsAdditionalMasterData

      Returns:
      Is Additional Master Data
    • toString

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

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

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

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

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