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

public class SubscriptionRead extends VdmEntity<SubscriptionRead>
Read Subscriptions

Original entity name from the Odata EDM: SubscriptionRead

  • Field Details

    • ALL_FIELDS

      public static final SubscriptionReadSelectable ALL_FIELDS
      Selector for all available fields of SubscriptionRead.
    • BUS_EVENT_SUBSCRIBER_CODE

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

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

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

      public static final SubscriptionReadField<String> SAP_OBJECT_TYPE_NAME
      Use with available fluent helpers to apply the SAPObjectTypeName field to query operations.
    • SAP_OBJECT_TASK_TYPE_NAME

      public static final SubscriptionReadField<String> SAP_OBJECT_TASK_TYPE_NAME
      Use with available fluent helpers to apply the SAPObjectTaskTypeName field to query operations.
    • BUS_EVENT_SUBSCRIPTION_STATE_CODE

      public static final SubscriptionReadField<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 SubscriptionReadField<Short> BUS_EVENT_PRIORITY
      Use with available fluent helpers to apply the BusEventPriority field to query operations.
    • BUSINESS_EVENT_SUBSCRIBER_NAME

      public static final SubscriptionReadField<String> BUSINESS_EVENT_SUBSCRIBER_NAME
      Use with available fluent helpers to apply the BusinessEventSubscriberName field to query operations.
    • CREATION_UTC_DATE_TIME

      public static final SubscriptionReadField<BigDecimal> CREATION_UTC_DATE_TIME
      Use with available fluent helpers to apply the CreationUTCDateTime field to query operations.
    • CREATED_BY_USER_NAME

      public static final SubscriptionReadField<String> CREATED_BY_USER_NAME
      Use with available fluent helpers to apply the CreatedByUserName field to query operations.
  • Constructor Details

    • SubscriptionRead

      public SubscriptionRead()
    • SubscriptionRead

      public SubscriptionRead(@Nullable String busEventSubscriberCode, @Nullable String sAPObjectType, @Nullable String sAPObjectTaskCode, @Nullable String sAPObjectTypeName, @Nullable String sAPObjectTaskTypeName, @Nullable String busEventSubscriptionStateCode, @Nullable Short busEventPriority, @Nullable String businessEventSubscriberName, @Nullable BigDecimal creationUTCDateTime, @Nullable String createdByUserName)
  • Method Details

    • getType

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

      public void setSAPObjectTypeName(@Nullable String sAPObjectTypeName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: SAPObjectTypeName

      Parameters:
      sAPObjectTypeName - SAP Object Type Name
    • setSAPObjectTaskTypeName

      public void setSAPObjectTaskTypeName(@Nullable String sAPObjectTaskTypeName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: SAPObjectTaskTypeName

      Parameters:
      sAPObjectTaskTypeName - Obj Task Type Name
    • 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
    • setBusinessEventSubscriberName

      public void setBusinessEventSubscriberName(@Nullable String businessEventSubscriberName)
      Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: BusinessEventSubscriberName

      Parameters:
      businessEventSubscriberName - Subscriber Name
    • setCreationUTCDateTime

      public void setCreationUTCDateTime(@Nullable BigDecimal creationUTCDateTime)
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: CreationUTCDateTime

      Parameters:
      creationUTCDateTime - Time Stamp
    • setCreatedByUserName

      public void setCreatedByUserName(@Nullable String createdByUserName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: CreatedByUserName

      Parameters:
      createdByUserName - Description
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SubscriptionReadField<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> SubscriptionReadField<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<SubscriptionRead>
    • setServicePathForFetch

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

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

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

      @Nonnull public static SubscriptionRead.SubscriptionReadBuilder 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
    • getSAPObjectTypeName

      @Nullable public String getSAPObjectTypeName()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: SAPObjectTypeName

      Returns:
      SAP Object Type Name
    • getSAPObjectTaskTypeName

      @Nullable public String getSAPObjectTaskTypeName()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: SAPObjectTaskTypeName

      Returns:
      Obj Task Type Name
    • 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
    • getBusinessEventSubscriberName

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

      Original property name from the Odata EDM: BusinessEventSubscriberName

      Returns:
      Subscriber Name
    • getCreationUTCDateTime

      @Nullable public BigDecimal getCreationUTCDateTime()
      Constraints: Not nullable, Precision: 15, Scale: 0

      Original property name from the Odata EDM: CreationUTCDateTime

      Returns:
      Time Stamp
    • getCreatedByUserName

      @Nullable public String getCreatedByUserName()
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: CreatedByUserName

      Returns:
      Description
    • toString

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

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

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

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