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

public class CnsldtnSupplierText extends VdmEntity<CnsldtnSupplierText> implements VdmEntitySet
Consolidation Supplier - Text

Original entity name from the Odata EDM: CnsldtnSupplierText_Type

  • Field Details

  • Constructor Details

    • CnsldtnSupplierText

      public CnsldtnSupplierText()
    • CnsldtnSupplierText

      public CnsldtnSupplierText(@Nullable String language, @Nullable String supplier, @Nullable String supplierName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnSupplier to_Supplier)
  • Method Details

    • getType

      @Nonnull public Class<CnsldtnSupplierText> getType()
      Specified by:
      getType in class VdmObject<CnsldtnSupplierText>
    • 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
    • setSupplier

      public void setSupplier(@Nullable String supplier)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Supplier

      Parameters:
      supplier - Supplier
    • setSupplierName

      public void setSupplierName(@Nullable String supplierName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: SupplierName

      Parameters:
      supplierName - 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<CnsldtnSupplierText>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity CnsldtnSupplierText 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 _Supplier is already loaded, the result will contain the CnsldtnSupplier entity. If not, an Option with result state empty is returned.
    • setSupplier

      public void setSupplier(CnsldtnSupplier value)
      Overwrites the associated CnsldtnSupplier entity for the loaded navigation property _Supplier.
      Parameters:
      value - New CnsldtnSupplier entity.
    • builder

      @Nonnull public static CnsldtnSupplierText.CnsldtnSupplierTextBuilder 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
    • getSupplier

      @Nullable public String getSupplier()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Supplier

      Returns:
      Supplier
    • getSupplierName

      @Nullable public String getSupplierName()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: SupplierName

      Returns:
      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<CnsldtnSupplierText>
    • equals

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

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

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

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