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

public class Catalog extends VdmEntity<Catalog> implements VdmEntitySet
Catalog Assignment to Catalog Profile

Original entity name from the Odata EDM: Catalog_Type

  • Field Details

  • Constructor Details

    • Catalog

      public Catalog()
    • Catalog

      public Catalog(@Nullable String maintNotifCatalogProfile, @Nullable String maintNotificationCatalog, @Nullable String maintNotifCodeGrpSrchPattern, @Nullable String maintNotificationCatalogText, @Nullable CatalogProfile to_CatalogProfile)
  • Method Details

    • getType

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

      public void setMaintNotifCatalogProfile(@Nullable String maintNotifCatalogProfile)
      (Key Field) Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: MaintNotifCatalogProfile

      Parameters:
      maintNotifCatalogProfile - Catalog Profile
    • setMaintNotificationCatalog

      public void setMaintNotificationCatalog(@Nullable String maintNotificationCatalog)
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MaintNotificationCatalog

      Parameters:
      maintNotificationCatalog - Catalog
    • setMaintNotifCodeGrpSrchPattern

      public void setMaintNotifCodeGrpSrchPattern(@Nullable String maintNotifCodeGrpSrchPattern)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MaintNotifCodeGrpSrchPattern

      Parameters:
      maintNotifCodeGrpSrchPattern - Search Pattern for Code Group/Selected Set
    • setMaintNotificationCatalogText

      public void setMaintNotificationCatalogText(@Nullable String maintNotificationCatalogText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: MaintNotificationCatalogText

      Parameters:
      maintNotificationCatalogText - Short Text for the Catalog
    • getEntityCollection

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

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

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

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

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

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

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

      If the navigation property for an entity Catalog 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 _CatalogProfile is already loaded, the result will contain the CatalogProfile entity. If not, an Option with result state empty is returned.
    • setCatalogProfile

      public void setCatalogProfile(CatalogProfile value)
      Overwrites the associated CatalogProfile entity for the loaded navigation property _CatalogProfile.
      Parameters:
      value - New CatalogProfile entity.
    • builder

      @Nonnull public static Catalog.CatalogBuilder builder()
    • getMaintNotifCatalogProfile

      @Nullable public String getMaintNotifCatalogProfile()
      (Key Field) Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: MaintNotifCatalogProfile

      Returns:
      Catalog Profile
    • getMaintNotificationCatalog

      @Nullable public String getMaintNotificationCatalog()
      (Key Field) Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MaintNotificationCatalog

      Returns:
      Catalog
    • getMaintNotifCodeGrpSrchPattern

      @Nullable public String getMaintNotifCodeGrpSrchPattern()
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MaintNotifCodeGrpSrchPattern

      Returns:
      Search Pattern for Code Group/Selected Set
    • getMaintNotificationCatalogText

      @Nullable public String getMaintNotificationCatalogText()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: MaintNotificationCatalogText

      Returns:
      Short Text for the Catalog
    • toString

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

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

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

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

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