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

public class Behqueuedata extends VdmEntity<Behqueuedata>
Business Event Data

Original entity name from the Odata EDM: C_BehqueuedataType

  • Field Details

    • ALL_FIELDS

      public static final BehqueuedataSelectable ALL_FIELDS
      Selector for all available fields of Behqueuedata.
    • BUSINESS_EVENT

      public static final BehqueuedataField<UUID> BUSINESS_EVENT
      Use with available fluent helpers to apply the BusinessEvent field to query operations.
    • SAP_OBJECT_TASK_TYPE_NAME

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

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

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

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

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

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

      public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY1
      Use with available fluent helpers to apply the SAPBusinessObjectKey1 field to query operations.
    • SAP_BUSINESS_OBJECT_KEY2

      public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY2
      Use with available fluent helpers to apply the SAPBusinessObjectKey2 field to query operations.
    • SAP_BUSINESS_OBJECT_KEY3

      public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY3
      Use with available fluent helpers to apply the SAPBusinessObjectKey3 field to query operations.
    • SAP_BUSINESS_OBJECT_KEY4

      public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY4
      Use with available fluent helpers to apply the SAPBusinessObjectKey4 field to query operations.
    • SAP_BUSINESS_OBJECT_KEY5

      public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY5
      Use with available fluent helpers to apply the SAPBusinessObjectKey5 field to query operations.
    • SAP_BUSINESS_OBJECT_KEY6

      public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY6
      Use with available fluent helpers to apply the SAPBusinessObjectKey6 field to query operations.
    • SAP_BUSINESS_OBJECT_KEY7

      public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY7
      Use with available fluent helpers to apply the SAPBusinessObjectKey7 field to query operations.
    • BUS_EVENT_PRIORITY

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

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

      public static final BehqueuedataLink<BusObjects> TO_BUS_OBJECTS
      Use with available fluent helpers to apply the to_BusObjects navigation property to query operations.
    • TO_KEYS

      public static final BehqueuedataOneToOneLink<BusinessObjectKeys> TO_KEYS
      Use with available fluent helpers to apply the to_Keys navigation property to query operations.
  • Constructor Details

    • Behqueuedata

      public Behqueuedata()
    • Behqueuedata

      public Behqueuedata(@Nullable UUID businessEvent, @Nullable String sAPObjectTaskTypeName, @Nullable String sAPObjectTypeName, @Nullable String sAPObjectType, @Nullable String busEventSubscriberCode, @Nullable String sAPObjectTaskCode, @Nullable String businessEventSubscriberName, @Nullable String sAPBusinessObjectKey1, @Nullable String sAPBusinessObjectKey2, @Nullable String sAPBusinessObjectKey3, @Nullable String sAPBusinessObjectKey4, @Nullable String sAPBusinessObjectKey5, @Nullable String sAPBusinessObjectKey6, @Nullable String sAPBusinessObjectKey7, @Nullable Short busEventPriority, @Nullable BigDecimal creationUTCDateTime, List<BusObjects> toBusObjects, @Nullable BusinessObjectKeys toKeys)
  • Method Details

    • getType

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

      public void setBusinessEvent(@Nullable UUID businessEvent)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: BusinessEvent

      Parameters:
      businessEvent - GUID of an Event
    • setSAPObjectTaskTypeName

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

      Original property name from the Odata EDM: SAPObjectTaskTypeName

      Parameters:
      sAPObjectTaskTypeName - SAP Object Task Type Name
    • 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
    • setSAPObjectType

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

      Original property name from the Odata EDM: SAPObjectType

      Parameters:
      sAPObjectType - SAP Object Type
    • setBusEventSubscriberCode

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

      Original property name from the Odata EDM: BusEventSubscriberCode

      Parameters:
      busEventSubscriberCode - Subscriber ID
    • setSAPObjectTaskCode

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

      Original property name from the Odata EDM: SAPObjectTaskCode

      Parameters:
      sAPObjectTaskCode - Business Event Type
    • 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
    • setSAPBusinessObjectKey1

      public void setSAPBusinessObjectKey1(@Nullable String sAPBusinessObjectKey1)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SAPBusinessObjectKey1

      Parameters:
      sAPBusinessObjectKey1 - Business Object Key 1
    • setSAPBusinessObjectKey2

      public void setSAPBusinessObjectKey2(@Nullable String sAPBusinessObjectKey2)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SAPBusinessObjectKey2

      Parameters:
      sAPBusinessObjectKey2 - Business Object Key 2
    • setSAPBusinessObjectKey3

      public void setSAPBusinessObjectKey3(@Nullable String sAPBusinessObjectKey3)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SAPBusinessObjectKey3

      Parameters:
      sAPBusinessObjectKey3 - Business Object Key 3
    • setSAPBusinessObjectKey4

      public void setSAPBusinessObjectKey4(@Nullable String sAPBusinessObjectKey4)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SAPBusinessObjectKey4

      Parameters:
      sAPBusinessObjectKey4 - Business Object Key 4
    • setSAPBusinessObjectKey5

      public void setSAPBusinessObjectKey5(@Nullable String sAPBusinessObjectKey5)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SAPBusinessObjectKey5

      Parameters:
      sAPBusinessObjectKey5 - Business Object Key 5
    • setSAPBusinessObjectKey6

      public void setSAPBusinessObjectKey6(@Nullable String sAPBusinessObjectKey6)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SAPBusinessObjectKey6

      Parameters:
      sAPBusinessObjectKey6 - Business Object Key 6
    • setSAPBusinessObjectKey7

      public void setSAPBusinessObjectKey7(@Nullable String sAPBusinessObjectKey7)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SAPBusinessObjectKey7

      Parameters:
      sAPBusinessObjectKey7 - Business Object Key 7
    • setBusEventPriority

      public void setBusEventPriority(@Nullable Short busEventPriority)
      Constraints: none

      Original property name from the Odata EDM: BusEventPriority

      Parameters:
      busEventPriority - Subscription priority
    • setCreationUTCDateTime

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

      Original property name from the Odata EDM: CreationUTCDateTime

      Parameters:
      creationUTCDateTime - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> BehqueuedataField<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> BehqueuedataField<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<Behqueuedata>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<Behqueuedata>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<Behqueuedata>
    • fetchBusObjects

      @Nonnull public List<BusObjects> fetchBusObjects()
      Fetches the BusObjects entities (one to many) associated with this entity. This corresponds to the OData navigation property to_BusObjects.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated BusObjects entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getBusObjectsOrFetch

      @Nonnull public List<BusObjects> getBusObjectsOrFetch()
      Retrieval of associated BusObjects entities (one to many). This corresponds to the OData navigation property to_BusObjects.

      If the navigation property to_BusObjects of a queried Behqueuedata is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated BusObjects entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getBusObjectsIfPresent

      @Nonnull public io.vavr.control.Option<List<BusObjects>> getBusObjectsIfPresent()
      Retrieval of associated BusObjects entities (one to many). This corresponds to the OData navigation property to_BusObjects.

      If the navigation property for an entity Behqueuedata has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_BusObjects is already loaded, the result will contain the BusObjects entities. If not, an Option with result state empty is returned.
    • setBusObjects

      public void setBusObjects(@Nonnull List<BusObjects> value)
      Overwrites the list of associated BusObjects entities for the loaded navigation property to_BusObjects.

      If the navigation property to_BusObjects of a queried Behqueuedata is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      value - List of BusObjects entities.
    • addBusObjects

      public void addBusObjects(BusObjects... entity)
      Adds elements to the list of associated BusObjects entities. This corresponds to the OData navigation property to_BusObjects.

      If the navigation property to_BusObjects of a queried Behqueuedata is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Parameters:
      entity - Array of BusObjects entities.
    • fetchKeys

      @Nullable public BusinessObjectKeys fetchKeys()
      Fetches the BusinessObjectKeys entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Keys.

      Please note: This method will not cache or persist the query results.

      Returns:
      The single associated BusinessObjectKeys entity, or null if an entity is not associated.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getKeysOrFetch

      @Nullable public BusinessObjectKeys getKeysOrFetch()
      Retrieval of associated BusinessObjectKeys entity (one to one). This corresponds to the OData navigation property to_Keys.

      If the navigation property to_Keys of a queried Behqueuedata is operated lazily, an ODataException can be thrown in case of an OData query error.

      Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.

      Returns:
      List of associated BusinessObjectKeys entity.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException - If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
    • getKeysIfPresent

      @Nonnull public io.vavr.control.Option<BusinessObjectKeys> getKeysIfPresent()
      Retrieval of associated BusinessObjectKeys entity (one to one). This corresponds to the OData navigation property to_Keys.

      If the navigation property for an entity Behqueuedata has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_Keys is already loaded, the result will contain the BusinessObjectKeys entity. If not, an Option with result state empty is returned.
    • setKeys

      public void setKeys(BusinessObjectKeys value)
      Overwrites the associated BusinessObjectKeys entity for the loaded navigation property to_Keys.
      Parameters:
      value - New BusinessObjectKeys entity.
    • builder

      @Nonnull public static Behqueuedata.BehqueuedataBuilder builder()
    • getBusinessEvent

      @Nullable public UUID getBusinessEvent()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: BusinessEvent

      Returns:
      GUID of an Event
    • getSAPObjectTaskTypeName

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

      Original property name from the Odata EDM: SAPObjectTaskTypeName

      Returns:
      SAP Object Task Type Name
    • getSAPObjectTypeName

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

      Original property name from the Odata EDM: SAPObjectTypeName

      Returns:
      SAP Object Type Name
    • getSAPObjectType

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

      Original property name from the Odata EDM: SAPObjectType

      Returns:
      SAP Object Type
    • getBusEventSubscriberCode

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

      Original property name from the Odata EDM: BusEventSubscriberCode

      Returns:
      Subscriber ID
    • getSAPObjectTaskCode

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

      Original property name from the Odata EDM: SAPObjectTaskCode

      Returns:
      Business Event Type
    • getBusinessEventSubscriberName

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

      Original property name from the Odata EDM: BusinessEventSubscriberName

      Returns:
      Subscriber Name
    • getSAPBusinessObjectKey1

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

      Original property name from the Odata EDM: SAPBusinessObjectKey1

      Returns:
      Business Object Key 1
    • getSAPBusinessObjectKey2

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

      Original property name from the Odata EDM: SAPBusinessObjectKey2

      Returns:
      Business Object Key 2
    • getSAPBusinessObjectKey3

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

      Original property name from the Odata EDM: SAPBusinessObjectKey3

      Returns:
      Business Object Key 3
    • getSAPBusinessObjectKey4

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

      Original property name from the Odata EDM: SAPBusinessObjectKey4

      Returns:
      Business Object Key 4
    • getSAPBusinessObjectKey5

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

      Original property name from the Odata EDM: SAPBusinessObjectKey5

      Returns:
      Business Object Key 5
    • getSAPBusinessObjectKey6

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

      Original property name from the Odata EDM: SAPBusinessObjectKey6

      Returns:
      Business Object Key 6
    • getSAPBusinessObjectKey7

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

      Original property name from the Odata EDM: SAPBusinessObjectKey7

      Returns:
      Business Object Key 7
    • getBusEventPriority

      @Nullable public Short getBusEventPriority()
      Constraints: none

      Original property name from the Odata EDM: BusEventPriority

      Returns:
      Subscription priority
    • getCreationUTCDateTime

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

      Original property name from the Odata EDM: CreationUTCDateTime

      Returns:
      UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • toString

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

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

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

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