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

public class CauseCode extends VdmEntity<CauseCode> implements VdmEntitySet
Catalog Code

Original entity name from the Odata EDM: CauseCode_Type

  • Field Details

  • Constructor Details

    • CauseCode

      public CauseCode()
    • CauseCode

      public CauseCode(@Nullable String maintNotifCauseCatalog, @Nullable String maintNotifCauseCodeGroup, @Nullable String maintNotificationCauseCode, @Nullable Boolean codeIsInactive, @Nullable String maintNotifCauseGrpStatusText, @Nullable String maintNotifCauseCatalogText, @Nullable String maintNotifCauseCodeGrpText, @Nullable String maintNotifCauseCtlgCodeText)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: MaintNotifCauseCatalog

      Parameters:
      maintNotifCauseCatalog - Catalog
    • setMaintNotifCauseCodeGroup

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

      Original property name from the Odata EDM: MaintNotifCauseCodeGroup

      Parameters:
      maintNotifCauseCodeGroup - Code Group
    • setMaintNotificationCauseCode

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

      Original property name from the Odata EDM: MaintNotificationCauseCode

      Parameters:
      maintNotificationCauseCode - Code
    • setCodeIsInactive

      public void setCodeIsInactive(@Nullable Boolean codeIsInactive)
      Constraints: Not nullable

      Original property name from the Odata EDM: CodeIsInactive

      Parameters:
      codeIsInactive - Code Is Inactive
    • setMaintNotifCauseGrpStatusText

      public void setMaintNotifCauseGrpStatusText(@Nullable String maintNotifCauseGrpStatusText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: MaintNotifCauseGrpStatusText

      Parameters:
      maintNotifCauseGrpStatusText - Short Text for Fixed Values
    • setMaintNotifCauseCatalogText

      public void setMaintNotifCauseCatalogText(@Nullable String maintNotifCauseCatalogText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: MaintNotifCauseCatalogText

      Parameters:
      maintNotifCauseCatalogText - Short Text for the Catalog
    • setMaintNotifCauseCodeGrpText

      public void setMaintNotifCauseCodeGrpText(@Nullable String maintNotifCauseCodeGrpText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: MaintNotifCauseCodeGrpText

      Parameters:
      maintNotifCauseCodeGrpText - Text for Code Group
    • setMaintNotifCauseCtlgCodeText

      public void setMaintNotifCauseCtlgCodeText(@Nullable String maintNotifCauseCtlgCodeText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: MaintNotifCauseCtlgCodeText

      Parameters:
      maintNotifCauseCtlgCodeText - Text for Code
    • getEntityCollection

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

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

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<CauseCode>
    • builder

      @Nonnull public static CauseCode.CauseCodeBuilder builder()
    • getMaintNotifCauseCatalog

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

      Original property name from the Odata EDM: MaintNotifCauseCatalog

      Returns:
      Catalog
    • getMaintNotifCauseCodeGroup

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

      Original property name from the Odata EDM: MaintNotifCauseCodeGroup

      Returns:
      Code Group
    • getMaintNotificationCauseCode

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

      Original property name from the Odata EDM: MaintNotificationCauseCode

      Returns:
      Code
    • getCodeIsInactive

      @Nullable public Boolean getCodeIsInactive()
      Constraints: Not nullable

      Original property name from the Odata EDM: CodeIsInactive

      Returns:
      Code Is Inactive
    • getMaintNotifCauseGrpStatusText

      @Nullable public String getMaintNotifCauseGrpStatusText()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: MaintNotifCauseGrpStatusText

      Returns:
      Short Text for Fixed Values
    • getMaintNotifCauseCatalogText

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

      Original property name from the Odata EDM: MaintNotifCauseCatalogText

      Returns:
      Short Text for the Catalog
    • getMaintNotifCauseCodeGrpText

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

      Original property name from the Odata EDM: MaintNotifCauseCodeGrpText

      Returns:
      Text for Code Group
    • getMaintNotifCauseCtlgCodeText

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

      Original property name from the Odata EDM: MaintNotifCauseCtlgCodeText

      Returns:
      Text for Code
    • toString

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

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

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

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

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