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

public class SitnDataContext extends VdmEntity<SitnDataContext>
Situation Data Context

Original entity name from the Odata EDM: A_SitnDataContextType

  • Field Details

    • ALL_FIELDS

      public static final SitnDataContextSelectable ALL_FIELDS
      Selector for all available fields of SitnDataContext.
    • SITN_DATA_CONTEXT_ID

      public static final SitnDataContextField<String> SITN_DATA_CONTEXT_ID
      Use with available fluent helpers to apply the SitnDataContextID field to query operations.
    • SITN_INSTCE_ACTIVITY_ID

      public static final SitnDataContextField<String> SITN_INSTCE_ACTIVITY_ID
      Use with available fluent helpers to apply the SitnInstceActivityID field to query operations.
    • SITN_INSTANCE_ID

      public static final SitnDataContextField<String> SITN_INSTANCE_ID
      Use with available fluent helpers to apply the SitnInstanceID field to query operations.
    • CREATION_DATE_TIME

      public static final SitnDataContextField<ZonedDateTime> CREATION_DATE_TIME
      Use with available fluent helpers to apply the CreationDateTime field to query operations.
    • SITN_INSTCE_ANCHOR_OBJECT_KEY

      public static final SitnDataContextField<String> SITN_INSTCE_ANCHOR_OBJECT_KEY
      Use with available fluent helpers to apply the SitnInstceAnchorObjectKey field to query operations.
    • SITN_INSTCE_TRIGGER_OBJECT_KEY

      public static final SitnDataContextField<String> SITN_INSTCE_TRIGGER_OBJECT_KEY
      Use with available fluent helpers to apply the SitnInstceTriggerObjectKey field to query operations.
    • SITN_INSTCE_STATUS

      public static final SitnDataContextField<String> SITN_INSTCE_STATUS
      Use with available fluent helpers to apply the SitnInstceStatus field to query operations.
    • SITN_INSTCE_ACTY_TYPE

      public static final SitnDataContextField<String> SITN_INSTCE_ACTY_TYPE
      Use with available fluent helpers to apply the SitnInstceActyType field to query operations.
    • SITN_DEFINITION_ID

      public static final SitnDataContextField<String> SITN_DEFINITION_ID
      Use with available fluent helpers to apply the SitnDefinitionID field to query operations.
    • SITN_DEF_TEMPLATE_ID

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

      public static final SitnDataContextField<String> SITN_ACTION_ID
      Use with available fluent helpers to apply the SitnActionID field to query operations.
    • SITN_DATA_CONTEXT

      public static final SitnDataContextField<String> SITN_DATA_CONTEXT
      Use with available fluent helpers to apply the SitnDataContext field to query operations.
  • Constructor Details

    • SitnDataContext

      public SitnDataContext()
    • SitnDataContext

      public SitnDataContext(@Nullable String sitnDataContextID, @Nullable String sitnInstceActivityID, @Nullable String sitnInstanceID, @Nullable ZonedDateTime creationDateTime, @Nullable String sitnInstceAnchorObjectKey, @Nullable String sitnInstceTriggerObjectKey, @Nullable String sitnInstceStatus, @Nullable String sitnInstceActyType, @Nullable String sitnDefinitionID, @Nullable String sitnDefTemplateID, @Nullable String sitnActionID, @Nullable String sitnDataContext)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: SitnDataContextID

      Parameters:
      sitnDataContextID - Data Context ID
    • setSitnInstceActivityID

      public void setSitnInstceActivityID(@Nullable String sitnInstceActivityID)
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: SitnInstceActivityID

      Parameters:
      sitnInstceActivityID - Unique ID of Situation Instance Activity
    • setSitnInstanceID

      public void setSitnInstanceID(@Nullable String sitnInstanceID)
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: SitnInstanceID

      Parameters:
      sitnInstanceID - Instance ID
    • setCreationDateTime

      public void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • setSitnInstceAnchorObjectKey

      public void setSitnInstceAnchorObjectKey(@Nullable String sitnInstceAnchorObjectKey)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: SitnInstceAnchorObjectKey

      Parameters:
      sitnInstceAnchorObjectKey - Anchor Object Key
    • setSitnInstceTriggerObjectKey

      public void setSitnInstceTriggerObjectKey(@Nullable String sitnInstceTriggerObjectKey)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: SitnInstceTriggerObjectKey

      Parameters:
      sitnInstceTriggerObjectKey - Trigger Object Key
    • setSitnInstceStatus

      public void setSitnInstceStatus(@Nullable String sitnInstceStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SitnInstceStatus

      Parameters:
      sitnInstceStatus - Instance Status
    • setSitnInstceActyType

      public void setSitnInstceActyType(@Nullable String sitnInstceActyType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SitnInstceActyType

      Parameters:
      sitnInstceActyType - Instance Activity Type
    • setSitnDefinitionID

      public void setSitnDefinitionID(@Nullable String sitnDefinitionID)
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: SitnDefinitionID

      Parameters:
      sitnDefinitionID - Situation Type ID
    • setSitnDefTemplateID

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

      Original property name from the Odata EDM: SitnDefTemplateID

      Parameters:
      sitnDefTemplateID - Situation Standard Template ID
    • setSitnActionID

      public void setSitnActionID(@Nullable String sitnActionID)
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: SitnActionID

      Parameters:
      sitnActionID - Action ID
    • setSitnDataContext

      public void setSitnDataContext(@Nullable String sitnDataContext)
      Constraints: none

      Original property name from the Odata EDM: SitnDataContext

      Parameters:
      sitnDataContext - Situation Data Context Data
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SitnDataContextField<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> SitnDataContextField<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<SitnDataContext>
    • setServicePathForFetch

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

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

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

      @Nonnull public static SitnDataContext.SitnDataContextBuilder builder()
    • getSitnDataContextID

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

      Original property name from the Odata EDM: SitnDataContextID

      Returns:
      Data Context ID
    • getSitnInstceActivityID

      @Nullable public String getSitnInstceActivityID()
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: SitnInstceActivityID

      Returns:
      Unique ID of Situation Instance Activity
    • getSitnInstanceID

      @Nullable public String getSitnInstanceID()
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: SitnInstanceID

      Returns:
      Instance ID
    • getCreationDateTime

      @Nullable public ZonedDateTime getCreationDateTime()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
    • getSitnInstceAnchorObjectKey

      @Nullable public String getSitnInstceAnchorObjectKey()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: SitnInstceAnchorObjectKey

      Returns:
      Anchor Object Key
    • getSitnInstceTriggerObjectKey

      @Nullable public String getSitnInstceTriggerObjectKey()
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: SitnInstceTriggerObjectKey

      Returns:
      Trigger Object Key
    • getSitnInstceStatus

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

      Original property name from the Odata EDM: SitnInstceStatus

      Returns:
      Instance Status
    • getSitnInstceActyType

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

      Original property name from the Odata EDM: SitnInstceActyType

      Returns:
      Instance Activity Type
    • getSitnDefinitionID

      @Nullable public String getSitnDefinitionID()
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: SitnDefinitionID

      Returns:
      Situation Type ID
    • getSitnDefTemplateID

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

      Original property name from the Odata EDM: SitnDefTemplateID

      Returns:
      Situation Standard Template ID
    • getSitnActionID

      @Nullable public String getSitnActionID()
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: SitnActionID

      Returns:
      Action ID
    • getSitnDataContext

      @Nullable public String getSitnDataContext()
      Constraints: none

      Original property name from the Odata EDM: SitnDataContext

      Returns:
      Situation Data Context Data
    • toString

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

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

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

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