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

public class SituationContextDefText extends VdmEntity<SituationContextDefText>
Schema for Data Context Definition - Text

Original entity name from the Odata EDM: SituationContextDefTextType

  • Field Details

    • ALL_FIELDS

      public static final SituationContextDefTextSelectable ALL_FIELDS
      Selector for all available fields of SituationContextDefText.
    • SITN_DEF_TEMPLATE_ID

      public static final SituationContextDefTextField<String> SITN_DEF_TEMPLATE_ID
      Use with available fluent helpers to apply the SitnDefTemplateID field to query operations.
    • SITN_DATA_CNTXT_FORMAT_VERSION

      public static final SituationContextDefTextField<Integer> SITN_DATA_CNTXT_FORMAT_VERSION
      Use with available fluent helpers to apply the SitnDataCntxtFormatVersion field to query operations.
    • SITN_DATA_CNTXT_SCHEMA_VERSION

      public static final SituationContextDefTextField<Integer> SITN_DATA_CNTXT_SCHEMA_VERSION
      Use with available fluent helpers to apply the SitnDataCntxtSchemaVersion field to query operations.
    • LANGUAGE

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

      public static final SituationContextDefTextField<String> SITN_DATA_CNTXT_TEXT
      Use with available fluent helpers to apply the SitnDataCntxtText field to query operations.
  • Constructor Details

    • SituationContextDefText

      public SituationContextDefText()
    • SituationContextDefText

      public SituationContextDefText(@Nullable String sitnDefTemplateID, @Nullable Integer sitnDataCntxtFormatVersion, @Nullable Integer sitnDataCntxtSchemaVersion, @Nullable String language, @Nullable String sitnDataCntxtText)
  • Method Details

    • getType

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

      public void setSitnDefTemplateID(@Nullable String sitnDefTemplateID)
      (Key Field) Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: SitnDefTemplateID

      Parameters:
      sitnDefTemplateID - Situation Standard Template ID
    • setSitnDataCntxtFormatVersion

      public void setSitnDataCntxtFormatVersion(@Nullable Integer sitnDataCntxtFormatVersion)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SitnDataCntxtFormatVersion

      Parameters:
      sitnDataCntxtFormatVersion - Context Format Version
    • setSitnDataCntxtSchemaVersion

      public void setSitnDataCntxtSchemaVersion(@Nullable Integer sitnDataCntxtSchemaVersion)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SitnDataCntxtSchemaVersion

      Parameters:
      sitnDataCntxtSchemaVersion - Schema Version of Data Context Definition
    • 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
    • setSitnDataCntxtText

      public void setSitnDataCntxtText(@Nullable String sitnDataCntxtText)
      Constraints: none

      Original property name from the Odata EDM: SitnDataCntxtText

      Parameters:
      sitnDataCntxtText - Situation Data Context Data
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SituationContextDefTextField<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> SituationContextDefTextField<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<SituationContextDefText>
    • setServicePathForFetch

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

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

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

    • getSitnDefTemplateID

      @Nullable public String getSitnDefTemplateID()
      (Key Field) Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: SitnDefTemplateID

      Returns:
      Situation Standard Template ID
    • getSitnDataCntxtFormatVersion

      @Nullable public Integer getSitnDataCntxtFormatVersion()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SitnDataCntxtFormatVersion

      Returns:
      Context Format Version
    • getSitnDataCntxtSchemaVersion

      @Nullable public Integer getSitnDataCntxtSchemaVersion()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SitnDataCntxtSchemaVersion

      Returns:
      Schema Version of Data Context Definition
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getSitnDataCntxtText

      @Nullable public String getSitnDataCntxtText()
      Constraints: none

      Original property name from the Odata EDM: SitnDataCntxtText

      Returns:
      Situation Data Context Data
    • toString

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

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

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

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