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

public class PurgCatTranslationStatus extends VdmEntity<PurgCatTranslationStatus>
Translation Status

Original entity name from the Odata EDM: A_PurgCatTranslationStatusType

  • Field Details

    • ALL_FIELDS

      public static final PurgCatTranslationStatusSelectable ALL_FIELDS
      Selector for all available fields of PurgCatTranslationStatus.
    • PURG_CAT_TRANSLATION_UUID

      public static final PurgCatTranslationStatusField<UUID> PURG_CAT_TRANSLATION_UUID
      Use with available fluent helpers to apply the PurgCatTranslationUUID field to query operations.
    • PURG_CAT_UUID

      public static final PurgCatTranslationStatusField<UUID> PURG_CAT_UUID
      Use with available fluent helpers to apply the PurgCatUUID field to query operations.
    • PURG_CAT_TRANSLATION_TGT_LANG

      public static final PurgCatTranslationStatusField<String> PURG_CAT_TRANSLATION_TGT_LANG
      Use with available fluent helpers to apply the PurgCatTranslationTgtLang field to query operations.
    • PURG_CAT_TRANSLATION_TGT_LANG_STS

      public static final PurgCatTranslationStatusField<String> PURG_CAT_TRANSLATION_TGT_LANG_STS
      Use with available fluent helpers to apply the PurgCatTranslationTgtLangSts field to query operations.
  • Constructor Details

    • PurgCatTranslationStatus

      public PurgCatTranslationStatus()
    • PurgCatTranslationStatus

      public PurgCatTranslationStatus(@Nullable UUID purgCatTranslationUUID, @Nullable UUID purgCatUUID, @Nullable String purgCatTranslationTgtLang, @Nullable String purgCatTranslationTgtLangSts)
  • Method Details

    • getType

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

      public void setPurgCatTranslationUUID(@Nullable UUID purgCatTranslationUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PurgCatTranslationUUID

      Parameters:
      purgCatTranslationUUID - Purchasing Category Translation UUID
    • setPurgCatUUID

      public void setPurgCatUUID(@Nullable UUID purgCatUUID)
      Constraints: none

      Original property name from the Odata EDM: PurgCatUUID

      Parameters:
      purgCatUUID - Purchasing Category UUID
    • setPurgCatTranslationTgtLang

      public void setPurgCatTranslationTgtLang(@Nullable String purgCatTranslationTgtLang)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurgCatTranslationTgtLang

      Parameters:
      purgCatTranslationTgtLang - Target Language
    • setPurgCatTranslationTgtLangSts

      public void setPurgCatTranslationTgtLangSts(@Nullable String purgCatTranslationTgtLangSts)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurgCatTranslationTgtLangSts

      Parameters:
      purgCatTranslationTgtLangSts - Status of Target Language
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> PurgCatTranslationStatusField<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> PurgCatTranslationStatusField<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<PurgCatTranslationStatus>
    • setServicePathForFetch

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

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

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

    • getPurgCatTranslationUUID

      @Nullable public UUID getPurgCatTranslationUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: PurgCatTranslationUUID

      Returns:
      Purchasing Category Translation UUID
    • getPurgCatUUID

      @Nullable public UUID getPurgCatUUID()
      Constraints: none

      Original property name from the Odata EDM: PurgCatUUID

      Returns:
      Purchasing Category UUID
    • getPurgCatTranslationTgtLang

      @Nullable public String getPurgCatTranslationTgtLang()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurgCatTranslationTgtLang

      Returns:
      Target Language
    • getPurgCatTranslationTgtLangSts

      @Nullable public String getPurgCatTranslationTgtLangSts()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: PurgCatTranslationTgtLangSts

      Returns:
      Status of Target Language
    • toString

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

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

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

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