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

public class SitnInstance extends VdmEntity<SitnInstance>
Situation Instance

Original entity name from the Odata EDM: A_SitnInstanceType

  • Field Details

    • ALL_FIELDS

      public static final SitnInstanceSelectable ALL_FIELDS
      Selector for all available fields of SitnInstance.
    • SITN_INSTANCE_ID

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

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

      public static final SitnInstanceField<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 SitnInstanceField<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 SitnInstanceField<String> SITN_INSTCE_STATUS
      Use with available fluent helpers to apply the SitnInstceStatus field to query operations.
    • SITN_INSTCE_STAGE

      public static final SitnInstanceField<String> SITN_INSTCE_STAGE
      Use with available fluent helpers to apply the SitnInstceStage field to query operations.
    • CREATION_DATE_TIME

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

      public static final SitnInstanceField<String> SITN_DEF_ANCHOR_OBJECT
      Use with available fluent helpers to apply the SitnDefAnchorObject field to query operations.
    • SITN_DEF_TEMPLATE_ID

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

    • SitnInstance

      public SitnInstance()
    • SitnInstance

      public SitnInstance(@Nullable String sitnInstanceID, @Nullable String sitnDefinitionID, @Nullable String sitnInstceAnchorObjectKey, @Nullable String sitnInstceTriggerObjectKey, @Nullable String sitnInstceStatus, @Nullable String sitnInstceStage, @Nullable ZonedDateTime creationDateTime, @Nullable String sitnDefAnchorObject, @Nullable String sitnDefTemplateID)
  • Method Details

    • getType

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

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

      Original property name from the Odata EDM: SitnInstanceID

      Parameters:
      sitnInstanceID - Instance ID
    • 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
    • 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
    • setSitnInstceStage

      public void setSitnInstceStage(@Nullable String sitnInstceStage)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SitnInstceStage

      Parameters:
      sitnInstceStage - Stage of Instance
    • 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)
    • setSitnDefAnchorObject

      public void setSitnDefAnchorObject(@Nullable String sitnDefAnchorObject)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SitnDefAnchorObject

      Parameters:
      sitnDefAnchorObject - Situation Anchor Object Type
    • 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
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SitnInstanceField<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> SitnInstanceField<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<SitnInstance>
    • setServicePathForFetch

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

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

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

      @Nonnull public static SitnInstance.SitnInstanceBuilder builder()
    • getSitnInstanceID

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

      Original property name from the Odata EDM: SitnInstanceID

      Returns:
      Instance ID
    • getSitnDefinitionID

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

      Original property name from the Odata EDM: SitnDefinitionID

      Returns:
      Situation Type ID
    • 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
    • getSitnInstceStage

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

      Original property name from the Odata EDM: SitnInstceStage

      Returns:
      Stage of Instance
    • 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)
    • getSitnDefAnchorObject

      @Nullable public String getSitnDefAnchorObject()
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SitnDefAnchorObject

      Returns:
      Situation Anchor Object Type
    • getSitnDefTemplateID

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

      Original property name from the Odata EDM: SitnDefTemplateID

      Returns:
      Situation Standard Template ID
    • toString

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

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

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

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