Class Ledger
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<Ledger>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.Ledger
Ledger
Original entity name from the Odata EDM: Ledger
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LedgerSelectableSelector for all available fields of Ledger.static final LedgerField<String>Use with available fluent helpers to apply the Ledger field to query operations.static final LedgerField<String>Use with available fluent helpers to apply the LedgerText 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) static Ledger.LedgerBuilderbuilder()protected booleanbooleanstatic <T,DomainT>
LedgerField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> LedgerField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 60getType()inthashCode()void(Key Field) Constraints: Not nullablevoidsetLedgerText(String ledgerText) Constraints: Not nullable, Maximum length: 60protected 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 Ledger. -
LEDGER
Use with available fluent helpers to apply the Ledger field to query operations. -
LEDGER_TEXT
Use with available fluent helpers to apply the LedgerText field to query operations.
-
-
Constructor Details
-
Ledger
public Ledger() -
Ledger
-
-
Method Details
-
getType
-
setLedger
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: Ledger
- Parameters:
ledger- Ledger
-
setLedgerText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: LedgerText
- Parameters:
ledgerText- Ledger (Description)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<Ledger>
-
getKey
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<Ledger>
-
fromMap
-
field
@Nonnull public static <T> LedgerField<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> LedgerField<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<Ledger>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<Ledger>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<Ledger>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<Ledger>
-
builder
-
getLedger
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: Ledger
- Returns:
- Ledger
-
getLedgerText
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: LedgerText
- Returns:
- Ledger (Description)
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-