Class SAP__Currency
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<SAP__Currency>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.SAP__Currency
Original entity name from the Odata EDM: SAP__Currency
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SAP__CurrencySelectableSelector for all available fields of SAP__Currency.static final SAP__CurrencyField<String>Use with available fluent helpers to apply the CurrencyCode field to query operations.static final SAP__CurrencyField<Short>Use with available fluent helpers to apply the DecimalPlaces field to query operations.static final SAP__CurrencyField<String>Use with available fluent helpers to apply the ISOCode field to query operations.static final SAP__CurrencyField<String>Use with available fluent helpers to apply the Text field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSAP__Currency(String currencyCode, String iSOCode, String text, Short decimalPlaces) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
SAP__CurrencyField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SAP__CurrencyField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 5Constraints: Not nullableprotected Stringprotected StringConstraints: Not nullable, Maximum length: 3getKey()getText()Constraints: Not nullable, Maximum length: 15getType()inthashCode()voidsetCurrencyCode(String currencyCode) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetDecimalPlaces(Short decimalPlaces) Constraints: Not nullablevoidsetISOCode(String iSOCode) Constraints: Not nullable, Maximum length: 3protected voidsetServicePathForFetch(String servicePathForFetch) voidConstraints: Not nullable, Maximum length: 15toString()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 SAP__Currency. -
CURRENCY_CODE
Use with available fluent helpers to apply the CurrencyCode field to query operations. -
ISO_CODE
Use with available fluent helpers to apply the ISOCode field to query operations. -
TEXT
Use with available fluent helpers to apply the Text field to query operations. -
DECIMAL_PLACES
Use with available fluent helpers to apply the DecimalPlaces field to query operations.
-
-
Constructor Details
-
SAP__Currency
public SAP__Currency() -
SAP__Currency
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SAP__Currency>
-
setCurrencyCode
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CurrencyCode
- Parameters:
currencyCode- Currency
-
setISOCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ISOCode
- Parameters:
iSOCode- ISO Code
-
setText
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: Text
- Parameters:
text- Short Text
-
setDecimalPlaces
Constraints: Not nullableOriginal property name from the Odata EDM: DecimalPlaces
- Parameters:
decimalPlaces- Decimals
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SAP__Currency>
-
getKey
- Overrides:
getKeyin classVdmObject<SAP__Currency>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SAP__Currency>
-
fromMap
- Overrides:
fromMapin classVdmObject<SAP__Currency>
-
field
@Nonnull public static <T> SAP__CurrencyField<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> SAP__CurrencyField<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<SAP__Currency>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SAP__Currency>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SAP__Currency>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SAP__Currency>
-
builder
-
getCurrencyCode
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CurrencyCode
- Returns:
- Currency
-
getISOCode
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ISOCode
- Returns:
- ISO Code
-
getText
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: Text
- Returns:
- Short Text
-
getDecimalPlaces
Constraints: Not nullableOriginal property name from the Odata EDM: DecimalPlaces
- Returns:
- Decimals
-
toString
- Overrides:
toStringin classVdmObject<SAP__Currency>
-
equals
- Overrides:
equalsin classVdmEntity<SAP__Currency>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SAP__Currency>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SAP__Currency>
-