public class Behqueuedata extends VdmEntity<Behqueuedata>
Original entity name from the Odata EDM: C_BehqueuedataType
Modifier and Type | Class and Description |
---|---|
static class |
Behqueuedata.BehqueuedataBuilder
Helper class to allow for fluent creation of Behqueuedata instances.
|
Modifier and Type | Field and Description |
---|---|
static BehqueuedataSelectable |
ALL_FIELDS
Selector for all available fields of Behqueuedata.
|
static BehqueuedataField<Short> |
BUS_EVENT_PRIORITY
Use with available fluent helpers to apply the BusEventPriority field to query operations.
|
static BehqueuedataField<String> |
BUS_EVENT_SUBSCRIBER_CODE
Use with available fluent helpers to apply the BusEventSubscriberCode field to query operations.
|
static BehqueuedataField<UUID> |
BUSINESS_EVENT
Use with available fluent helpers to apply the BusinessEvent field to query operations.
|
static BehqueuedataField<String> |
BUSINESS_EVENT_SUBSCRIBER_NAME
Use with available fluent helpers to apply the BusinessEventSubscriberName field to query operations.
|
static BehqueuedataField<BigDecimal> |
CREATION_UTC_DATE_TIME
Use with available fluent helpers to apply the CreationUTCDateTime field to query operations.
|
static BehqueuedataField<String> |
SAP_BUSINESS_OBJECT_KEY1
Use with available fluent helpers to apply the SAPBusinessObjectKey1 field to query operations.
|
static BehqueuedataField<String> |
SAP_BUSINESS_OBJECT_KEY2
Use with available fluent helpers to apply the SAPBusinessObjectKey2 field to query operations.
|
static BehqueuedataField<String> |
SAP_BUSINESS_OBJECT_KEY3
Use with available fluent helpers to apply the SAPBusinessObjectKey3 field to query operations.
|
static BehqueuedataField<String> |
SAP_BUSINESS_OBJECT_KEY4
Use with available fluent helpers to apply the SAPBusinessObjectKey4 field to query operations.
|
static BehqueuedataField<String> |
SAP_BUSINESS_OBJECT_KEY5
Use with available fluent helpers to apply the SAPBusinessObjectKey5 field to query operations.
|
static BehqueuedataField<String> |
SAP_BUSINESS_OBJECT_KEY6
Use with available fluent helpers to apply the SAPBusinessObjectKey6 field to query operations.
|
static BehqueuedataField<String> |
SAP_OBJECT_TASK_CODE
Use with available fluent helpers to apply the SAPObjectTaskCode field to query operations.
|
static BehqueuedataField<String> |
SAP_OBJECT_TASK_TYPE_NAME
Use with available fluent helpers to apply the SAPObjectTaskTypeName field to query operations.
|
static BehqueuedataField<String> |
SAP_OBJECT_TYPE
Use with available fluent helpers to apply the SAPObjectType field to query operations.
|
static BehqueuedataField<String> |
SAP_OBJECT_TYPE_NAME
Use with available fluent helpers to apply the SAPObjectTypeName field to query operations.
|
static BehqueuedataLink<BusObjects> |
TO_BUS_OBJECTS
Use with available fluent helpers to apply the to_BusObjects navigation property to query operations.
|
static BehqueuedataOneToOneLink<BusinessObjectKeys> |
TO_KEYS
Use with available fluent helpers to apply the to_Keys navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
Behqueuedata() |
Behqueuedata(UUID businessEvent,
String sAPObjectTaskTypeName,
String sAPObjectTypeName,
String sAPObjectType,
String busEventSubscriberCode,
String sAPObjectTaskCode,
String businessEventSubscriberName,
String sAPBusinessObjectKey1,
String sAPBusinessObjectKey2,
String sAPBusinessObjectKey3,
String sAPBusinessObjectKey4,
String sAPBusinessObjectKey5,
String sAPBusinessObjectKey6,
Short busEventPriority,
BigDecimal creationUTCDateTime,
List<BusObjects> toBusObjects,
BusinessObjectKeys toKeys) |
Modifier and Type | Method and Description |
---|---|
void |
addBusObjects(BusObjects... entity)
Adds elements to the list of associated BusObjects entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static Behqueuedata.BehqueuedataBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<BusObjects> |
fetchBusObjects()
Fetches the BusObjects entities (one to many) associated with this entity.
|
BusinessObjectKeys |
fetchKeys()
Fetches the BusinessObjectKeys entity (one to one) associated with this entity.
|
static <T> BehqueuedataField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
Short |
getBusEventPriority()
Constraints: none
|
String |
getBusEventSubscriberCode()
Constraints: Not nullable, Maximum length: 4
|
UUID |
getBusinessEvent()
(Key Field) Constraints: Not nullable
|
String |
getBusinessEventSubscriberName()
Constraints: Not nullable, Maximum length: 32
|
io.vavr.control.Option<List<BusObjects>> |
getBusObjectsIfPresent()
Retrieval of associated BusObjects entities (one to many).
|
List<BusObjects> |
getBusObjectsOrFetch()
Retrieval of associated BusObjects entities (one to many).
|
BigDecimal |
getCreationUTCDateTime()
Constraints: Not nullable, Precision: 15, Scale: 0
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
io.vavr.control.Option<BusinessObjectKeys> |
getKeysIfPresent()
Retrieval of associated BusinessObjectKeys entity (one to one).
|
BusinessObjectKeys |
getKeysOrFetch()
Retrieval of associated BusinessObjectKeys entity (one to one).
|
String |
getSAPBusinessObjectKey1()
Constraints: Not nullable, Maximum length: 40
|
String |
getSAPBusinessObjectKey2()
Constraints: Not nullable, Maximum length: 40
|
String |
getSAPBusinessObjectKey3()
Constraints: Not nullable, Maximum length: 40
|
String |
getSAPBusinessObjectKey4()
Constraints: Not nullable, Maximum length: 40
|
String |
getSAPBusinessObjectKey5()
Constraints: Not nullable, Maximum length: 40
|
String |
getSAPBusinessObjectKey6()
Constraints: Not nullable, Maximum length: 40
|
String |
getSAPObjectTaskCode()
Constraints: Not nullable, Maximum length: 18
|
String |
getSAPObjectTaskTypeName()
Constraints: Not nullable, Maximum length: 80
|
String |
getSAPObjectType()
Constraints: Not nullable, Maximum length: 30
|
String |
getSAPObjectTypeName()
Constraints: Not nullable, Maximum length: 80
|
Class<Behqueuedata> |
getType() |
int |
hashCode() |
void |
setBusEventPriority(Short busEventPriority)
Constraints: none
|
void |
setBusEventSubscriberCode(String busEventSubscriberCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setBusinessEvent(UUID businessEvent)
(Key Field) Constraints: Not nullable
|
void |
setBusinessEventSubscriberName(String businessEventSubscriberName)
Constraints: Not nullable, Maximum length: 32
|
void |
setBusObjects(List<BusObjects> value)
Overwrites the list of associated BusObjects entities for the loaded navigation property
to_BusObjects.
|
void |
setCreationUTCDateTime(BigDecimal creationUTCDateTime)
Constraints: Not nullable, Precision: 15, Scale: 0
|
void |
setKeys(BusinessObjectKeys value)
Overwrites the associated BusinessObjectKeys entity for the loaded navigation property to_Keys.
|
void |
setSAPBusinessObjectKey1(String sAPBusinessObjectKey1)
Constraints: Not nullable, Maximum length: 40
|
void |
setSAPBusinessObjectKey2(String sAPBusinessObjectKey2)
Constraints: Not nullable, Maximum length: 40
|
void |
setSAPBusinessObjectKey3(String sAPBusinessObjectKey3)
Constraints: Not nullable, Maximum length: 40
|
void |
setSAPBusinessObjectKey4(String sAPBusinessObjectKey4)
Constraints: Not nullable, Maximum length: 40
|
void |
setSAPBusinessObjectKey5(String sAPBusinessObjectKey5)
Constraints: Not nullable, Maximum length: 40
|
void |
setSAPBusinessObjectKey6(String sAPBusinessObjectKey6)
Constraints: Not nullable, Maximum length: 40
|
void |
setSAPObjectTaskCode(String sAPObjectTaskCode)
Constraints: Not nullable, Maximum length: 18
|
void |
setSAPObjectTaskTypeName(String sAPObjectTaskTypeName)
Constraints: Not nullable, Maximum length: 80
|
void |
setSAPObjectType(String sAPObjectType)
Constraints: Not nullable, Maximum length: 30
|
void |
setSAPObjectTypeName(String sAPObjectTypeName)
Constraints: Not nullable, Maximum length: 80
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final BehqueuedataSelectable ALL_FIELDS
public static final BehqueuedataField<UUID> BUSINESS_EVENT
public static final BehqueuedataField<String> SAP_OBJECT_TASK_TYPE_NAME
public static final BehqueuedataField<String> SAP_OBJECT_TYPE_NAME
public static final BehqueuedataField<String> SAP_OBJECT_TYPE
public static final BehqueuedataField<String> BUS_EVENT_SUBSCRIBER_CODE
public static final BehqueuedataField<String> SAP_OBJECT_TASK_CODE
public static final BehqueuedataField<String> BUSINESS_EVENT_SUBSCRIBER_NAME
public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY1
public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY2
public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY3
public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY4
public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY5
public static final BehqueuedataField<String> SAP_BUSINESS_OBJECT_KEY6
public static final BehqueuedataField<Short> BUS_EVENT_PRIORITY
public static final BehqueuedataField<BigDecimal> CREATION_UTC_DATE_TIME
public static final BehqueuedataLink<BusObjects> TO_BUS_OBJECTS
public static final BehqueuedataOneToOneLink<BusinessObjectKeys> TO_KEYS
public 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 Short busEventPriority, @Nullable BigDecimal creationUTCDateTime, List<BusObjects> toBusObjects, @Nullable BusinessObjectKeys toKeys)
@Nonnull public Class<Behqueuedata> getType()
getType
in class VdmObject<Behqueuedata>
public void setBusinessEvent(@Nullable UUID businessEvent)
Original property name from the Odata EDM: BusinessEvent
businessEvent
- GUID of an Eventpublic void setSAPObjectTaskTypeName(@Nullable String sAPObjectTaskTypeName)
Original property name from the Odata EDM: SAPObjectTaskTypeName
sAPObjectTaskTypeName
- Indicates the text description of a particular business object task, which is dependent on the
language that you maintain in the text table.public void setSAPObjectTypeName(@Nullable String sAPObjectTypeName)
Original property name from the Odata EDM: SAPObjectTypeName
sAPObjectTypeName
- Indicates the text description of a particular business object type.public void setSAPObjectType(@Nullable String sAPObjectType)
Original property name from the Odata EDM: SAPObjectType
sAPObjectType
- Indicates the name of the business object type.public void setBusEventSubscriberCode(@Nullable String busEventSubscriberCode)
Original property name from the Odata EDM: BusEventSubscriberCode
busEventSubscriberCode
- Indicates the unique identification that you use to maintain the business object subscriptionspublic void setSAPObjectTaskCode(@Nullable String sAPObjectTaskCode)
Original property name from the Odata EDM: SAPObjectTaskCode
sAPObjectTaskCode
- SAP Object Task Codepublic void setBusinessEventSubscriberName(@Nullable String businessEventSubscriberName)
Original property name from the Odata EDM: BusinessEventSubscriberName
businessEventSubscriberName
- Indicates the short description that you use for Subscriber ID.public void setSAPBusinessObjectKey1(@Nullable String sAPBusinessObjectKey1)
Original property name from the Odata EDM: SAPBusinessObjectKey1
sAPBusinessObjectKey1
- Business Object Key1public void setSAPBusinessObjectKey2(@Nullable String sAPBusinessObjectKey2)
Original property name from the Odata EDM: SAPBusinessObjectKey2
sAPBusinessObjectKey2
- Business Object Key2public void setSAPBusinessObjectKey3(@Nullable String sAPBusinessObjectKey3)
Original property name from the Odata EDM: SAPBusinessObjectKey3
sAPBusinessObjectKey3
- Business Object key3public void setSAPBusinessObjectKey4(@Nullable String sAPBusinessObjectKey4)
Original property name from the Odata EDM: SAPBusinessObjectKey4
sAPBusinessObjectKey4
- Business Object key4public void setSAPBusinessObjectKey5(@Nullable String sAPBusinessObjectKey5)
Original property name from the Odata EDM: SAPBusinessObjectKey5
sAPBusinessObjectKey5
- Business Object Key5public void setSAPBusinessObjectKey6(@Nullable String sAPBusinessObjectKey6)
Original property name from the Odata EDM: SAPBusinessObjectKey6
sAPBusinessObjectKey6
- Business Object Key6public void setBusEventPriority(@Nullable Short busEventPriority)
Original property name from the Odata EDM: BusEventPriority
busEventPriority
- Indicates the importance level of a subscription. For example, if the priority of a subscription is 1,
then it will hold the most importance.public void setCreationUTCDateTime(@Nullable BigDecimal creationUTCDateTime)
Original property name from the Odata EDM: CreationUTCDateTime
creationUTCDateTime
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<Behqueuedata>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<Behqueuedata>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<Behqueuedata>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<Behqueuedata>
@Nonnull public static <T> BehqueuedataField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> BehqueuedataField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<Behqueuedata>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<Behqueuedata>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<Behqueuedata>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<Behqueuedata>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<Behqueuedata>
@Nonnull public List<BusObjects> fetchBusObjects() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<BusObjects> getBusObjectsOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<BusObjects>> getBusObjectsIfPresent()
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
.
Option
with result state
empty
is returned.public void setBusObjects(@Nonnull List<BusObjects> value)
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.
value
- List of BusObjects entities.public void addBusObjects(BusObjects... entity)
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.
entity
- Array of BusObjects entities.@Nullable public BusinessObjectKeys fetchKeys() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.com.sap.cloud.sdk.odatav2.connectivity.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.@Nullable public BusinessObjectKeys getKeysOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<BusinessObjectKeys> getKeysIfPresent()
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
.
Option
with result state empty
is
returned.public void setKeys(BusinessObjectKeys value)
value
- New BusinessObjectKeys entity.public static Behqueuedata.BehqueuedataBuilder builder()
@Nullable public UUID getBusinessEvent()
Original property name from the Odata EDM: BusinessEvent
@Nullable public String getSAPObjectTaskTypeName()
Original property name from the Odata EDM: SAPObjectTaskTypeName
@Nullable public String getSAPObjectTypeName()
Original property name from the Odata EDM: SAPObjectTypeName
@Nullable public String getSAPObjectType()
Original property name from the Odata EDM: SAPObjectType
@Nullable public String getBusEventSubscriberCode()
Original property name from the Odata EDM: BusEventSubscriberCode
@Nullable public String getSAPObjectTaskCode()
Original property name from the Odata EDM: SAPObjectTaskCode
@Nullable public String getBusinessEventSubscriberName()
Original property name from the Odata EDM: BusinessEventSubscriberName
@Nullable public String getSAPBusinessObjectKey1()
Original property name from the Odata EDM: SAPBusinessObjectKey1
@Nullable public String getSAPBusinessObjectKey2()
Original property name from the Odata EDM: SAPBusinessObjectKey2
@Nullable public String getSAPBusinessObjectKey3()
Original property name from the Odata EDM: SAPBusinessObjectKey3
@Nullable public String getSAPBusinessObjectKey4()
Original property name from the Odata EDM: SAPBusinessObjectKey4
@Nullable public String getSAPBusinessObjectKey5()
Original property name from the Odata EDM: SAPBusinessObjectKey5
@Nullable public String getSAPBusinessObjectKey6()
Original property name from the Odata EDM: SAPBusinessObjectKey6
@Nullable public Short getBusEventPriority()
Original property name from the Odata EDM: BusEventPriority
@Nullable public BigDecimal getCreationUTCDateTime()
Original property name from the Odata EDM: CreationUTCDateTime
public String toString()
toString
in class VdmObject<Behqueuedata>
public boolean equals(Object o)
equals
in class VdmObject<Behqueuedata>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<Behqueuedata>
public int hashCode()
hashCode
in class VdmObject<Behqueuedata>
Copyright © 2020 SAP SE. All rights reserved.