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

public class SubscriptionMaintain extends VdmEntity<SubscriptionMaintain>
Maintain Subscriptions

Original entity name from the Odata EDM: SubscriptionMaintain

  • Field Details

    • ALL_FIELDS

      public static final SubscriptionMaintainSelectable ALL_FIELDS
      Selector for all available fields of SubscriptionMaintain.
    • BUS_EVENT_SUBSCRIBER_CODE

      public static final SubscriptionMaintainField<String> BUS_EVENT_SUBSCRIBER_CODE
      Use with available fluent helpers to apply the BusEventSubscriberCode field to query operations.
    • SAP_OBJECT_TYPE

      public static final SubscriptionMaintainField<String> SAP_OBJECT_TYPE
      Use with available fluent helpers to apply the SAPObjectType field to query operations.
    • SAP_OBJECT_TASK_CODE

      public static final SubscriptionMaintainField<String> SAP_OBJECT_TASK_CODE
      Use with available fluent helpers to apply the SAPObjectTaskCode field to query operations.
    • BUS_EVENT_SUBSCRIPTION_STATE_CODE

      public static final SubscriptionMaintainField<String> BUS_EVENT_SUBSCRIPTION_STATE_CODE
      Use with available fluent helpers to apply the BusEventSubscriptionStateCode field to query operations.
    • BUS_EVENT_PRIORITY

      public static final SubscriptionMaintainField<Short> BUS_EVENT_PRIORITY
      Use with available fluent helpers to apply the BusEventPriority field to query operations.
  • Constructor Details

    • SubscriptionMaintain

      public SubscriptionMaintain()
    • SubscriptionMaintain

      public SubscriptionMaintain(@Nullable String busEventSubscriberCode, @Nullable String sAPObjectType, @Nullable String sAPObjectTaskCode, @Nullable String busEventSubscriptionStateCode, @Nullable Short busEventPriority)
  • Method Details

    • getType

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

      public void setBusEventSubscriberCode(@Nullable String busEventSubscriberCode)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusEventSubscriberCode

      Parameters:
      busEventSubscriberCode - Subscriber ID
    • setSAPObjectType

      public void setSAPObjectType(@Nullable String sAPObjectType)
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SAPObjectType

      Parameters:
      sAPObjectType - SAP Object Type
    • setSAPObjectTaskCode

      public void setSAPObjectTaskCode(@Nullable String sAPObjectTaskCode)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: SAPObjectTaskCode

      Parameters:
      sAPObjectTaskCode - SAP Object Task Code
    • setBusEventSubscriptionStateCode

      public void setBusEventSubscriptionStateCode(@Nullable String busEventSubscriptionStateCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BusEventSubscriptionStateCode

      Parameters:
      busEventSubscriptionStateCode - State
    • setBusEventPriority

      public void setBusEventPriority(@Nullable Short busEventPriority)
      Constraints: Not nullable

      Original property name from the Odata EDM: BusEventPriority

      Parameters:
      busEventPriority - Priority
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SubscriptionMaintainField<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> SubscriptionMaintainField<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<SubscriptionMaintain>
    • setServicePathForFetch

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

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

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

      @Nonnull public static SubscriptionMaintain.SubscriptionMaintainBuilder builder()
    • getBusEventSubscriberCode

      @Nullable public String getBusEventSubscriberCode()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BusEventSubscriberCode

      Returns:
      Subscriber ID
    • getSAPObjectType

      @Nullable public String getSAPObjectType()
      (Key Field) Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SAPObjectType

      Returns:
      SAP Object Type
    • getSAPObjectTaskCode

      @Nullable public String getSAPObjectTaskCode()
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: SAPObjectTaskCode

      Returns:
      SAP Object Task Code
    • getBusEventSubscriptionStateCode

      @Nullable public String getBusEventSubscriptionStateCode()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: BusEventSubscriptionStateCode

      Returns:
      State
    • getBusEventPriority

      @Nullable public Short getBusEventPriority()
      Constraints: Not nullable

      Original property name from the Odata EDM: BusEventPriority

      Returns:
      Priority
    • toString

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

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

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

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