java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<DefectCodeText>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.defectcodeandcodegroup.DefectCodeText

public class DefectCodeText extends VdmEntity<DefectCodeText>
Defect Code Texts

Original entity name from the Odata EDM: A_DefectCodeTextType

  • Field Details

    • ALL_FIELDS

      public static final DefectCodeTextSelectable ALL_FIELDS
      Selector for all available fields of DefectCodeText.
    • DEFECT_CODE_GROUP

      public static final DefectCodeTextField<String> DEFECT_CODE_GROUP
      Use with available fluent helpers to apply the DefectCodeGroup field to query operations.
    • DEFECT_CODE

      public static final DefectCodeTextField<String> DEFECT_CODE
      Use with available fluent helpers to apply the DefectCode field to query operations.
    • LANGUAGE

      public static final DefectCodeTextField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • DEFECT_CODE_TEXT

      public static final DefectCodeTextField<String> DEFECT_CODE_TEXT
      Use with available fluent helpers to apply the DefectCodeText field to query operations.
  • Constructor Details

    • DefectCodeText

      public DefectCodeText()
    • DefectCodeText

      public DefectCodeText(@Nullable String defectCodeGroup, @Nullable String defectCode, @Nullable String language, @Nullable String defectCodeText)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: DefectCodeGroup

      Parameters:
      defectCodeGroup - Defect Code Group
    • setDefectCode

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

      Original property name from the Odata EDM: DefectCode

      Parameters:
      defectCode - Defect Code
    • 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
    • setDefectCodeText

      public void setDefectCodeText(@Nullable String defectCodeText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: DefectCodeText

      Parameters:
      defectCodeText - Text for Defect Code
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> DefectCodeTextField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      fieldName - The name of the extension field as returned by the OData service.
      fieldType - The Java type to use for the extension field when performing value comparisons.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> DefectCodeTextField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<DefectCodeText>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<DefectCodeText>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<DefectCodeText>
    • getDefaultServicePath

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

      @Nonnull public static DefectCodeText.DefectCodeTextBuilder builder()
    • getDefectCodeGroup

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

      Original property name from the Odata EDM: DefectCodeGroup

      Returns:
      Defect Code Group
    • getDefectCode

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

      Original property name from the Odata EDM: DefectCode

      Returns:
      Defect Code
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getDefectCodeText

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

      Original property name from the Odata EDM: DefectCodeText

      Returns:
      Text for Defect Code
    • toString

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

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

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

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<DefectCodeText>