Class GLAccount_2
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<GLAccount_2>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.GLAccount_2
G/L Account Type (Master Data)
Original entity name from the Odata EDM: GLAccountType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GLAccount_2SelectableSelector for all available fields of GLAccount_2.static final GLAccount_2Field<String>Use with available fluent helpers to apply the GLAccountType_ID field to query operations.static final GLAccount_2Field<String>Use with available fluent helpers to apply the GLAccountTypeText field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
GLAccount_2Field<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> GLAccount_2Field<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 1Constraints: nonegetKey()getType()inthashCode()voidsetGLAccountType_ID(String gLAccountType_ID) (Key Field) Constraints: Not nullable, Maximum length: 1voidsetGLAccountTypeText(String gLAccountTypeText) 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 GLAccount_2. -
GL_ACCOUNT_TYPE_ID
Use with available fluent helpers to apply the GLAccountType_ID field to query operations. -
GL_ACCOUNT_TYPE_TEXT
Use with available fluent helpers to apply the GLAccountTypeText field to query operations.
-
-
Constructor Details
-
GLAccount_2
public GLAccount_2() -
GLAccount_2
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<GLAccount_2>
-
setGLAccountType_ID
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: GLAccountType_ID
- Parameters:
gLAccountType_ID- G/L Account Type
-
setGLAccountTypeText
Constraints: noneOriginal property name from the Odata EDM: GLAccountTypeText
- Parameters:
gLAccountTypeText- G/L Account Type (Description)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<GLAccount_2>
-
getKey
- Overrides:
getKeyin classVdmObject<GLAccount_2>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<GLAccount_2>
-
fromMap
- Overrides:
fromMapin classVdmObject<GLAccount_2>
-
field
@Nonnull public static <T> GLAccount_2Field<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> GLAccount_2Field<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<GLAccount_2>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<GLAccount_2>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<GLAccount_2>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<GLAccount_2>
-
builder
-
getGLAccountType_ID
(Key Field) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: GLAccountType_ID
- Returns:
- G/L Account Type
-
getGLAccountTypeText
Constraints: noneOriginal property name from the Odata EDM: GLAccountTypeText
- Returns:
- G/L Account Type (Description)
-
toString
- Overrides:
toStringin classVdmObject<GLAccount_2>
-
equals
- Overrides:
equalsin classVdmEntity<GLAccount_2>
-
canEqual
- Overrides:
canEqualin classVdmEntity<GLAccount_2>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<GLAccount_2>
-