Class TransactionCurrency
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<TransactionCurrency>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.TransactionCurrency
Transaction Currency (Master Data)
Original entity name from the Odata EDM: TransactionCurrency
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TransactionCurrencySelectableSelector for all available fields of TransactionCurrency.static final TransactionCurrencyField<String>Use with available fluent helpers to apply the TransactionCurrency_ID field to query operations.static final TransactionCurrencyField<String>Use with available fluent helpers to apply the TransactionCurrencyText field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionTransactionCurrency(String transactionCurrency_ID, String transactionCurrencyText) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
TransactionCurrencyField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> TransactionCurrencyField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: nonegetType()inthashCode()protected voidsetServicePathForFetch(String servicePathForFetch) voidsetTransactionCurrency_ID(String transactionCurrency_ID) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetTransactionCurrencyText(String transactionCurrencyText) Constraints: nonetoString()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 TransactionCurrency. -
TRANSACTION_CURRENCY_ID
Use with available fluent helpers to apply the TransactionCurrency_ID field to query operations. -
TRANSACTION_CURRENCY_TEXT
Use with available fluent helpers to apply the TransactionCurrencyText field to query operations.
-
-
Constructor Details
-
TransactionCurrency
public TransactionCurrency() -
TransactionCurrency
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<TransactionCurrency>
-
setTransactionCurrency_ID
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TransactionCurrency_ID
- Parameters:
transactionCurrency_ID- Transaction Currency
-
setTransactionCurrencyText
Constraints: noneOriginal property name from the Odata EDM: TransactionCurrencyText
- Parameters:
transactionCurrencyText- Transaction Currency (Description)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<TransactionCurrency>
-
getKey
- Overrides:
getKeyin classVdmObject<TransactionCurrency>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<TransactionCurrency>
-
fromMap
- Overrides:
fromMapin classVdmObject<TransactionCurrency>
-
field
@Nonnull public static <T> TransactionCurrencyField<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> TransactionCurrencyField<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<TransactionCurrency>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<TransactionCurrency>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<TransactionCurrency>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<TransactionCurrency>
-
builder
-
getTransactionCurrency_ID
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TransactionCurrency_ID
- Returns:
- Transaction Currency
-
getTransactionCurrencyText
Constraints: noneOriginal property name from the Odata EDM: TransactionCurrencyText
- Returns:
- Transaction Currency (Description)
-
toString
- Overrides:
toStringin classVdmObject<TransactionCurrency>
-
equals
- Overrides:
equalsin classVdmEntity<TransactionCurrency>
-
canEqual
- Overrides:
canEqualin classVdmEntity<TransactionCurrency>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<TransactionCurrency>
-