Class AlternativeGLAccount
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<AlternativeGLAccount>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.AlternativeGLAccount
Alternative G/L Account (Master Data)
Original entity name from the Odata EDM: AlternativeGLAccount
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AlternativeGLAccountSelectableSelector for all available fields of AlternativeGLAccount.static final AlternativeGLAccountField<String>Use with available fluent helpers to apply the AlternativeGLAccount_ID field to query operations.static final AlternativeGLAccountField<String>Use with available fluent helpers to apply the AlternativeGLAccountText field to query operations.static final AlternativeGLAccountField<String>Use with available fluent helpers to apply the CountryChartOfAccounts field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionAlternativeGLAccount(String alternativeGLAccount_ID, String alternativeGLAccountText, String countryChartOfAccounts) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
AlternativeGLAccountField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> AlternativeGLAccountField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: none(Key Field) Constraints: Not nullable, Maximum length: 4protected Stringprotected StringgetKey()getType()inthashCode()voidsetAlternativeGLAccount_ID(String alternativeGLAccount_ID) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetAlternativeGLAccountText(String alternativeGLAccountText) Constraints: nonevoidsetCountryChartOfAccounts(String countryChartOfAccounts) (Key Field) Constraints: Not nullable, Maximum length: 4protected 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 AlternativeGLAccount. -
ALTERNATIVE_GL_ACCOUNT_ID
Use with available fluent helpers to apply the AlternativeGLAccount_ID field to query operations. -
ALTERNATIVE_GL_ACCOUNT_TEXT
Use with available fluent helpers to apply the AlternativeGLAccountText field to query operations. -
COUNTRY_CHART_OF_ACCOUNTS
Use with available fluent helpers to apply the CountryChartOfAccounts field to query operations.
-
-
Constructor Details
-
AlternativeGLAccount
public AlternativeGLAccount() -
AlternativeGLAccount
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<AlternativeGLAccount>
-
setAlternativeGLAccount_ID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AlternativeGLAccount_ID
- Parameters:
alternativeGLAccount_ID- Alternative G/L Account
-
setAlternativeGLAccountText
Constraints: noneOriginal property name from the Odata EDM: AlternativeGLAccountText
- Parameters:
alternativeGLAccountText- Alternative G/L Account (Description)
-
setCountryChartOfAccounts
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CountryChartOfAccounts
- Parameters:
countryChartOfAccounts- Alternative G/L Account (Alternative Chart of Accounts)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<AlternativeGLAccount>
-
getKey
- Overrides:
getKeyin classVdmObject<AlternativeGLAccount>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<AlternativeGLAccount>
-
fromMap
- Overrides:
fromMapin classVdmObject<AlternativeGLAccount>
-
field
@Nonnull public static <T> AlternativeGLAccountField<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> AlternativeGLAccountField<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<AlternativeGLAccount>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<AlternativeGLAccount>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<AlternativeGLAccount>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<AlternativeGLAccount>
-
builder
-
getAlternativeGLAccount_ID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AlternativeGLAccount_ID
- Returns:
- Alternative G/L Account
-
getAlternativeGLAccountText
Constraints: noneOriginal property name from the Odata EDM: AlternativeGLAccountText
- Returns:
- Alternative G/L Account (Description)
-
getCountryChartOfAccounts
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CountryChartOfAccounts
- Returns:
- Alternative G/L Account (Alternative Chart of Accounts)
-
toString
- Overrides:
toStringin classVdmObject<AlternativeGLAccount>
-
equals
- Overrides:
equalsin classVdmEntity<AlternativeGLAccount>
-
canEqual
- Overrides:
canEqualin classVdmEntity<AlternativeGLAccount>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<AlternativeGLAccount>
-