Class BusinessTransaction
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<BusinessTransaction>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.BusinessTransaction
Business Transaction Type (Master Data)
Original entity name from the Odata EDM: BusinessTransactionType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BusinessTransactionSelectableSelector for all available fields of BusinessTransaction.static final BusinessTransactionField<String>Use with available fluent helpers to apply the BusinessTransactionType_ID field to query operations.static final BusinessTransactionField<String>Use with available fluent helpers to apply the BusinessTransactionTypeText field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionBusinessTransaction(String businessTransactionType_ID, String businessTransactionTypeText) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
BusinessTransactionField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> BusinessTransactionField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: noneprotected Stringprotected StringgetKey()getType()inthashCode()voidsetBusinessTransactionType_ID(String businessTransactionType_ID) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetBusinessTransactionTypeText(String businessTransactionTypeText) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of BusinessTransaction. -
BUSINESS_TRANSACTION_TYPE_ID
Use with available fluent helpers to apply the BusinessTransactionType_ID field to query operations. -
BUSINESS_TRANSACTION_TYPE_TEXT
Use with available fluent helpers to apply the BusinessTransactionTypeText field to query operations.
-
-
Constructor Details
-
BusinessTransaction
public BusinessTransaction() -
BusinessTransaction
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<BusinessTransaction>
-
setBusinessTransactionType_ID
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BusinessTransactionType_ID
- Parameters:
businessTransactionType_ID- Business Transaction Type
-
setBusinessTransactionTypeText
Constraints: noneOriginal property name from the Odata EDM: BusinessTransactionTypeText
- Parameters:
businessTransactionTypeText- Business Transaction Type (Description)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<BusinessTransaction>
-
getKey
- Overrides:
getKeyin classVdmObject<BusinessTransaction>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<BusinessTransaction>
-
fromMap
- Overrides:
fromMapin classVdmObject<BusinessTransaction>
-
field
@Nonnull public static <T> BusinessTransactionField<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> BusinessTransactionField<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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<BusinessTransaction>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<BusinessTransaction>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<BusinessTransaction>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<BusinessTransaction>
-
builder
-
getBusinessTransactionType_ID
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: BusinessTransactionType_ID
- Returns:
- Business Transaction Type
-
getBusinessTransactionTypeText
Constraints: noneOriginal property name from the Odata EDM: BusinessTransactionTypeText
- Returns:
- Business Transaction Type (Description)
-
toString
- Overrides:
toStringin classVdmObject<BusinessTransaction>
-
equals
- Overrides:
equalsin classVdmEntity<BusinessTransaction>
-
canEqual
- Overrides:
canEqualin classVdmEntity<BusinessTransaction>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<BusinessTransaction>
-