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

public class CnsldtnIndustryText extends VdmEntity<CnsldtnIndustryText> implements VdmEntitySet
Consolidation Industry - Text

Original entity name from the Odata EDM: CnsldtnIndustryText_Type

  • Field Details

  • Constructor Details

    • CnsldtnIndustryText

      public CnsldtnIndustryText()
    • CnsldtnIndustryText

      public CnsldtnIndustryText(@Nullable String language, @Nullable String industry, @Nullable String industryName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnIndustry to_Industry)
  • Method Details

    • getType

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

      public void setIndustry(@Nullable String industry)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Industry

      Parameters:
      industry - Industry
    • setIndustryName

      public void setIndustryName(@Nullable String industryName)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: IndustryName

      Parameters:
      industryName - 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<CnsldtnIndustryText>
    • getKey

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

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

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

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

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

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

      If the navigation property for an entity CnsldtnIndustryText 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 _Industry is already loaded, the result will contain the CnsldtnIndustry entity. If not, an Option with result state empty is returned.
    • setIndustry

      public void setIndustry(CnsldtnIndustry value)
      Overwrites the associated CnsldtnIndustry entity for the loaded navigation property _Industry.
      Parameters:
      value - New CnsldtnIndustry entity.
    • builder

      @Nonnull public static CnsldtnIndustryText.CnsldtnIndustryTextBuilder 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
    • getIndustry

      @Nullable public String getIndustry()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Industry

      Returns:
      Industry
    • getIndustryName

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

      Original property name from the Odata EDM: IndustryName

      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<CnsldtnIndustryText>
    • equals

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

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

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

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