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

public class SituationTemplateText extends VdmEntity<SituationTemplateText>
Situation Template - Text

Original entity name from the Odata EDM: SituationTemplateTextType

  • Field Details

    • ALL_FIELDS

      public static final SituationTemplateTextSelectable ALL_FIELDS
      Selector for all available fields of SituationTemplateText.
    • SITN_DEF_TEMPLATE_ID

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

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

      public static final SituationTemplateTextField<String> SITN_DEF_NAME
      Use with available fluent helpers to apply the SitnDefName field to query operations.
    • SITN_DEF_DESCRIPTION

      public static final SituationTemplateTextField<String> SITN_DEF_DESCRIPTION
      Use with available fluent helpers to apply the SitnDefDescription field to query operations.
  • Constructor Details

    • SituationTemplateText

      public SituationTemplateText()
    • SituationTemplateText

      public SituationTemplateText(@Nullable String sitnDefTemplateID, @Nullable String language, @Nullable String sitnDefName, @Nullable String sitnDefDescription)
  • Method Details

    • getType

      @Nonnull public Class<SituationTemplateText> getType()
      Specified by:
      getType in class VdmObject<SituationTemplateText>
    • 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
    • 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
    • setSitnDefName

      public void setSitnDefName(@Nullable String sitnDefName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SitnDefName

      Parameters:
      sitnDefName - Situation Type Name
    • setSitnDefDescription

      public void setSitnDefDescription(@Nullable String sitnDefDescription)
      Constraints: Not nullable, Maximum length: 250

      Original property name from the Odata EDM: SitnDefDescription

      Parameters:
      sitnDefDescription - Situation Condition Description
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SituationTemplateTextField<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> SituationTemplateTextField<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<SituationTemplateText>
    • setServicePathForFetch

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

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

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

      @Nonnull public static SituationTemplateText.SituationTemplateTextBuilder 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
    • getLanguage

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

      Original property name from the Odata EDM: Language

      Returns:
      Language Key
    • getSitnDefName

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

      Original property name from the Odata EDM: SitnDefName

      Returns:
      Situation Type Name
    • getSitnDefDescription

      @Nullable public String getSitnDefDescription()
      Constraints: Not nullable, Maximum length: 250

      Original property name from the Odata EDM: SitnDefDescription

      Returns:
      Situation Condition Description
    • toString

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

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

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

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